Difference between revisions of "Template:Flag/core/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>SiBr4
(Box width using Lua module)
imported>SiBr4
Line 1: Line 1:
<span class="flagicon" {{#if:{{{size|}}}||style="display:inline-block;width:{{#invoke:Sandbox/SiBr4|width|{{{size|}}}}}px;"}}>[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]</span>[[{{{alias}}}|{{{name}}}]]<noinclude>{{documentation}}</noinclude>
+
<span class="flagicon" style="display:inline-block;width:{{#invoke:Sandbox/SiBr4|width|{{{size|}}}}}px;">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]</span>[[{{{alias}}}|{{{name}}}]]<noinclude>{{documentation}}</noinclude>

Revision as of 22:16, 30 June 2014

<span class="flagicon" style="display:inline-block;width:Script error: The function "width" does not exist.px;">[[File:{{{flag alias}}}|23x15px|border |alt=|link=]][[{{{alias}}}|{{{name}}}]]

50px Template documentation[view] [edit] [history] [purge]

This template is used internally by Template:Flag. It is not intended to be transcluded directly. It provides the formatting for placing a small flag next to a country name.

See Wikipedia:WikiProject Flag Template for further information.