Ad placeholder

Template:Weapon page: Difference between revisions

Jump to navigation Jump to search
add legacy field
(only insert categories in main namespace)
(add legacy field)
Line 373: Line 373:
{{#cargo_declare: _table = weapons
{{#cargo_declare: _table = weapons
| name = String (unique; mandatory)
| name = String (unique; mandatory)
| legacy = String(allowed values = inaccessible, unobtainable)
| image = File
| image = File
| description = Wikitext
| description = Wikitext
Line 410: Line 411:
| #default = {{#cargo_store: _table = weapons
| #default = {{#cargo_store: _table = weapons
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| legacy = {{#var:legacy|}}
| rarity = {{IfEmpty | {{{rarity|}}} | common}}
| rarity = {{IfEmpty | {{{rarity|}}} | common}}
| rarity_order = {{#switch: {{{rarity|}}}
| rarity_order = {{#switch: {{{rarity|}}}

Navigation menu