Difference between revisions of "Template:Airtd"
Jump to navigation
Jump to search
blackwiki>Tom.Reding (Track errors via Category:Aircraft catnav missing parent & Category:Aircraft catnav missing parameter; {{ucfirst:{{{type}}}}}: {{{Type}}} no longer required; ws align; from sandbox) |
blackwiki>Tom.Reding m (Order sortkeys FGHI) |
||
| Line 164: | Line 164: | ||
Check cat 1 & output tracking cat if DNE: | Check cat 1 & output tracking cat if DNE: | ||
-->{{#ifexist:Category:{{ucfirst:{{{type}}}}}|<!-- exists -->|<!-- end positive check | -->{{#ifexist:Category:{{ucfirst:{{{type}}}}}|<!-- exists -->|<!-- end positive check | ||
| − | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent| | + | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent|F]]}}<!-- doesn't exist: +tracking cat |
-->}}<!-- | -->}}<!-- | ||
| Line 189: | Line 189: | ||
|Civil utility aircraft=[[Category:{{{1}}}0s civil aircraft|{{ucfirst:{{{type}}}}}]]<!-- output regardless | |Civil utility aircraft=[[Category:{{{1}}}0s civil aircraft|{{ucfirst:{{{type}}}}}]]<!-- output regardless | ||
-->{{#ifexist:Category:{{{1}}}0s civil aircraft|<!-- exists -->|<!-- end positive check | -->{{#ifexist:Category:{{{1}}}0s civil aircraft|<!-- exists -->|<!-- end positive check | ||
| − | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent| | + | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent|G]]}}}}<!-- doesn't exist: +tracking cat |
military aircraft | military aircraft | ||
| Line 206: | Line 206: | ||
|Patrol aircraft=[[Category:{{{1}}}0s military aircraft|{{ucfirst:{{{type}}}}}]]<!-- output regardless | |Patrol aircraft=[[Category:{{{1}}}0s military aircraft|{{ucfirst:{{{type}}}}}]]<!-- output regardless | ||
-->{{#ifexist:Category:{{{1}}}0s military aircraft|<!-- exists -->|<!-- end positive check | -->{{#ifexist:Category:{{{1}}}0s military aircraft|<!-- exists -->|<!-- end positive check | ||
| − | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent| | + | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent|H]]}}}}<!-- doesn't exist: +tracking cat |
aircraft | aircraft | ||
-->|#default=[[Category:{{{1}}}0s aircraft|{{ucfirst:{{{type}}}}}]]<!-- output regardless | -->|#default=[[Category:{{{1}}}0s aircraft|{{ucfirst:{{{type}}}}}]]<!-- output regardless | ||
-->{{#ifexist:Category:{{{1}}}0s aircraft|<!-- exists -->|<!-- end positive check | -->{{#ifexist:Category:{{{1}}}0s aircraft|<!-- exists -->|<!-- end positive check | ||
| − | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent| | + | -->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Aircraft catnav missing parent|I]]}}}}<!-- doesn't exist: +tracking cat |
-->}}<!-- end switch | -->}}<!-- end switch | ||
-->}}}<!-- end cat --> | -->}}}<!-- end cat --> | ||
Revision as of 23:40, 10 May 2019
| 40x40px | 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. |
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:
{{Airtd|type= | }}{{Airtd|type=civil trainer aircraft|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:Airtd/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. |
| 40x40px | This is a container category. Due to its scope, it should contain only subcategories. |
| {{{type}}} by decade of first flight |
|---|
|
[[:Category:{{{1}}}0s civil aircraft|Civil aircraft of the {{{1}}}0s]] |
|---|
|
[[:Category:{{{1}}}0s military aircraft|Military aircraft of the {{{1}}}0s]] |
| Miscellaneous aircraft of the {{{1}}}0s |
[[Category:{{{type}}}|#{{{1}}}]][[Category:{{{1}}}0s aircraft|{{{type}}}]]