Difference between revisions of "Template:Categorize gun"

From Gunsopedia
Jump to: navigation, search
Line 10: Line 10:
 
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| [[category:{{{Nationality}}} {{{Caliber}}} firearms]]}}}}
 
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| [[category:{{{Nationality}}} {{{Caliber}}} firearms]]}}}}
 
{{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| [[category:{{{Nationality}}} {{{Action}}} firearms]]}}}}
 
{{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| [[category:{{{Nationality}}} {{{Action}}} firearms]]}}}}
 +
<!-- {{#if:{{{Nationality|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Nationality}}} {{{Subtype}}}]]}}}} -->
 
{{#if:{{{Nationality|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Type}}}]]}}}}
 
{{#if:{{{Nationality|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Type}}}]]}}}}
 
{{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| [[category:{{{Caliber}}} {{{Action}}} firearms]]}}}}
 
{{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| [[category:{{{Caliber}}} {{{Action}}} firearms]]}}}}
 +
<!-- {{#if:{{{Caliber|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Caliber}}} {{{Subtype}}}]]}}}} -->
 
{{#if:{{{Caliber|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Type}}}]]}}}}
 
{{#if:{{{Caliber|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Type}}}]]}}}}
 +
<!-- {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Action}}} {{{Subtype}}}]]}}}} -->
 
{{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Action}}} {{{Type}}}]]}}}}
 
{{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Action}}} {{{Type}}}]]}}}}
 
{{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Subtype}}} {{{Type}}}]]}}}}
 
{{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Subtype}}} {{{Type}}}]]}}}}
 +
 +
<!-- third layer -->
 +
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}}]]}}}}}}
 +
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Subtype}}}]]}}}}}}
 +
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Type}}}]]}}}}}}
 +
{{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Nationality}}} {{{Action}}} {{{Subtype}}}]]}}}}}}
 +
{{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Action}}} {{{Type}}}]]}}}}}}
 +
{{#if:{{{Nationality|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Subtype}}} {{{Type}}}]]}}}}}}
 +
{{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Caliber}}} {{{Action}}} {{{Subtype}}}]]}}}}}}
 +
{{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Action}}} {{{Type}}}]]}}}}}}
 +
{{#if:{{{Caliber|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Subtype}}} {{{Type}}}]]}}}}}}
 +
{{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Action}}} {{{Subtype}}} {{{Type}}}]]}}}}}}
 +
 +
<!-- fourth layer -->
 +
{{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Action}}} {{{Subtype}}} {{{Type}}}]]}}}}}}}}
 +
{{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Action}}} {{{Subtype}}} {{{Type}}}]]}}}}}}}}
 +
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Subtype}}} {{{Type}}}]]}}}}}}}}
 +
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}} {{{Type}}}]]}}}}}}}}
 +
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}} {{{Subtype}}}]]}}}}}}}}
 +
 +
<!-- Fifth layer -->
 +
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}} {{{Subtype}}} {{{Type}}}]]}}}}}}}}}}
  
 
</includeonly><noinclude>
 
</includeonly><noinclude>
Line 22: Line 47:
 
|- valign="top"
 
|- valign="top"
 
|  
 
|  
# Nationality x
+
# Nationality
# Caliber x
+
# Caliber
# Action x
+
# Action
# Subtype x
+
# Subtype
# Type x
+
# Type
 
|
 
|
# Nationality Caliber x
+
# Nationality Caliber
# Nationality Action x
+
# Nationality Action
# Nationality Subtype  
+
# Nationality Subtype
# Nationality Type x
+
# Nationality Type
# Caliber Action x
+
# Caliber Action
 
# Caliber Subtype
 
# Caliber Subtype
# Caliber Type x
+
# Caliber Type
 
# Action Subtype
 
# Action Subtype
# Action Type x
+
# Action Type
# Subtype Type x
+
# Subtype Type
 
|
 
|
 
# Nationality Caliber Action
 
# Nationality Caliber Action

Revision as of 12:19, 9 August 2013

This template categorizes gun pages according to the following criteria:

1 layer 2 Layers 3 layers 4 layers 5 layers
  1. Nationality
  2. Caliber
  3. Action
  4. Subtype
  5. Type
  1. Nationality Caliber
  2. Nationality Action
  3. Nationality Subtype
  4. Nationality Type
  5. Caliber Action
  6. Caliber Subtype
  7. Caliber Type
  8. Action Subtype
  9. Action Type
  10. Subtype Type
  1. Nationality Caliber Action
  2. Nationality Caliber Subtype
  3. Nationality Caliber Type
  4. Nationality Action Subtype
  5. Nationality Action Type
  6. Nationality Subtype Type
  7. Caliber Action Subtype
  8. Caliber Action Type
  9. Caliber Subtype Type
  10. Action Subtype Type
  1. Caliber Action Subtype Type
  2. Nationality Action Subtype Type
  3. Nationality Caliber Subtype Type
  4. Nationality Caliber Action Type
  5. Nationality Caliber Action Subtype
  1. Nationality Caliber Action Subtype Type

Usage

Paste and fill in:

{{categorize gun
| Nationality = 
| Caliber = 
| Action = 
| Subtype = 
| Type = 
}}

There is no support yet for multinational firearms (like a lot of the stuff John Browning did, for example).

Eek.png Dennis needs to get off his ass and do something with this page.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox