Template:Box: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
<nowiki>{{box|content|width|round}}</nowiki>
<nowiki>{{box|content|width|round}}</nowiki>


This is a box in the standard Pikipedia style.  If no width is given, the box fills the screen horizontally.  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.
This is a box in the standard Pikipedia style.  If no width is given, the box fills the screen horizontally.  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.  The width argument requires a unit (px, em, %), but the round argument does not, and is measured in px.


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

Revision as of 04:23, September 22, 2010

{{{1}}}


Use

{{box|content|width|round}}

This is a box in the standard Pikipedia style. If no width is given, the box fills the screen horizontally. 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. The width argument requires a unit (px, em, %), but the round argument does not, and is measured in px.