Template:Country flag: Difference between revisions
Template page
More languages
More actions
No edit summary |
m Text replacement - "[[Image:" to "[[File:" |
||
| Line 1: | Line 1: | ||
<includeonly><span class="flag">{{#if:{{{border|}}}|<!-- THEN: -->{{border|[[ | <includeonly><span class="flag">{{#if:{{{border|}}}|<!-- THEN: -->{{border|[[File:{{#ifexist:Template:country flag alias {{{1}}}|<!-- THEN: -->{{country flag alias {{{1}}}}}|<!-- ELSE: -->{{country flag alias}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{#ifexist:Template:country label alias {{{1}}}|<!-- THEN: -->{{country label alias {{{1}}}}}|<!-- ELSE: -->{{country label alias}}}}]]}}|<!-- THEN: -->[[File:{{#ifexist:Template:country flag alias {{{1}}}|<!-- THEN: -->{{country flag alias {{{1}}}}}|<!-- ELSE: -->{{country flag alias}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{#ifexist:Template:country label alias {{{1}}}|<!-- THEN: -->{{country label alias {{{1}}}}}|<!-- ELSE: -->{{country label alias}}}}]]}}{{#ifeq:{{{notext|}}}|Y|<!-- THEN: -->|<!-- ELSE: --> {{#ifexist:Template:country alias {{{1}}}| <!-- THEN: -->[[{{country alias {{{1|}}}}}|{{country label alias {{{1}}}}}]]|<!-- ELSE: -->}}}}</span></includeonly><noinclude> | ||
== Notice == | == Notice == | ||
The better way to use this template is {{tl|flag}}. This is the template that creates all the options and keeps track of the different flags. | The better way to use this template is {{tl|flag}}. This is the template that creates all the options and keeps track of the different flags. | ||
Latest revision as of 18:59, 2 February 2025
Notice
edit sourceThe better way to use this template is {{flag}}. This is the template that creates all the options and keeps track of the different flags.
Information
edit source