Template:Box: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Cat.)
m (I thought I did this.)
Line 12: Line 12:
This is a box in the standard Pikipedia style.  The <code>width</code> argument requires a unit (such as px, em, %); if it is left blank or not given, the box shrinks to fit its contents.  If <code>round</code> is given, it is a number in pixels to give the top-left and bottom-right corners of the box as border radius.  Extra CSS rules can be applied to the box with the <code>style</code> argument.
This is a box in the standard Pikipedia style.  The <code>width</code> argument requires a unit (such as px, em, %); if it is left blank or not given, the box shrinks to fit its contents.  If <code>round</code> is given, it is a number in pixels to give the top-left and bottom-right corners of the box as border radius.  Extra CSS rules can be applied to the box with the <code>style</code> argument.


[[Category:Templates|{{PAGENAME}}]][[Category:Box templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]][[Category:Box templates| ]]</noinclude>

Revision as of 10:17, September 14, 2014

{{{1}}}


This article is about the Pikipedia template for message boxes. For the template indicating the Cardboard Box hazard, see Template:Box icon.

Use

{{box|content|width|round|style}}

This is a box in the standard Pikipedia style. The width argument requires a unit (such as px, em, %); if it is left blank or not given, the box shrinks to fit its contents. If round is given, it is a number in pixels to give the top-left and bottom-right corners of the box as border radius. Extra CSS rules can be applied to the box with the style argument.