Editing Template:Categorize gun
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> | ||
− | <!-- | + | <!-- first layer --> |
{{#if:{{{Nationality|}}}| [[category:{{{Nationality}}} firearms]]}} | {{#if:{{{Nationality|}}}| [[category:{{{Nationality}}} firearms]]}} | ||
− | |||
{{#if:{{{Caliber|}}}| [[category:{{{Caliber}}} firearms]]}} | {{#if:{{{Caliber|}}}| [[category:{{{Caliber}}} firearms]]}} | ||
− | |||
− | |||
{{#if:{{{Action|}}}| [[category:{{{Action}}} firearms]]}} | {{#if:{{{Action|}}}| [[category:{{{Action}}} firearms]]}} | ||
− | {{#if:{{{Type|}}}| [[category:{{{Type}}} | + | {{#if:{{{Subtype|}}}| [[category:{{{Subtype}}}]]}} |
+ | {{#if:{{{Type|}}}| [[category:{{{Type}}}]]}} | ||
− | <!-- | + | <!-- 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:{{{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:{{{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:{{{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:{{{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:{{{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:{{{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:{{{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}}}]]}}}}}} | |
− | + | ||
− | + | ||
− | + | ||
− | {{#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:{{{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}}} | + | {{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{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:{{{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}}} | + | {{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| {{#if:{{{Action|}}}| {{#if:{{{Subtype|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Caliber}}} {{{Action}}} {{{Subtype}}} {{{Type}}}]]}}}}}}}}}} |
− | + | ||
− | + | ||
− | |||
− | |||
</includeonly><noinclude>{{Dennis}} | </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 88: | ||
<pre> | <pre> | ||
{{categorize gun | {{categorize gun | ||
− | | Nationality | + | | Nationality = |
− | | Manufacturer = | + | | Manufacturer = |
− | | Caliber | + | | Caliber = |
− | | | + | | Action Prefix = |
− | + | | Action = | |
− | | Action | + | | Type Prefix = |
− | | | + | | Type = |
− | | Type | + | |
}}</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]] {{Dennis}} | [[category:categorization templates]] {{Dennis}} | ||
</noinclude> | </noinclude> |