|
|
Line 74: |
Line 74: |
| --></table> | | --></table> |
| }} | | }} |
− | ===Example usage===
| + | |
− | * <tt><nowiki>{{flag|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{flag|{{{templatename|{{{alias}}}}}}}}
| + | |
− | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{flagicon|{{{templatename|{{{alias}}}}}}}}<!--
| + | |
− | -->{{#if: {{{shortname alias|}}} |
| + | |
− | * <tt><nowiki>{{flagcountry|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{flagcountry|{{{templatename|{{{alias}}}}}}}} }}
| + | |
− | {{#if: {{{var1|}}} |
| + | |
− | ====Using a flag variant====
| + | |
− | * <tt><nowiki>{{flag|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></tt> → {{flag|{{{templatename|{{{alias}}}}}}|{{{var1}}}}}
| + | |
− | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></tt> → {{flagicon|{{{templatename|{{{alias}}}}}}|{{{var1}}}}}
| + | |
− | }}
| + | |
− | {{#if: {{{redir1|}}} |
| + | |
− | ====Using a redirect alias====
| + | |
− | * <tt><nowiki>{{flagicon|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></tt> → {{flagicon|{{{redir1}}}}}
| + | |
− | * <tt><nowiki>{{flagcountry|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></tt> → {{flagcountry|{{{redir1}}}}}
| + | |
− | * <tt><nowiki>{{flag|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></tt> → {{flag|{{{redir1}}}}}
| + | |
− | }}
| + | |
− | {{#if: {{{related1|}}} |
| + | |
− | ===Related templates===
| + | |
− | Please see the following related <tt>country_data</tt> templates:
| + | |
− | * [[Template:Country data {{{related1}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related1}}}}}</span><!--
| + | |
− | -->{{#if: {{{related2|}}} |
| + | |
− | * [[Template:Country data {{{related2}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related2}}}}}</span> }}<!--
| + | |
− | -->{{#if: {{{related3|}}} |
| + | |
− | * [[Template:Country data {{{related3}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related3}}}}}</span> }}<!--
| + | |
− | -->{{#if: {{{related4|}}} |
| + | |
− | * [[Template:Country data {{{related4}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related4}}}}}</span> }}<!--
| + | |
− | -->{{#if: {{{related5|}}} |
| + | |
− | * [[Template:Country data {{{related5}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related5}}}}}</span> }}<!--
| + | |
− | -->}}
| + | |
− | |
| + | |
| ===Other information=== | | ===Other information=== |
| }}[[Category:Country data templates|{{{templatename|{{{alias}}}}}}]] | | }}[[Category:Country data templates|{{{templatename|{{{alias}}}}}}]] |
| </includeonly> | | </includeonly> |