Difference between revisions of "Template:Categorize gun"
From Gunsopedia
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 |
---|---|---|---|---|
|
|
|
|
|
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.