Difference between revisions of "Template:Civil aircraft by nationality"
Jump to navigation
Jump to search
imported>WOSlinker (tidy style for better HTML5 compatibility) |
imported>Tom.Reding (Track errors via Category:Aircraft catnav missing parent & Category:Aircraft catnav missing parameter; +6 missing countries; ws align/indent) |
||
Line 6: | Line 6: | ||
[[:Category:Argentine civil aircraft|Argentina]] - | [[:Category:Argentine civil aircraft|Argentina]] - | ||
[[:Category:Australian civil aircraft|Australia]] - | [[:Category:Australian civil aircraft|Australia]] - | ||
+ | [[:Category:Austrian civil aircraft|Austria]] - | ||
[[:Category:Belgian civil aircraft|Belgium]] - | [[:Category:Belgian civil aircraft|Belgium]] - | ||
[[:Category:Brazilian civil aircraft|Brazil]] - | [[:Category:Brazilian civil aircraft|Brazil]] - | ||
Line 12: | Line 13: | ||
[[:Category:Chilean civil aircraft|Chile]] - | [[:Category:Chilean civil aircraft|Chile]] - | ||
[[:Category:Chinese civil aircraft|China]] - | [[:Category:Chinese civil aircraft|China]] - | ||
+ | [[:Category:Cypriot civil aircraft|Cyprus]] - | ||
[[:Category:Czech and Czechoslovakian civil aircraft|Czechoslovakia]] - | [[:Category:Czech and Czechoslovakian civil aircraft|Czechoslovakia]] - | ||
[[:Category:Danish civil aircraft|Denmark]] - | [[:Category:Danish civil aircraft|Denmark]] - | ||
+ | [[:Category:Estonian civil aircraft|Estonia]] - | ||
[[:Category:French civil aircraft|France]] - | [[:Category:French civil aircraft|France]] - | ||
[[:Category:German civil aircraft|Germany]] - | [[:Category:German civil aircraft|Germany]] - | ||
Line 22: | Line 25: | ||
[[:Category:Italian civil aircraft|Italy]] - | [[:Category:Italian civil aircraft|Italy]] - | ||
[[:Category:Japanese civil aircraft|Japan]] - | [[:Category:Japanese civil aircraft|Japan]] - | ||
+ | [[:Category:Latvian civil aircraft|Latvia]] - | ||
[[:Category:Mexican civil aircraft|Mexico]] - | [[:Category:Mexican civil aircraft|Mexico]] - | ||
[[:Category:Dutch civil aircraft|Netherlands]] - | [[:Category:Dutch civil aircraft|Netherlands]] - | ||
[[:Category:Polish civil aircraft|Poland]] - | [[:Category:Polish civil aircraft|Poland]] - | ||
+ | [[:Category:Portuguese civil aircraft|Portugal]] - | ||
[[:Category:Romanian civil aircraft|Romania]] - | [[:Category:Romanian civil aircraft|Romania]] - | ||
[[:Category:South African civil aircraft|South Africa]] - | [[:Category:South African civil aircraft|South Africa]] - | ||
+ | [[:Category:South Korean civil aircraft|South Korea]] - | ||
[[:Category:Soviet and Russian civil aircraft|Soviet Union and CIS]] - | [[:Category:Soviet and Russian civil aircraft|Soviet Union and CIS]] - | ||
[[:Category:Spanish civil aircraft|Spain]] - | [[:Category:Spanish civil aircraft|Spain]] - | ||
Line 37: | Line 43: | ||
|} | |} | ||
<br/> | <br/> | ||
+ | <!-- | ||
− | {{{cat|[[Category:Aircraft manufactured in {{{nation}}} | Civil aircraft, {{{nation}}}]] | + | Track missing parameters: |
− | [[Category:Civil aircraft]]}}}<noinclude> | + | -->{{#ifeq:{{NAMESPACE}}|Category|<!-- |
+ | -->{{#ifeq:{{{nation|}}}||[[Category:Aircraft catnav missing parameter|N]]}}<!-- | ||
+ | -->}}<!-- | ||
+ | |||
+ | -->{{{cat|<!-- | ||
+ | |||
+ | |||
+ | PARENT CAT 1 | ||
+ | |||
+ | |||
+ | Check cat 1 & output tracking cat if DNE: | ||
+ | -->{{#ifexist:Category:Aircraft manufactured in {{{nation}}}|<!-- exists -->|<!-- end positive check | ||
+ | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent|Q]]}}<!-- doesn't exist: +tracking cat | ||
+ | -->}}<!-- | ||
+ | |||
+ | Output cat 1 regardless: | ||
+ | -->[[Category:Aircraft manufactured in {{{nation}}}| Civil aircraft, {{{nation}}}]]<!-- | ||
+ | |||
+ | |||
+ | PARENT CAT 2 | ||
+ | |||
+ | |||
+ | Static; no check/tracking needed | ||
+ | -->[[Category:Civil aircraft]]}}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!--Please add this template's categories to the /doc subpage, not here - thanks!--> | <!--Please add this template's categories to the /doc subpage, not here - thanks!--> | ||
</noinclude> | </noinclude> |
Revision as of 03:10, 11 May 2019
Civil aircraft by nationality of original manufacturer |
[[Category:Aircraft manufactured in {{{nation}}}| Civil aircraft, {{{nation}}}]]
Related pages |
---|
Usage
The country adjectival is automatically determined from the title's country name. No parameters are required:
{{Aircraft by nationality}}
- the
|nation=
parameter is still available and useful for special cases; it will override the default behavior if provided
Used on categories like:
- Category:British civil aircraft
- Category:British military aircraft
- Category:Aircraft manufactured in the United Kingdom
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:Civil aircraft by nationality/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |