Template:Primary weapons: Difference between revisions
From Destinypedia, the Destiny wiki
(Created page with "{{Navbox |name = Primary weapons |title = Primary weapons |style = width:660px; background:#DCDCDC; |titlestyle = background:silver; |list1= {{#if:{{{1|}}}|{{...") |
m (Text replacement - "Setting the <code>nocat</code> parameter will prevent the weapon year category from being added to the article." to "Setting the <code>nocat</code> parameter will prevent any weapon year categories from being added to the article.") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
|titlestyle = background:silver; | |titlestyle = background:silver; | ||
|list1= {{#if:{{{1|}}}|{{Primary weapons/{{{1}}}|yes}}| {{Primary weapons/Y1}} {{Primary weapons/Y2}} }} | |list1= {{#if:{{{1|}}}|{{Primary weapons/{{{1}}}|nocat={{{nocat|{{NAMESPACE}}}}}|yes}}| {{Primary weapons/Y1|nocat={{{nocat|{{NAMESPACE}}}}}}} {{Primary weapons/Y2|nocat={{{nocat|{{NAMESPACE}}}}}}} }} | ||
}}<noinclude> | }}<noinclude> | ||
Line 13: | Line 13: | ||
*<code>Y1</code> - displays [[/Y1]] | *<code>Y1</code> - displays [[/Y1]] | ||
*<code>Y2</code> - displays [[/Y2]] | *<code>Y2</code> - displays [[/Y2]] | ||
Setting the <code>nocat</code> parameter will prevent any weapon year categories from being added to the article. | |||
[[Category:Navigation templates]]</noinclude> | [[Category:Navigation templates]]</noinclude> |
Latest revision as of 16:16, September 22, 2022
About
Set the template's first parameter to one of the following codes to display only that list. By default, it will include all of them.
Setting the nocat
parameter will prevent any weapon year categories from being added to the article.