Template:Heavy weapons: Difference between revisions
From Destinypedia, the Destiny wiki
(Created page with "{{Navbox |name = Heavy weapons |title = Heavy weapons |style = width:660px; background:#8A2BE2; |titlestyle = background:#9370DB; color:#fff; |list1= {{#if:{{...") |
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.") |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
|titlestyle = background:#9370DB; color:#fff; | |titlestyle = background:#9370DB; color:#fff; | ||
|list1= {{#if:{{{1|}}}|{{Heavy weapons/{{{1}}}|yes}}| {{Heavy weapons/Y1}} {{Heavy weapons/Y2}} }} | |list1= {{#if:{{{1|}}}|{{Heavy weapons/{{{1}}}|nocat={{{nocat|{{NAMESPACE}}}}}|yes}}| {{Heavy weapons/Y1|nocat={{{nocat|{{NAMESPACE}}}}}}} {{Heavy 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 17: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.