Template:Primary weapons: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
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.")
 
(2 intermediate revisions by 2 users 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=y}} {{Primary weapons/Y2|nocat=y}} }}
|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 remove the weapon year category.
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.

  • Y1 - displays /Y1
  • Y2 - displays /Y2

Setting the nocat parameter will prevent any weapon year categories from being added to the article.