Difference between revisions of "Template:Airnt/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Tom.Reding
(cmt ws)
blackwiki>Tom.Reding
(Reverted to revision 896928859 by Tom.Reding (talk): Rest (TW))
Line 86: Line 86:
 
   -->{{#ifeq:{{{type|}}}||[[Category:Aircraft catnav missing parameter|T]]}}<!--
 
   -->{{#ifeq:{{{type|}}}||[[Category:Aircraft catnav missing parameter|T]]}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->{{{cat|<!--
 
  
  
Line 109: Line 107:
 
   -->{{#ifexist:<!-- begin ifexist;
 
   -->{{#ifexist:<!-- begin ifexist;
 
   -->Category:Aircraft manufactured in {{{country|{{#switch: {{{nation}}}<!-- begin category name; begin name switch
 
   -->Category:Aircraft manufactured in {{{country|{{#switch: {{{nation}}}<!-- begin category name; begin name switch
         -->|Argentine=Argentina<!--
+
         -->|Argentine=Argentina
        -->|American=the United States<!--
+
            |American=the United States
        -->|Australian=Australia<!--
+
            |Australian=Australia
        -->|Belgian=Belgium<!--
+
            |Belgian=Belgium
        -->|Brazilian=Brazil<!--
+
            |Brazilian=Brazil
        -->|British=the United Kingdom<!--
+
            |British=the United Kingdom
        -->|Bulgarian=Bulgaria<!--
+
            |Bulgarian=Bulgaria
        -->|Canadian=Canada<!--
+
            |Canadian=Canada
        -->|Chilean=Chile<!--
+
            |Chilean=Chile
        -->|Chinese=China<!--
+
            |Chinese=China
        -->|Colombian=Colombia<!--
+
            |Colombian=Colombia
        -->|Czech and Czechoslovakian=the Czech Republic and Czechoslovakia<!--
+
            |Czech and Czechoslovakian=the Czech Republic and Czechoslovakia
        -->|Danish=Denmark<!--
+
            |Danish=Denmark
        -->|Dutch=the Netherlands<!--
+
            |Dutch=the Netherlands
        -->|Estonian=Estonia<!--
+
            |Estonian=Estonia
        -->|Finnish=Finland<!--
+
            |Finnish=Finland
        -->|French=France<!--
+
            |French=France
        -->|German=Germany<!--
+
            |German=Germany
        -->|Greek=Greece<!--
+
            |Greek=Greece
        -->|Hungarian=Hungary<!--
+
            |Hungarian=Hungary
        -->|Indian=India<!--
+
            |Indian=India
        -->|Iranian=Iran<!--
+
            |Iranian=Iran
        -->|Israeli=Israel<!--
+
            |Israeli=Israel
        -->|Italian=Italy<!--
+
            |Italian=Italy
        -->|Japanese=Japan<!--
+
            |Japanese=Japan
        -->|Latvian=Latvia<!--
+
            |Latvian=Latvia
        -->|Mexican=Mexico<!--
+
            |Mexican=Mexico
        -->|New Zealand=New Zealand<!--
+
            |New Zealand=New Zealand
        -->|Polish=Poland<!--
+
            |Polish=Poland
        -->|Romanian=Romania<!--
+
            |Romanian=Romania
        -->|Singaporean=Singapore<!--
+
            |Singaporean=Singapore
        -->|South African=South Africa<!--
+
            |South African=South Africa
        -->|South Korean=South Korea<!--
+
            |South Korean=South Korea
        -->|Soviet and Russian=the Soviet Union<!--
+
            |Soviet and Russian=the Soviet Union
        -->|Spanish=Spain<!--
+
            |Spanish=Spain
        -->|Swedish=Sweden<!--
+
            |Swedish=Sweden
        -->|Swiss=Switzerland<!--
+
            |Swiss=Switzerland
        -->|U.S.=the United States<!--
+
            |U.S.=the United States
        -->|United States=the United States<!--
+
            |United States=the United States
        -->|Ukrainian=Ukraine<!--
+
            |Ukrainian=Ukraine
        -->|Yugoslavian=Yugoslavia<!--
+
            |Yugoslavian=Yugoslavia
        -->|Yugoslav and Serbian=Yugoslavia and Serbia<!--
+
            |Yugoslav and Serbian=Yugoslavia and Serbia<!--
 
         -->}}<!-- end name switch
 
         -->}}<!-- end name switch
 
       -->}}}<!-- end country; end category name
 
       -->}}}<!-- end country; end category name
Line 160: Line 158:
 
Output cat 2 regardless:
 
Output cat 2 regardless:
 
-->{{#ifeq:{{{nation}}}|International||<!--
 
-->{{#ifeq:{{{nation}}}|International||<!--
   -->[[Category:Aircraft manufactured in {{{country|{{#switch:{{{nation}}}<!-- begin category; begin name switch
+
   -->[[Category:Aircraft manufactured in {{{country|{{#switch: {{{nation}}}<!-- begin category; begin name switch
         -->|Argentine=Argentina<!--
+
         -->|Argentine=Argentina
        -->|American=the United States<!--
+
            |American=the United States
        -->|Australian=Australia<!--
+
            |Australian=Australia
        -->|Belgian=Belgium<!--
+
            |Belgian=Belgium
        -->|Brazilian=Brazil<!--
+
            |Brazilian=Brazil
        -->|British=the United Kingdom<!--
+
            |British=the United Kingdom
        -->|Bulgarian=Bulgaria<!--
+
            |Bulgarian=Bulgaria
        -->|Canadian=Canada<!--
+
            |Canadian=Canada
        -->|Chilean=Chile<!--
+
            |Chilean=Chile
        -->|Chinese=China<!--
+
            |Chinese=China
        -->|Colombian=Colombia<!--
+
            |Colombian=Colombia
        -->|Czech and Czechoslovakian=the Czech Republic and Czechoslovakia<!--
+
            |Czech and Czechoslovakian=the Czech Republic and Czechoslovakia
        -->|Danish=Denmark<!--
+
            |Danish=Denmark
        -->|Dutch=the Netherlands<!--
+
            |Dutch=the Netherlands
        -->|Estonian=Estonia<!--
+
            |Estonian=Estonia
        -->|Finnish=Finland<!--
+
            |Finnish=Finland
        -->|French=France<!--
+
            |French=France
        -->|German=Germany<!--
+
            |German=Germany
        -->|Greek=Greece<!--
+
            |Greek=Greece
        -->|Hungarian=Hungary<!--
+
            |Hungarian=Hungary
        -->|Indian=India<!--
+
            |Indian=India
        -->|Iranian=Iran<!--
+
            |Iranian=Iran
        -->|Israeli=Israel<!--
+
            |Israeli=Israel
        -->|Italian=Italy<!--
+
            |Italian=Italy
        -->|Japanese=Japan<!--
+
            |Japanese=Japan
        -->|Latvian=Latvia<!--
+
            |Latvian=Latvia
        -->|Mexican=Mexico<!--
+
            |Mexican=Mexico
        -->|New Zealand=New Zealand<!--
+
            |New Zealand=New Zealand
        -->|Polish=Poland<!--
+
            |Polish=Poland
        -->|Romanian=Romania<!--
+
            |Romanian=Romania
        -->|Singaporean=Singapore<!--
+
            |Singaporean=Singapore
        -->|South African=South Africa<!--
+
            |South African=South Africa
        -->|South Korean=South Korea<!--
+
            |South Korean=South Korea
        -->|Soviet and Russian=the Soviet Union<!--
+
            |Soviet and Russian=the Soviet Union
        -->|Spanish=Spain<!--
+
            |Spanish=Spain
        -->|Swedish=Sweden<!--
+
            |Swedish=Sweden
        -->|Swiss=Switzerland<!--
+
            |Swiss=Switzerland
        -->|U.S.=the United States<!--
+
            |U.S.=the United States
        -->|United States=the United States<!--
+
            |United States=the United States
        -->|Ukrainian=Ukraine<!--
+
            |Ukrainian=Ukraine
        -->|Yugoslavian=Yugoslavia<!--
+
            |Yugoslavian=Yugoslavia
        -->|Yugoslav and Serbian=Yugoslavia and Serbia<!--
+
            |Yugoslav and Serbian=Yugoslavia and Serbia<!--
 
         -->}}<!-- end name switch
 
         -->}}<!-- end name switch
 
       -->}}}|{{#switch:{{{type}}}<!-- end country; begin sortkey switch
 
       -->}}}|{{#switch:{{{type}}}<!-- end country; begin sortkey switch
Line 282: Line 280:
 
   -->]]<!-- end category
 
   -->]]<!-- end category
 
-->}}<!-- end outer switch
 
-->}}<!-- end outer switch
 
-->}}}<!-- end {{{cat}}}
 
 
 
--></includeonly>
 
--></includeonly>

Revision as of 18:44, 13 May 2019

Template documentation[view] [edit] [history] [purge]

Usage

|nation= and |type= are required parameters, and |country= is required for dissimilar country/nationality designations:

  • {{Airnt|country= |nation= |type= }}
  • {{Airnt|country=the United Kingdom|nation=British|type=experimental aircraft}}

Used on categories like:

See also

Tracking categories