Difference between revisions of "Template:Aircat"
Jump to navigation
Jump to search
blackwiki>Primefac m (Protected "Template:Aircat": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefi...) |
blackwiki>Gonnym (added tracking category and changed italic text to regular text.) |
||
| Line 1: | Line 1: | ||
| − | + | This category is for [[aircraft]] designed, manufactured or marketed by '''[[{{{1}}}|{{{1}}}]]'''. | |
<includeonly>[[Category:Aircraft by manufacturer]] | <includeonly>[[Category:Aircraft by manufacturer]] | ||
| − | {{#ifeq:{{{2}}}|International||[[Category:Aircraft manufactured in {{{2}}}]]}}</includeonly> | + | {{#ifeq: {{{2}}} | International || [[Category:Aircraft manufactured in {{{2}}}]] }} |
| − | <noinclude>{{ | + | {{#ifeq: {{#invoke:Is article|main|{{Remove last word|{{PAGENAME}}}}}} | article || [[Category:Aircraft manufacture categories not using manufacture article title]]</includeonly> |
| + | <noinclude>{{Documentation}} | ||
[[Category:Aviation templates]]</noinclude> | [[Category:Aviation templates]]</noinclude> | ||
Revision as of 16:29, 2 July 2020
This category is for aircraft designed, manufactured or marketed by [[{{{1}}}|{{{1}}}]].
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| 30px | This template uses Lua: |
This template is for use on aircraft-by-manufacturer categories. It uses simple syntax.
Usage
{{Aircat|company|country}}
Parameters
|1=(company) will add a link to the manufacturer at the top of the category a la {{catmain}}.|2=(country) is the parameter for[[Category:Aircraft manufactured in Foo]]. Note that if a 'the' is required it must be added manually.
Examples
{{Aircat|Aermacchi|Italy}}{{Aircat|Chase Aircraft|the United States}}
| The above documentation is transcluded from Template:Aircat/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. |