Difference between revisions of "Template:Box"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
{{#switch: {{{2}}} |right={{#vardefine:pos|float:right;}}|center={{#vardefine:pos|margin:auto;}}}}<div id="this_box" style="{{#var:pos}}padding:5px;border:1px solid gray;border-radius:6px;">{{{1}}}</div> | {{#switch: {{{2}}} |right={{#vardefine:pos|float:right;}}|center={{#vardefine:pos|margin:auto;}}}}<div id="this_box" style="{{#var:pos}}padding:5px;border:1px solid gray;border-radius:6px;">{{{1}}}</div> | ||
| − | |||
<noinclude> | <noinclude> | ||
<pre>{{Box | text | right or center}}</pre> | <pre>{{Box | text | right or center}}</pre> | ||
</noinclude> | </noinclude> | ||
Revision as of 16:16, 5 October 2019
{{{1}}}
{{Box | text | right or center}}