Difference between revisions of "Template:Civil aircraft by nationality"
Jump to navigation
Jump to search
imported>Tom.Reding m (Ignore International mfg) |
imported>Tom.Reding m (x2) |
||
Line 57: | Line 57: | ||
Check cat 1 & output tracking cat if DNE: | Check cat 1 & output tracking cat if DNE: | ||
− | -->{{#ifexist:Category:Aircraft manufactured in {{{nation}}}|<!-- exists -->|<!-- end positive check | + | -->{{#ifeq:{{{nation}}}|International||<!-- ignore International |
− | + | -->{{#ifexist:Category:Aircraft manufactured in {{{nation}}}|<!-- exists -->|<!-- end positive check | |
+ | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent|Q]]}}<!-- doesn't exist: +tracking cat | ||
+ | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Revision as of 03:30, 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. |