Difference between revisions of "Template:Main page box"

From QBWiki
Jump to navigation Jump to search
m
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div style="
 
<div style="
 
border:1px solid;
 
border:1px solid;
border-color:#ddd;
+
border-color:{{{bordercolor|#ddd}}};
padding:15px;
+
padding:{{{padding|0.5em}}};
min-width:fit-content;
+
min-width:{{{minwidth|fit-content}}};
margin:12px;
+
max-width:100%;
background: #f9f9f9">
+
margin:{{{margin|12px}}};
{{{1}}}
+
background: {{{background|#f9f9f9}}};
</div>
+
{{{style|}}}">
 +
{{{1|{{{content|<nowiki>[put content here]</nowiki>}}}}}}
 +
</div><noinclude>
 +
Box for use on the main page.
 +
 
 +
If the box incorporates external links, make use of the "context" explicit parameter rather than the first anonymous parameter.
 +
 
 +
Style args:
 +
*bordercolor
 +
*padding
 +
*minwidth
 +
*margin
 +
*background
 +
*style
 +
</noinclude>

Latest revision as of 22:45, 29 March 2023

[put content here]

Box for use on the main page.

If the box incorporates external links, make use of the "context" explicit parameter rather than the first anonymous parameter.

Style args:

  • bordercolor
  • padding
  • minwidth
  • margin
  • background
  • style