Difference between revisions of "Template:Country flagbio"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(If country data template has a value for "shortname alias" (displayed name), use that instead of "alias" (article name). Tested with /sandbox and /testcases.)
blackwiki>S.A. Julio
(allow for custom size parameter)
Line 1: Line 1:
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|23x15px|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]&nbsp;</span>{{{name}}}&nbsp;<span style="font-size:90%;">(<abbr title="{{#if: {{{shortname alias|}}} | {{{shortname alias}}} | {{{alias}}} }}">{{{size}}}</abbr>)</span><noinclude>{{documentation}}</noinclude>
+
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{{size flag alias-{{{variant}}}|{{#if:{{{variant|}}}|23x15px|{{{size flag alias|23x15px}}}}}}}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]&nbsp;</span>{{{name}}}&nbsp;<span style="font-size:90%;">(<abbr title="{{#if: {{{shortname alias|}}} | {{{shortname alias}}} | {{{alias}}} }}">{{{size}}}</abbr>)</span><noinclude>{{documentation}}</noinclude>

Revision as of 01:17, 23 December 2019

[[File:{{{flag alias}}}|23x15px|border |alt=|link=]] {{{name}}} ({{{size}}})

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

This is an internal template used by Template:flagathlete, and is not to be transcluded directly.