Template:Special 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.")
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
|titlestyle = background:#32CD32;
|titlestyle = background:#32CD32;


|list1= {{#if:{{{1|}}}|{{Special weapons/{{{1}}}|nocat={{{nocat|}}}|yes}}| {{Special weapons/Y1|nocat=y}} {{Special weapons/Y2|nocat=y}} }}
|list1= {{#if:{{{1|}}}|{{Special weapons/{{{1}}}|nocat={{{nocat|{{NAMESPACE}}}}}|yes}}| {{Special weapons/Y1|nocat={{{nocat|{{NAMESPACE}}}}}}} {{Special 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 the weapon year category from being added to the article.
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.