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}}}]]}}}} -->
| + | {{#if:{{{Nationality|}}}+{{{Type|}}}| [[category:{{{Nationality}}} {{{Type}}}]]}} |
− | {{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| [[category:{{{Nationality}}} {{{Caliber}}} firearms]]}}}} | + | |
− | {{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| [[category:{{{Nationality}}} {{{Action}}} firearms]]}}}}
| + | |
− | <!-- {{#if:{{{Nationality|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Nationality}}} {{{Subtype}}}]]}}}} -->
| + | |
− | {{#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:{{{Subtype|}}}| [[category:{{{Caliber}}} {{{Subtype}}}]]}}}} -->
| + | |
− | {{#if:{{{Caliber|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Type}}}s]]}}}}
| + | |
− | <!-- {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Action}}} {{{Subtype}}}]]}}}} -->
| + | |
− | {{#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}}}]]}}}}}} -->
| |
− | {{#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}}}]]}}}}}}}}}} -->
| + | </includeonly><noinclude> |
− | {{#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 109: |
Line 58: |
| <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}}
| |
| </noinclude> | | </noinclude> |