Difference between revisions of "Template:Main page box"

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

Latest revision as of 21: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