Difference between revisions of "Template:UnitDef"
Jump to navigation
Jump to search
m (Attempt to resolve def parameter inside <pre> tags) |
m (Correction to example usage) |
||
Line 1: | Line 1: | ||
− | <noinclude>This template simplifies inclusion of raw unit structures on their wikipage by applying standard formatting. The result is a collapsible section with a 300px-tall, scrollable preformatted text section. For best results, use '''<nowiki>''' tags to prevent double-braces from prematurely closing the template: <code><nowiki>{{UnitDef|<nowiki>def</nowiki>}}</nowiki></code> | + | <noinclude>This template simplifies inclusion of raw unit structures on their wikipage by applying standard formatting. The result is a collapsible section with a 300px-tall, scrollable preformatted text section. For best results, use '''<nowiki>''' tags to prevent double-braces from prematurely closing the template: <code><nowiki>{{UnitDef|def=<nowiki>def</nowiki>}}</nowiki></code> |
</noinclude> | </noinclude> | ||
<div class="mw-collapsible mw-collapsed"> | <div class="mw-collapsible mw-collapsed"> |
Latest revision as of 18:54, 17 February 2017
This template simplifies inclusion of raw unit structures on their wikipage by applying standard formatting. The result is a collapsible section with a 300px-tall, scrollable preformatted text section. For best results, use <nowiki> tags to prevent double-braces from prematurely closing the template: {{UnitDef|def=<nowiki>def</nowiki>}}
Raw Unit Definition
{{{def}}}