Difference between revisions of "Template:Airnd/sandbox"
Jump to navigation
Jump to search
blackwiki>Tom.Reding (Use Category:Aircraft catnav missing parent to track cats with red-linked parents) |
blackwiki>Tom.Reding (ce; std ws) |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| − | {{ | + | {{Intricate template}}{{Documentation}} |
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
| Line 130: | Line 130: | ||
Check cat 1 & output tracking cat if DNE: | Check cat 1 & output tracking cat if DNE: | ||
-->{{#ifexist:Category:{{{1}}}0s aircraft|<!-- exists -->|<!-- end check | -->{{#ifexist:Category:{{{1}}}0s aircraft|<!-- exists -->|<!-- end check | ||
| − | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent|E]]}}<!-- tracking cat | + | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent|E]]}}<!-- doesn't exist: tracking cat |
-->}}<!-- | -->}}<!-- | ||
| Line 141: | Line 141: | ||
Check cat 2 & output tracking cat if DNE: | Check cat 2 & output tracking cat if DNE: | ||
| − | -->{{#ifexist:Category:Aircraft manufactured in {{{country|{{#switch:{{{nation}}}| | + | -->{{#ifexist:<!-- |
| + | -->Category:Aircraft manufactured in {{{country|{{#switch:{{{nation}}}|<!-- begin country; begin name switch | ||
|Argentine=Argentina | |Argentine=Argentina | ||
|Australian=Australia | |Australian=Australia | ||
| Line 194: | Line 195: | ||
|Yugoslavian=Yugoslavia | |Yugoslavian=Yugoslavia | ||
|Yugoslav|Serbian|Yugoslav and Serbian=Yugoslavia and Serbia<!-- | |Yugoslav|Serbian|Yugoslav and Serbian=Yugoslavia and Serbia<!-- | ||
| − | -->}}<!-- end switch | + | -->}}<!-- end name switch |
| − | -->}}}|<!-- exists -->|<!-- end check | + | -->}}}|<!-- exists -->|<!-- end country; end check |
| − | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent|F]]}}<!-- tracking cat | + | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent|F]]}}<!-- doesn't exist: tracking cat |
| − | -->}}<!-- | + | -->}}<!-- end ifexist |
Output cat 2 regardless: | Output cat 2 regardless: | ||
| − | -->[[Category:Aircraft manufactured in {{{country|{{#switch:{{{nation}}}| | + | -->[[Category:Aircraft manufactured in {{{country|{{#switch:{{{nation}}}|<!-- begin country; begin name switch |
| − | + | |Argentine=Argentina | |
| − | + | |Australian=Australia | |
| − | + | |Austrian=Austria and Austria-Hungary | |
| − | + | |Belgian=Belgium | |
| − | + | |Brazilian=Brazil | |
| − | + | |British=the United Kingdom | |
| − | + | |Bulgarian=Bulgaria | |
| − | + | |Canadian=Canada | |
| − | + | |Chilean=Chile | |
| − | + | |PRC|Chinese=China | |
| − | + | |Colombian=Colombia | |
| − | + | |Cypriot=Cyprus | |
| − | + | |Czech|Czechoslovakian|Czech and Czechoslovakian=the Czech Republic and Czechoslovakia | |
| − | + | |Danish=Denmark | |
| − | + | |Dutch=the Netherlands | |
| − | + | |Egyptian=Egypt | |
| − | + | |Estonian=Estonia | |
| − | + | |Ethiopian=Ethiopia | |
| − | + | |Finnish=Finland | |
| − | + | |French=France | |
| − | + | |German=Germany | |
| − | + | |Greek=Greece | |
| − | + | |Hungarian=Hungary | |
| − | + | |Indian=India | |
| − | + | |Iranian=Iran | |
| − | + | |Israeli=Israel | |
| − | + | |Italian=Italy | |
| − | + | |Japanese=Japan | |
| − | + | |Latvian=Latvia | |
| − | + | |Lithuanian=Lithuania | |
| − | + | |Mexican=Mexico | |
| − | + | |New Zealand=New Zealand | |
| − | + | |Norwegian=Norway | |
| − | + | |Peruvian=Peru | |
| − | + | |Polish=Poland | |
| − | + | |Romanian=Romania | |
| − | + | |Singaporean=Singapore | |
| − | + | |Slovak=Slovakia | |
| − | + | |Slovenian=Slovenia | |
| − | + | |South African=South Africa | |
| − | + | |Soviet|Russian|Soviet and Russian=the Soviet Union | |
| − | + | |Spanish=Spain | |
| − | + | |Swedish=Sweden | |
| − | + | |Swiss=Switzerland | |
| − | + | |Taiwanese=Taiwan | |
| − | + | |Thai=Thailand | |
| − | + | |Turkish=Turkey | |
| − | + | |U.S.=the United States | |
| − | + | |United States=the United States | |
| − | + | |Ukrainian=Ukraine | |
| − | + | |Yugoslavian=Yugoslavia | |
| − | + | |Yugoslav|Serbian|Yugoslav and Serbian=Yugoslavia and Serbia<!-- | |
| − | }}}}}|#{{{1}}}]] | + | -->}}<!-- end name switch |
| − | </includeonly> | + | -->}}}|#{{{1}}}<!-- end country; sortkey |
| + | -->]]<!-- end category | ||
| + | --></includeonly> | ||
Revision as of 11:36, 10 May 2019
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
| This is the template sandbox page for Template:Airnd (diff). |
Note: This template will appear to be broken in this view – please check if it is actually broken on a page it is used on before trying to fix it.
Usage
All parameters are required:
{{Airnd|nation= | }}{{Airnd|nation=Soviet|194}}
Used on categories like:
See also
|
|
|
Tracking categories
- Category:Aircraft catnav failed to generate navbox (0)
- Category:Aircraft catnav missing parameter (0)
- Category:Aircraft catnav missing parent (0)
| The above documentation is transcluded from Template:Airnd/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
|
{{{nation}}} aircraft by decade of first flight |
|
Aircraft of the {{{1}}}0s by nation |