د "کينډۍ:Country showdata" د بڼو تر مېنځ توپير
د سمون لنډیز نسته |
د سمون لنډیز نسته |
||
۱۲ کرښه: | ۱۲ کرښه: | ||
'''''په دې کېنډۍ کې د هر ډول بدلون نه وروسته لطفاً د دې کېنډۍ {{purge|حافظه سپينه کړۍ}}.''''' |
'''''په دې کېنډۍ کې د هر ډول بدلون نه وروسته لطفاً د دې کېنډۍ {{purge|حافظه سپينه کړۍ}}.''''' |
||
[[دوتنه:{{{flag alias|Flag of None.svg}}}|thumb|{{#ifexist: د {{{alias}}} بېرغ| دا هم وګورۍ: [[د {{{alias}}} بېرغ]] | }}]] |
[[دوتنه:{{{flag alias|Flag of None.svg }}}|thumb|{{#ifexist: د {{{alias}}} بېرغ| دا هم وګورۍ: [[د {{{alias}}} بېرغ]] | }}]] |
||
==معياري پاراميټرونه== |
==معياري پاراميټرونه== |
||
{| class="wikitable" |
{| class="wikitable" |
||
۳۰ کرښه: | ۳۰ کرښه: | ||
| <tt>flag alias</tt> |
| <tt>flag alias</tt> |
||
| {{#if: {{{flag alias|}}} | <tt>{{{flag alias}}}</tt> | <span style="color:red">'''undefined!'''</span> }} |
| {{#if: {{{flag alias|}}} | <tt>{{{flag alias}}}</tt> | <span style="color:red">'''undefined!'''</span> }} |
||
| د انځور نوم ([[: |
| د انځور نوم ([[:دوتنه:{{{flag alias}}}]], پورته ښي لور ته ښودل شوی) |
||
|} |
|} |
||
{{#if: {{{var1|{{{flag alias-naval|}}}}}} | |
{{#if: {{{var1|{{{flag alias-naval|}}}}}} | |
||
==د بېرغونو بېلابېلې بڼې== |
==د بېرغونو بېلابېلې بڼې== |
||
{{#ifexist: |
{{#ifexist: د {{{alias}}} بېرغ| {{details|د {{{alias}}}}} بېرغ| }} |
||
<table class="wikitable"> |
<table class="wikitable"> |
||
<tr><th> |
<tr><th>نښه</th><th>د بېرغ نوم (40px)</th><th>د انځور نوم</th></tr> |
||
{{#if: {{{var1|}}} | <tr><td><tt>{{{var1}}}</tt></td><td align=center>[[ |
{{#if: {{{var1|}}} | <tr><td><tt>{{{var1}}}</tt></td><td align=center>[[دوتنه:{{{flag alias-{{{var1}}}}}}|40px|border]]</td><td><tt>{{{flag alias-{{{var1}}}}}}</tt></td></tr> }}<!-- |
||
-->{{#if: {{{var2|}}} | <tr><td><tt>{{{var2}}}</tt></td><td align=center>[[ |
-->{{#if: {{{var2|}}} | <tr><td><tt>{{{var2}}}</tt></td><td align=center>[[دوتنه:{{{flag alias-{{{var2}}}}}}|40px|border]]</td><td><tt>{{{بېرغalias-{{{var2}}}}}}</tt></td></tr> }}<!-- |
||
-->{{#if: {{{var3|}}} | <tr><td><tt>{{{var3}}}</tt></td><td align=center>[[ |
-->{{#if: {{{var3|}}} | <tr><td><tt>{{{var3}}}</tt></td><td align=center>[[دوتنه:{{{flag alias-{{{var3}}}}}}|40px|border]]</td><td><tt>{{{بېرغalias-{{{var3}}}}}}</tt></td></tr> }}<!-- |
||
-->{{#if: {{{var4|}}} | <tr><td><tt>{{{var4}}}</tt></td><td align=center>[[ |
-->{{#if: {{{var4|}}} | <tr><td><tt>{{{var4}}}</tt></td><td align=center>[[دوتنه:{{{flag alias-{{{var4}}}}}}|40px|border]]</td><td><tt>{{{بېرغalias-{{{var4}}}}}}</tt></td></tr> }}<!-- |
||
-->{{#if: {{{var5|}}} | <tr><td><tt>{{{var5}}}</tt></td><td align=center>[[ |
-->{{#if: {{{var5|}}} | <tr><td><tt>{{{var5}}}</tt></td><td align=center>[[دوتنه:{{{flag alias-{{{var5}}}}}}|40px|border]]</td><td><tt>{{{بېرغalias-{{{var5}}}}}}</tt></td></tr> }}<!-- |
||
-->{{#if: {{{var6|}}} | <tr><td><tt>{{{var6}}}</tt></td><td align=center>[[ |
-->{{#if: {{{var6|}}} | <tr><td><tt>{{{var6}}}</tt></td><td align=center>[[دوتنه:{{{flag alias-{{{var6}}}}}}|40px|border]]</td><td><tt>{{{بېرغalias-{{{var6}}}}}}</tt></td></tr> }}<!-- |
||
-->{{#if: {{{var7|}}} | <tr><td><tt>{{{var7}}}</tt></td><td align=center>[[ |
-->{{#if: {{{var7|}}} | <tr><td><tt>{{{var7}}}</tt></td><td align=center>[[دوتنه:{{{flag alias-{{{var7}}}}}}|40px|border]]</td><td><tt>{{{بېرغalias-{{{var7}}}}}}</tt></td></tr> }}<!-- |
||
-->{{#if: {{{var8|}}} | <tr><td><tt>{{{var8}}}</tt></td><td align=center>[[ |
-->{{#if: {{{var8|}}} | <tr><td><tt>{{{var8}}}</tt></td><td align=center>[[دوتنه:{{{flag alias-{{{var8}}}}}}|40px|border]]</td><td><tt>{{{بېرغalias-{{{var8}}}}}}</tt></td></tr> }}<!-- |
||
-->{{#if: {{{var9|}}} | <tr><td><tt>{{{var9}}}</tt></td><td align=center>[[ |
-->{{#if: {{{var9|}}} | <tr><td><tt>{{{var9}}}</tt></td><td align=center>[[دوتنه:{{{flag alias-{{{var9}}}}}}|40px|border]]</td><td><tt>{{{بېرغalias-{{{var9}}}}}}</tt></td></tr> }}<!-- |
||
-->{{#if: {{{flag alias-naval|}}} | <tr><td><tt> |
-->{{#if: {{{flag alias-naval|}}} | <tr><td><tt>سمندري ځواک</tt></td><td align=center>[[دوتنه:{{{flag alias-naval}}}|40px|border]]</td><td><tt>{{{flag alias-naval}}}</tt></td></tr> }}<!-- |
||
-->{{#if: {{{flag alias-air force|}}} | <tr><td><tt> |
-->{{#if: {{{flag alias-air force|}}} | <tr><td><tt>هوايي ځواک</tt></td><td align=center>[[دوتنه:{{{flag alias-air force}}}|40px|border]]</td><td><tt>{{{flag alias-air force}}}</tt></td></tr> }}<!-- |
||
-->{{#if: {{{flag alias-army|}}} | <tr><td><tt> |
-->{{#if: {{{flag alias-army|}}} | <tr><td><tt>پوځ</tt></td><td align=center>[[دوتنه:{{{flag alias-army}}}|40px|border]]</td><td><tt>{{{flag alias-army}}}</tt></td></tr> }}<!-- |
||
--></table> |
--></table> |
||
}} |
}} |
||
۷۲ کرښه: | ۷۲ کرښه: | ||
This template can also be used via an ''alias'' name (implemented as a redirect to this template):<!-- |
This template can also be used via an ''alias'' name (implemented as a redirect to this template):<!-- |
||
--><table class="wikitable"><!-- |
--><table class="wikitable"><!-- |
||
--><tr><th>Alias name</th><th>{{tlx| |
--><tr><th>Alias name</th><th>{{tlx|بېرغ|''alias''}} output</th><th>{{tlx|هېواد-بېرغ|''alias''}} output</th></tr> |
||
{{#if: {{{redir1|}}} | <tr><td><tt>{{{redir1}}} (</tt><span class="plainlinks">[{{fullurl: |
{{#if: {{{redir1|}}} | <tr><td><tt>{{{redir1}}} (</tt><span class="plainlinks">[{{fullurl:کينډۍ:د هېواد مالومات {{{redir1}}}|redirect=no}} view]</span><tt>)</tt></td><td>{{بېرغ|{{{redir1}}}}}</td><td>{{هېواد-بېرغ|{{{redir1}}}}}</td></tr> }}<!-- |
||
-->{{#if: {{{redir2|}}} | <tr><td><tt>{{{redir2}}} (</tt><span class="plainlinks">[{{fullurl: |
-->{{#if: {{{redir2|}}} | <tr><td><tt>{{{redir2}}} (</tt><span class="plainlinks">[{{fullurl:کينډۍ:د هېواد مالومات {{{redir2}}}|redirect=no}} view]</span><tt>)</tt></td><td>{{بېرغ|{{{redir2}}}}}</td><td>{{هېواد-بېرغ|{{{redir2}}}}}</td></tr> }}<!-- |
||
-->{{#if: {{{redir3|}}} | <tr><td><tt>{{{redir3}}} (</tt><span class="plainlinks">[{{fullurl: |
-->{{#if: {{{redir3|}}} | <tr><td><tt>{{{redir3}}} (</tt><span class="plainlinks">[{{fullurl:کينډۍ:د هېواد مالومات {{{redir3}}}|redirect=no}} view]</span><tt>)</tt></td><td>{{بېرغ|{{{redir3}}}}}</td><td>{{هېواد-بېرغ|{{{redir3}}}}}</td></tr> }}<!-- |
||
-->{{#if: {{{redir4|}}} | <tr><td><tt>{{{redir4}}} (</tt><span class="plainlinks">[{{fullurl: |
-->{{#if: {{{redir4|}}} | <tr><td><tt>{{{redir4}}} (</tt><span class="plainlinks">[{{fullurl:کينډۍ:د هېواد مالومات {{{redir4}}}|redirect=no}} view]</span><tt>)</tt></td><td>{{بېرغ|{{{redir4}}}}}</td><td>{{هېواد-بېرغ|{{{redir4}}}}}</td></tr> }}<!-- |
||
-->{{#if: {{{redir5|}}} | <tr><td><tt>{{{redir5}}} (</tt><span class="plainlinks">[{{fullurl: |
-->{{#if: {{{redir5|}}} | <tr><td><tt>{{{redir5}}} (</tt><span class="plainlinks">[{{fullurl:کينډۍ:د هېواد مالومات {{{redir5}}}|redirect=no}} view]</span><tt>)</tt></td><td>{{بېرغ|{{{redir5}}}}}</td><td>{{هېواد-بېرغ|{{{redir5}}}}}</td></tr> }}<!-- |
||
--></table> |
--></table> |
||
}} |
}} |
||
۸۴ کرښه: | ۸۴ کرښه: | ||
* <tt><nowiki>{{بېرغ نښه|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{بېرغ نښه|{{{templatename|{{{alias}}}}}}}}<!-- |
* <tt><nowiki>{{بېرغ نښه|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{بېرغ نښه|{{{templatename|{{{alias}}}}}}}}<!-- |
||
-->{{#if: {{{shortname alias|}}} | |
-->{{#if: {{{shortname alias|}}} | |
||
* <tt><nowiki>{{ |
* <tt><nowiki>{{هېواد-بېرغ|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{هېواد-بېرغ|{{{templatename|{{{alias}}}}}}}} }}<!-- |
||
-->{{#if: {{{var1|}}} | |
-->{{#if: {{{var1|}}} | |
||
;Using a flag variant |
;Using a flag variant |
||
۹۳ کرښه: | ۹۳ کرښه: | ||
;Using a redirect alias |
;Using a redirect alias |
||
* <tt><nowiki>{{بېرغ نښه|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></tt> → {{بېرغ نښه|{{{redir1}}}}} |
* <tt><nowiki>{{بېرغ نښه|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></tt> → {{بېرغ نښه|{{{redir1}}}}} |
||
* <tt><nowiki>{{ |
* <tt><nowiki>{{هېواد-بېرغ|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></tt> → {{هېواد-بېرغ|{{{redir1}}}}} |
||
* <tt><nowiki>{{بېرغ|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></tt> → {{بېرغ|{{{redir1}}}}} |
* <tt><nowiki>{{بېرغ|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></tt> → {{بېرغ|{{{redir1}}}}} |
||
}} |
}} |
||
۱۱۵ کرښه: | ۱۱۵ کرښه: | ||
[[وېشنيزه:Country data templates|{{{templatename|{{{alias}}}}}}]] |
[[وېشنيزه:Country data templates|{{{templatename|{{{alias}}}}}}]] |
||
{{#if: {{{shortname alias|}}} | [[وېشنيزه:Country data templates with distinct shortname|{{{templatename|{{{alias}}}}}}]] }} |
{{#if: {{{shortname alias|}}} | [[وېشنيزه:Country data templates with distinct shortname|{{{templatename|{{{alias}}}}}}]] }} |
||
{{#ifeq: {{PAGENAME}} | |
{{#ifeq: {{PAGENAME}} | د هېواد مالومات {{{alias}}} | | {{#ifeq: {{PAGENAME}} | د هېواد مالومات {{{shortname alias}}} | | [[وېشنيزه:Country data templates with distinct template name]] }} }} |
||
</div> |
</div> |
||
</includeonly><noinclude> |
</includeonly><noinclude> |
د ۱۵:۴۵, ۱۳ جون ۲۰۱۰ بڼه
کينډۍ لاسوند[کتل] [سمول] [پېښليک] [حافظه سپينول]
This template is used for documenting country data meta-templates used by the flag template system. The output of this template can be seen by directly viewing any of the templates in Category:Country data templates. See Wikipedia:WikiProject Flag Template for the main documentation and discussion page for the flag template system. کارولدا کينډۍ د هېواد مالومات د ستندرد بڼې له مخې د يو پټنوم په مرسته په خپلکارې توګه راڅرګنديږي: {{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = هېواد نوم
| shortname alias = Shortcountryname <!-- only necessary if Shortcountryname ≠ Countryname, otherwise omit -->
| flag alias = د هېواد بيرغ .svg
| size = {{{size|}}}
| name = {{{name|}}}
| variant = {{{variant|}}} <!-- only necessary if there is one or more flag alias-variant parameters, otherwise omit -->
}}
The first parameter to a country data template is usually the name of a formatting meta-template. For example, Template:Flag uses Template:Flag/core to actually render the flag icon and wikilink. If the first parameter is missing, which is the case when a country data template is viewed directly, the template code fragment Additional parametersMany country data templates require additional documentation beyond the standard mandatory <noinclude>
| var1 = ...
| redir1 = ...
| related1 = ...
</noinclude>
HatnoteIf a brief hatnote is needed, then it can be added to the top of the documentation page by including the
results in: See also {{Country data Georgia}} for another hatnote example. بيرغ بڼېFlag variants are added to a country data template by the inclusion of one or more For example, Template:Country data Seychelles identifies three flag variants (in addition to the current flag) with the following code: | flag alias-1976 = Flag of the Seychelles 1976.svg
| flag alias-1977 = Flag of the Seychelles 1977.svg
| flag alias-colonial = Government Ensign of the United Kingdom.svg
These three variants are documented by the following code segment later in the template: <noinclude>
| var1 = 1976
| var2 = 1977
| var3 = colonial
...
</noinclude>
Up to forty flag variants can be documented by this method (using Note that you do not have to use a Redirect aliasesMany country data templates have alias names that can be used instead of the usual country name with all of the main flag templates. These are usually, but not exclusively, standard country code abbreviations such as those specified in ISO 3166-1 alpha-3 or by the IOC or FIFA. These are implemented as redirects, and are listed in Category:Country data redirects. For example, Template:Country data DEU and Template:Country data GER both redirect to Template:Country data Germany, because DEU is the ISO code and GER is the IOC and FIFA code for Germany. Therefore, <noinclude>
...
| redir1 = DEU
| redir2 = GER
...
</noinclude>
Up to five flag redirects can be documented by this method (using Related templatesSeveral country data templates are used for alternative forms to the common country data template for the nation, usually but not exclusively for historic nations. Pointers to these alternative templates are useful additions to the template documentation so that editors can use the correct template for their specific purposes. For example, Template:Country data Serbia and Montenegro includes the following code to document three other related country data templates: <noinclude>
...
| related1 = Serbia
| related2 = Montenegro
| related3 = FR Yugoslavia
...
</noinclude>
Up to six related flags can be documented by this method (using Flag article linkThis template shows a large flag image on the right of the documentation box, with a link to an article about the flag in the caption if it exists. The page that it evaluates is "Flag of <noinclude>
...
| flag link = ''Article name''
...
</noinclude>
This can also be used to override the automatic link if "Flag of Additional documentationFor situations where the automatic documentation method is not completely adequate, additional documentation can be displayed by For example:
CategorizationThis template automatically categorizes pages it is transcluded on in Category:All country data templates and in the tracking categories in Category:Country data tracking categories. Content categories, such as those by country or by type/status, should be added manually by putting them inside The default sort key used for the automatic categories is the part after Automatically added by this template:
Manually added to templates or documentation pages:
|