Difference between revisions of "Template:Categorize gun"
From Gunsopedia
Line 7: | Line 7: | ||
{{#if:{{{Type|}}}| [[category:{{{Type}}}]]}} | {{#if:{{{Type|}}}| [[category:{{{Type}}}]]}} | ||
+ | <!-- second layer --> | ||
+ | {{#if:{{{Nationality|}}}| {{#if:{{{Caliber|}}}| [[category:{{{Nationality}}} {{{Caliber}}} firearms]]}}}} | ||
+ | {{#if:{{{Nationality|}}}| {{#if:{{{Action|}}}| [[category:{{{Nationality}}} {{{Action}}} firearms]]}}}} | ||
{{#if:{{{Nationality|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Type}}}]]}}}} | {{#if:{{{Nationality|}}}| {{#if:{{{Type|}}}| [[category:{{{Nationality}}} {{{Type}}}]]}}}} | ||
Line 65: | Line 68: | ||
}}</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]] | ||
</noinclude> | </noinclude> |
Revision as of 13:30, 24 July 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).