Difference between revisions of "Template:Categorize gun"

From Gunsopedia
Jump to: navigation, search
Line 11: Line 11:
 
{{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| [[category:{{{Nationality}}} {{{Action}}} firearms]]}}}}
 
{{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| [[category:{{{Nationality}}} {{{Action}}} firearms]]}}}}
 
{{#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:{{{Type|}}}| [[category:{{{Caliber}}} {{{Type}}}]]}}}}
 +
{{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Action}}} {{{Type}}}]]}}}}
 +
{{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Subtype}}} {{{Type}}}]]}}}}
  
 
</includeonly><noinclude>
 
</includeonly><noinclude>
Line 20: Line 22:
 
|- valign="top"
 
|- valign="top"
 
|  
 
|  
# Nationality
+
# Nationality x
# Caliber
+
# Caliber x
# Action
+
# Action x
# Subtype
+
# Subtype x
# Type
+
# Type x
 
|
 
|
# Nationality Caliber
+
# Nationality Caliber x
# Nationality Action
+
# Nationality Action x
# Nationality Subtype
+
# Nationality Subtype  
# Nationality Type
+
# Nationality Type x
# Caliber Action
+
# Caliber Action x
 
# Caliber Subtype
 
# Caliber Subtype
# Caliber Type
+
# Caliber Type x
 
# Action Subtype
 
# Action Subtype
# Action Type
+
# Action Type x
# Subtype Type
+
# Subtype Type x
 
|
 
|
 
# Nationality Caliber Action
 
# Nationality Caliber Action
Line 68: Line 70:
 
}}</pre>
 
}}</pre>
 
There is no support yet for multinational firearms (like a lot of the stuff [[John Browning]] did, for example).
 
There is no support yet for multinational firearms (like a lot of the stuff [[John Browning]] did, for example).
[[category:categorization templates]]
+
[[category:categorization templates]] {{Dennis}}
 
</noinclude>
 
</noinclude>

Revision as of 14:23, 8 August 2013

This template categorizes gun pages according to the following criteria:

1 layer 2 Layers 3 layers 4 layers 5 layers
  1. Nationality x
  2. Caliber x
  3. Action x
  4. Subtype x
  5. Type x
  1. Nationality Caliber x
  2. Nationality Action x
  3. Nationality Subtype
  4. Nationality Type x
  5. Caliber Action x
  6. Caliber Subtype
  7. Caliber Type x
  8. Action Subtype
  9. Action Type x
  10. Subtype Type x
  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