Editing Template:Categorize gun

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<!-- Layer 1 {{#if:{{{1|}}}| [[category:{{{1}}}]]}} -->
+
<!-- first layer -->
 
{{#if:{{{Nationality|}}}| [[category:{{{Nationality}}} firearms]]}}
 
{{#if:{{{Nationality|}}}| [[category:{{{Nationality}}} firearms]]}}
{{#if:{{{Manufacturer|}}}| [[category:{{{Manufacturer}}} firearms]]}}
 
 
{{#if:{{{Caliber|}}}| [[category:{{{Caliber}}} firearms]]}}
 
{{#if:{{{Caliber|}}}| [[category:{{{Caliber}}} firearms]]}}
{{#if:{{{Operation|}}}| [[category:{{{Operation}}} operated firearms]]}}
 
{{#if:{{{Subaction|}}}| [[category:{{{Subaction}}} firearms]]}}
 
 
{{#if:{{{Action|}}}| [[category:{{{Action}}} firearms]]}}
 
{{#if:{{{Action|}}}| [[category:{{{Action}}} firearms]]}}
{{#if:{{{Type|}}}| [[category:{{{Type}}}s]]}}
+
{{#if:{{{Subtype|}}}| [[category:{{{Subtype}}}]]}}
 +
{{#if:{{{Type|}}}| [[category:{{{Type}}}]]}}
  
<!-- Layer 2 {{#if:{{{1|}}}| {{#if:{{{2|}}}| [[category:{{{1}}} {{{2}}}]]}}}} -->
+
<!-- second layer -->
 
{{#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}}}s]]}}}}
+
{{#if:{{{Manufacturer|}}}| {{#if:{{{Caliber|}}}| [[category:{{{Manufacturer}}} {{{Caliber}}} firearms]]}}}}
+
{{#if:{{{Manufacturer|}}}| {{#if:{{{Action|}}}| [[category:{{{Manufacturer}}} {{{Action}}} firearms]]}}}}
+
<!-- {{#if:{{{Manufacturer|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Manufacturer}}} {{{Subtype}}}]]}}}} -->
+
{{#if:{{{Manufacturer|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Type}}}s]]}}}}
+
 
{{#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}}}s]]}}}}
+
{{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Action}}} {{{Type}}}]]}}}}
<!-- {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Action}}} {{{Subtype}}}]]}}}} -->
+
{{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Subtype}}} {{{Type}}}]]}}}}
{{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Action}}} {{{Type}}}s]]}}}}
+
{{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Subtype}}} {{{Type}}}s]]}}}}
+
  
<!-- Layer 3 {{#if:{{{1|}}}| {{#if:{{{2|}}}| {{#if:{{{3|}}}| [[category:{{{1}}} {{{2}}} {{{3}}}]]}}}}}} -->
+
</includeonly><noinclude>
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}} firearms]]}}}}}}
+
<!-- {{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Subtype}}}]]}}}}}} -->
+
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Type}}}s]]}}}}}}
+
<!-- {{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Nationality}}} {{{Action}}} {{{Subtype}}}]]}}}}}} -->
+
{{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Action}}} {{{Type}}}s]]}}}}}}
+
{{#if:{{{Nationality|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}
+
{{#if:{{{Manufacturer|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| [[category:{{{Manufacturer}}} {{{Caliber}}} {{{Action}}}]]}}}}}}
+
<!-- {{#if:{{{Manufacturer|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Manufacturer}}} {{{Caliber}}} {{{Subtype}}}]]}}}}}} -->
+
{{#if:{{{Manufacturer|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Caliber}}} {{{Type}}}s]]}}}}}}
+
<!-- {{#if:{{{Manufacturer|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Manufacturer}}} {{{Action}}} {{{Subtype}}}]]}}}}}} -->
+
{{#if:{{{Manufacturer|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Action}}} {{{Type}}}s]]}}}}}}
+
{{#if:{{{Manufacturer|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}
+
<!-- {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Caliber}}} {{{Action}}} {{{Subtype}}}]]}}}}}} -->
+
{{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Action}}} {{{Type}}}s]]}}}}}}
+
{{#if:{{{Caliber|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}
+
{{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Action}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}
+
 
+
<!-- Layer 4 {{#if:{{{1|}}}| {{#if:{{{2|}}}| {{#if:{{{3|}}}| {{#if:{{{4|}}}| [[category:{{{1}}} {{{2}}} {{{3}}} {{{4}}}]]}}}}}}}} -->
+
{{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Action}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}}}
+
{{#if:{{{Caliber|}}}| {{#if:{{{Subaction|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Subaction}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}}}
+
{{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Action}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}}}
+
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}}}
+
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}} {{{Type}}}s]]}}}}}}}}
+
<!-- {{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}} {{{Subtype}}}]]}}}}}}}} -->
+
{{#if:{{{Manufacturer|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Action}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}}}
+
{{#if:{{{Manufacturer|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Caliber}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}}}
+
{{#if:{{{Manufacturer|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Caliber}}} {{{Action}}} {{{Type}}}s]]}}}}}}}}
+
<!-- {{#if:{{{Manufacturer|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Manufacturer}}} {{{Caliber}}} {{{Action}}} {{{Subtype}}}]]}}}}}}}} -->
+
 
+
<!-- Layer 5 {{#if:{{{1|}}}| {{#if:{{{2|}}}| {{#if:{{{3|}}}| {{#if:{{{4|}}}| {{#if:{{{5|}}}| [[category:{{{1}}} {{{2}}} {{{3}}} {{{4}}} {{{5}}}]]}}}}}}}}}} -->
+
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}}}}}
+
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Subaction|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}} {{{Subaction}}} {{{Type}}}s]]}}}}}}}}}}
+
{{#if:{{{Manufacturer|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Caliber}}} {{{Action}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}}}}}
+
 
+
<!-- Layer 7 {{#if:{{{1|}}}| {{#if:{{{2|}}}| {{#if:{{{3|}}}| {{#if:{{{4|}}}| {{#if:{{{5|}}}| {{#if:{{{6|}}}| {{#if:{{{7|}}}| [[category:{{{1}}} {{{2}}} {{{3}}} {{{4}}} {{{5}}} {{{6}}} {{{7}}}]]}}}}}}}}}}}}}} -->
+
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Operation|}}}| {{#if:{{{Subaction|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Operation}}} {{{Subaction}}} {{{Action}}} {{{Subtype}}} {{{Type}}}s]]}}}}}}}}}}}}}}
+
</includeonly><noinclude>{{Dennis}}
+
 
This template categorizes gun pages according to the following criteria:
 
This template categorizes gun pages according to the following criteria:
 
{|
 
{|
Line 68: 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 109: Line 63:
 
<pre>
 
<pre>
 
{{categorize gun
 
{{categorize gun
| Nationality =
+
| Nationality =  
| Manufacturer =  
+
| Caliber =  
| Caliber     =
+
| Action =  
| Operation    =
+
| Subtype =  
| Subaction    =  
+
| Type =  
| Action       =  
+
| Subtype     =  
+
| Type         =  
+
 
}}</pre>
 
}}</pre>
* '''OPERATION:''' blowback, recoil, gas, chain, blow forward
 
* '''SUBACTION:''' single shot, semi-automatic, full auto
 
* '''ACTION:''' break, bolt, lever pump, falling/tilting block, rotating bolt, flintlock, etc
 
* '''SUBTYPE:''' sniper, anti-materiel, muzzle loading, assault, service, double (rifle), double barreled, multibarrel, etc
 
* '''TYPE:''' pistol, revolver, shotgun, rifle, musket, etc
 
 
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]] {{Dennis}}
 
[[category:categorization templates]] {{Dennis}}
 
</noinclude>
 
</noinclude>

Please note that all contributions to Gunsopedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Gunsopedia:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)

Template used on this page:

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox