Difference between revisions of "Template:Aircat/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>GermanJoe
(rmv - redundant)
blackwiki>Gonnym
Line 1: Line 1:
{{documentation subpage}}
+
{{Documentation subpage}}
 
+
{{Lua|Module:Is article}}
 +
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
This template is for use on aircraft-by-manufacturer categories. It uses simple syntax.  
 
This template is for use on aircraft-by-manufacturer categories. It uses simple syntax.  
 +
== Usage ==
 +
* {{Tlx|{{BASEPAGENAME}}|company|country}}
  
<nowiki>{{aircat|company|country}}</nowiki>
+
== Parameters ==
 
+
* {{para|1}} (company) will add a link to the manufacturer at the top of the category a la {{tl|catmain}}.
'Company' will add a link to the manufacturer at the top of the category a la {{tl|catmain}}. 'country' is the parameter for <nowiki>[[Category:Aircraft manufactured in Foo]]</nowiki>. Note that if a 'the' is required it must be added manually.
+
* {{para|2}} (country) is the parameter for <code><nowiki>[[Category:Aircraft manufactured in Foo]]</nowiki></code>. Note that if a 'the' is required it must be added manually.
  
Examples:
+
==Examples==
 +
* <code><nowiki>{{Aircat|Aermacchi|Italy}}</nowiki></code>
 +
* <code><nowiki>{{Aircat|Chase Aircraft|the United States}}</nowiki></code>
  
* <nowiki>{{aircat|Aermacchi|Italy}}</nowiki>
+
<includeonly>{{Sandbox other||
 +
<!-- Categories below this line; interwikis at Wikidata -->
  
* <nowiki>{{aircat|Chase Aircraft|the United States}}</nowiki>
+
}}</includeonly>

Revision as of 12:37, 3 July 2020

This template is for use on aircraft-by-manufacturer categories. It uses simple syntax.

Usage

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}}