Difference between revisions of "Template:Categorize gun"
From Gunsopedia
(→Usage) |
|||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <!-- | + | <!-- Layer 1 {{#if:{{{1|}}}| [[category:{{{1}}}]]}} --> |
{{#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:{{{Subaction|}}}| [[category:{{{Subaction}}} firearms]]}} | ||
{{#if:{{{Action|}}}| [[category:{{{Action}}} firearms]]}} | {{#if:{{{Action|}}}| [[category:{{{Action}}} firearms]]}} | ||
− | |||
{{#if:{{{Type|}}}| [[category:{{{Type}}}]]}} | {{#if:{{{Type|}}}| [[category:{{{Type}}}]]}} | ||
− | <!-- | + | <!-- Layer 2 {{#if:{{{1|}}}| {{#if:{{{2|}}}| [[category:{{{1}}} {{{2}}}]]}}}} --> |
{{#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:{{{Subtype|}}}| [[category:{{{Nationality}}} {{{Subtype}}}]]}}}} --> | ||
{{#if:{{{Nationality|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Type}}}]]}}}} | {{#if:{{{Nationality|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Type}}}]]}}}} | ||
+ | {{#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}}}]]}}}} | ||
{{#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:{{{Subtype|}}}| [[category:{{{Caliber}}} {{{Subtype}}}]]}}}} --> | ||
Line 19: | Line 24: | ||
{{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Subtype}}} {{{Type}}}]]}}}} | {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Subtype}}} {{{Type}}}]]}}}} | ||
− | <!-- | + | <!-- Layer 3 {{#if:{{{1|}}}| {{#if:{{{2|}}}| {{#if:{{{3|}}}| [[category:{{{1}}} {{{2}}} {{{3}}}]]}}}}}} --> |
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}}]]}}}}}} | {{#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:{{{Subtype|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Subtype}}}]]}}}}}} | ||
Line 26: | Line 31: | ||
{{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Action}}} {{{Type}}}]]}}}}}} | {{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Action}}} {{{Type}}}]]}}}}}} | ||
{{#if:{{{Nationality|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Subtype}}} {{{Type}}}]]}}}}}} | {{#if:{{{Nationality|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Subtype}}} {{{Type}}}]]}}}}}} | ||
+ | {{#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}}}]]}}}}}} | ||
+ | {{#if:{{{Manufacturer|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Manufacturer}}} {{{Action}}} {{{Subtype}}}]]}}}}}} | ||
+ | {{#if:{{{Manufacturer|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Action}}} {{{Type}}}]]}}}}}} | ||
+ | {{#if:{{{Manufacturer|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Subtype}}} {{{Type}}}]]}}}}}} | ||
{{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Caliber}}} {{{Action}}} {{{Subtype}}}]]}}}}}} | {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| [[category:{{{Caliber}}} {{{Action}}} {{{Subtype}}}]]}}}}}} | ||
{{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Action}}} {{{Type}}}]]}}}}}} | {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Caliber}}} {{{Action}}} {{{Type}}}]]}}}}}} | ||
Line 31: | Line 42: | ||
{{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Action}}} {{{Subtype}}} {{{Type}}}]]}}}}}} | {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Action}}} {{{Subtype}}} {{{Type}}}]]}}}}}} | ||
− | <!-- | + | <!-- 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}}}]]}}}}}}}} | {{#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:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Action}}} {{{Subtype}}} {{{Type}}}]]}}}}}}}} | ||
Line 37: | Line 48: | ||
{{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}} {{{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}}}]]}}}}}}}} | {{#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}}}]]}}}}}}}} | ||
+ | {{#if:{{{Manufacturer|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Caliber}}} {{{Subtype}}} {{{Type}}}]]}}}}}}}} | ||
+ | {{#if:{{{Manufacturer|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Caliber}}} {{{Action}}} {{{Type}}}]]}}}}}}}} | ||
+ | {{#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}}}]]}}}}}}}}}} | {{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}} {{{Subtype}}} {{{Type}}}]]}}}}}}}}}} | ||
+ | {{#if:{{{Manufacturer|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Manufacturer}}} {{{Caliber}}} {{{Action}}} {{{Subtype}}} {{{Type}}}]]}}}}}}}}}} | ||
</includeonly><noinclude>{{Dennis}} | </includeonly><noinclude>{{Dennis}} |
Revision as of 11:30, 21 August 2013
- Dennis needs to get off his ass and do something with this page.
This template categorizes gun pages according to the following criteria:
1 layer | 2 Layers | 3 layers | 4 layers | 5 layers |
---|---|---|---|---|
|
|
|
|
|
Usage
Paste and fill in:
{{categorize gun | Nationality = | Manufacturer = | Caliber = | Subaction = | Action = | Subtype = | Type = }}
There is no support yet for multinational firearms (like a lot of the stuff John Browning did, for example).
- Dennis needs to get off his ass and do something with this page.