Template:Primary weapons: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "remove the weapon year category." to "prevent the weapon year category from being added to the article.") |
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.") |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
|titlestyle = background:silver; | |titlestyle = background:silver; | ||
|list1= {{#if:{{{1|}}}|{{Primary weapons/{{{1}}}|nocat={{{nocat|}}}|yes}}| {{Primary weapons/Y1|nocat= | |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 14: | Line 14: | ||
*<code>Y2</code> - displays [[/Y2]] | *<code>Y2</code> - displays [[/Y2]] | ||
Setting the <code>nocat</code> parameter will prevent | 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.