More languages
More actions
No edit summary |
No edit summary |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{border|}}}|<!-- THEN: -->{{border|[[Image:{{#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: -->[[Image:{{#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| | <includeonly><span class="flag">{{#if:{{{border|}}}|<!-- THEN: -->{{border|[[Image:{{#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: -->[[Image:{{#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 == | |||
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. | |||
{| class="messagebox" style="text-align: center" | {| class="messagebox" style="text-align: center" | ||
|+ Flag Table | |+ Flag Table | ||
Line 12: | Line 16: | ||
| CA || {{Country flag|CA}} || {{tlp|{{PAGENAME}}|CA}} | | CA || {{Country flag|CA}} || {{tlp|{{PAGENAME}}|CA}} | ||
|- | |- | ||
| DE || {{Country flag|DE}} || {{tlp|{{PAGENAME}}|DE}} | | DE || {{Country flag|DE|border=Y}} || {{tlp|{{PAGENAME}}|DE}} | ||
|- | |- | ||
| EE || {{Country flag|EE|border=Y}} || {{tlp|{{PAGENAME}}|EE}} | | EE || {{Country flag|EE|border=Y}} || {{tlp|{{PAGENAME}}|EE}} | ||
Line 21: | Line 25: | ||
|- | |- | ||
| FR || {{Country flag|FR}} || {{tlp|{{PAGENAME}}|FR}} | | FR || {{Country flag|FR}} || {{tlp|{{PAGENAME}}|FR}} | ||
|- | |||
| IL || {{Country flag|IL}} || {{tlp|{{PAGENAME}}|IL}} | |||
|- | |||
| IRL || {{Country flag|IRL}} || {{tlp|{{PAGENAME}}|IRL}} | |||
|- | |- | ||
| IT || {{Country flag|IT}} || {{tlp|{{PAGENAME}}|IT}} | | IT || {{Country flag|IT}} || {{tlp|{{PAGENAME}}|IT}} | ||
|- | |||
| JP || {{Country flag|JP}} || {{tlp|{{PAGENAME}}|JP}} | |||
|- | |- | ||
| MY || {{Country flag|MY}} || {{tlp|{{PAGENAME}}|MY}} | | MY || {{Country flag|MY}} || {{tlp|{{PAGENAME}}|MY}} | ||
Line 35: | Line 45: | ||
|- | |- | ||
| PL || {{Country flag|PL}} || {{tlp|{{PAGENAME}}|PL}} | | PL || {{Country flag|PL}} || {{tlp|{{PAGENAME}}|PL}} | ||
|- | |||
| SA || {{Country flag|SA}} || {{tlp|{{PAGENAME}}|SA}} | |||
|- | |- | ||
| SE || {{Country flag|SE}} || {{tlp|{{PAGENAME}}|SE}} | | SE || {{Country flag|SE}} || {{tlp|{{PAGENAME}}|SE}} | ||
|- | |||
| SW || {{Country flag|SW}} || {{tlp|{{PAGENAME}}|SW}} | |||
|- | |- | ||
| TR || {{Country flag|TR}} || {{tlp|{{PAGENAME}}|TR}} | | TR || {{Country flag|TR}} || {{tlp|{{PAGENAME}}|TR}} | ||
|- | |- | ||
| UK || {{Country flag|UK}} || {{tlp|{{PAGENAME}}|UK}} | | UK || {{Country flag|UK}} || {{tlp|{{PAGENAME}}|UK}} | ||
|- | |||
| UN || {{Country flag|UN}} || {{tlp|{{PAGENAME}}|UN}} | |||
|- | |- | ||
| US || {{Country flag|US}} || {{tlp|{{PAGENAME}}|US}} | | US || {{Country flag|US}} || {{tlp|{{PAGENAME}}|US}} |