Difference between revisions of "Template:Categorize gun"
From Gunsopedia
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 | + | # Nationality |
− | # Caliber | + | # Caliber |
− | # Action | + | # Action |
− | # Subtype | + | # Subtype |
− | # Type | + | # Type |
| | | | ||
− | # Nationality Caliber | + | # Nationality Caliber |
− | # Nationality Action | + | # Nationality Action |
− | # Nationality Subtype | + | # Nationality Subtype |
− | # Nationality Type | + | # Nationality Type |
− | # Caliber Action | + | # Caliber Action |
# Caliber Subtype | # Caliber Subtype | ||
− | # Caliber Type | + | # Caliber Type |
# Action Subtype | # Action Subtype | ||
− | # Action Type | + | # Action Type |
− | # Subtype Type | + | # Subtype Type |
| | | | ||
# Nationality Caliber Action | # Nationality Caliber Action |
Revision as of 11:19, 9 August 2013
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 = | Caliber = | 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.