Sjabloon:Country showdata: verschil tussen versies

Uit Radiopedia
k (1 versie)
 
Geen bewerkingssamenvatting
 
(Een tussenliggende versie door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
<includeonly>__NOEDITSECTION__
<includeonly>__NOEDITSECTION__
{{documentation|content=<tt>Template:{{PAGENAME}}</tt> is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as <tt>[[Template:flag|flag]]</tt>, <tt>[[Template:flagicon|flagicon]]</tt>, and others.
{{documentation|content=<tt>Template:{{PAGENAME}}</tt> is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as <tt>[[Template:vlag|vlag]]</tt>, <tt>[[Template:vlagicoon|vlagicoon]]</tt>, and others.
 
{{ombox|text=This template is within the scope of '''[[Wikipedia:WikiProject Flag Template|WikiProject Flag Template]]''', a collaborative effort to maintain flag templates on Wikipedia.  A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page.}}


[[File:{{{flag alias|Flag of None.svg}}}|thumb|{{#ifexist: Flag of {{{alias}}} | See also: [[Flag of {{{alias}}}]] | }}]]
[[File:{{{flag alias|Flag of None.svg}}}|thumb|{{#ifexist: Flag of {{{alias}}} | See also: [[Flag of {{{alias}}}]] | }}]]
Regel 44: Regel 42:
--></table>
--></table>
}}
}}
{{#if: {{{flag alias-naval|}}}{{{link alias-naval|}}}{{{flag alias-air force|}}}{{{flag alias-army|}}} |
===Military ensigns===
{{#if: {{{flag alias-naval|}}} |
This template includes a naval ensign flag variant that can be used with [[Template:Navy]]:
* <tt><nowiki>{{navy|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{navy|{{{templatename|{{{alias}}}}}}}}
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>|naval}}</nowiki></tt> → {{flagicon|{{{templatename|{{{alias}}}}}}|naval}}
| {{#if: {{{link alias-naval|}}} |
This nation's naval ensign is the same as its national flag, so [[Template:Navy]] produces the following:
* <tt><nowiki>{{navy|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{navy|{{{templatename|{{{alias}}}}}}}}
}}}}
{{#if: {{{flag alias-air force|}}} |
This template includes an air force ensign flag variant that can be used with [[Template:Air force]]:
* <tt><nowiki>{{air force|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{air force|{{{templatename|{{{alias}}}}}}}}
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>|air force}}</nowiki></tt> → {{flagicon|{{{templatename|{{{alias}}}}}}|air force}}
}}
{{#if: {{{flag alias-army|}}} |
This template includes an army ensign flag variant that can be used with [[Template:Army]]:
* <tt><nowiki>{{army|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{army|{{{templatename|{{{alias}}}}}}}}
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>|army}}</nowiki></tt> → {{flagicon|{{{templatename|{{{alias}}}}}}|army}}
}} }}
{{#if: {{{redir1|}}} |
{{#if: {{{redir1|}}} |
===Redirect aliases===
===Redirect aliases===
Regel 77: Regel 55:
}}
}}
===Example usage===
===Example usage===
* <tt><nowiki>{{flag|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{flag|{{{templatename|{{{alias}}}}}}}}
* <tt><nowiki>{{vlag|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{flag|{{{templatename|{{{alias}}}}}}}}
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{flagicon|{{{templatename|{{{alias}}}}}}}}<!--
* <tt><nowiki>{{vlagicoon|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{flagicon|{{{templatename|{{{alias}}}}}}}}<!--
-->{{#if: {{{shortname alias|}}} |
-->{{#if: {{{shortname alias|}}} |
* <tt><nowiki>{{flagcountry|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{flagcountry|{{{templatename|{{{alias}}}}}}}} }}
* <tt><nowiki>{{flagcountry|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{flagcountry|{{{templatename|{{{alias}}}}}}}} }}
{{#if: {{{var1|}}} |
{{#if: {{{var1|}}} |
====Using a flag variant====
====Using a flag variant====
* <tt><nowiki>{{flag|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></tt> → {{flag|{{{templatename|{{{alias}}}}}}|{{{var1}}}}}
* <tt><nowiki>{{vlag|</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}}}}}
* <tt><nowiki>{{vlagicoon|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></tt> → {{flagicon|{{{templatename|{{{alias}}}}}}|{{{var1}}}}}
}}
}}
{{#if: {{{redir1|}}} |
{{#if: {{{redir1|}}} |
Regel 118: Regel 96:
}}
}}
|link box=This is the documentation for '''Template:{{PAGENAME}}'''. It is automatically generated by [[Template:Country showdata]].<br/>Please {{purge|purge the cache}} after making any changes to this template.{{#ifexist:{{FULLPAGENAME}}/doc
|link box=This is the documentation for '''Template:{{PAGENAME}}'''. It is automatically generated by [[Template:Country showdata]].<br/>Please {{purge|purge the cache}} after making any changes to this template.{{#ifexist:{{FULLPAGENAME}}/doc
  |<br/>This template has a [[{{FULLPAGENAME}}/doc|/doc]] subpage for the purposes of [[WP:CAT|categories]], [[H:ILL|interlanguage links]] and documentation specific to this template.
  |<br/>This template has a [[{{FULLPAGENAME}}/doc|/doc]] subpage for the purposes of documentation specific to this template.
|{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop
  |<br/>This template is [[WP:PROTECT|fully protected]] and any [[WP:CAT|categories]] and [[H:ILL|interlanguage links]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which is not protected.
}}
}}
}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Huidige versie van 5 apr 2013 om 14:51

[aanmaken] Documentation icon Sjabloondocumentatie