Template:Infobox/Stage: Difference between revisions

From Inkipedia, the Splatoon wiki
(Adding title override option)
(Fixed as discussed on discord (deleted default value))
(7 intermediate revisions by 3 users not shown)
Line 2: Line 2:
|color      = {{#if:{{{color|}}}|{{{color}}}|{{SiteColor|{{#if:{{{game|}}}|{{{game}}}|Generic}}}}}}
|color      = {{#if:{{{color|}}}|{{{color}}}|{{SiteColor|{{#if:{{{game|}}}|{{{game}}}|Generic}}}}}}
|style      = {{{style|}}}
|style      = {{{style|}}}
|game      = {{#if:{{{game|}}}|{{{game}}}|Splatoon 2}}
|game      = {{{game|}}}
|title      = {{{title|}}}
|title      = {{{title|}}}
|image      = {{{image|}}}
|image      = {{{image|}}}
Line 9: Line 9:
|totalbp    = {{{totalbp|}}}
|totalbp    = {{{totalbp|}}}
|features  = {{{features|}}}
|features  = {{{features|}}}
|spawn      = {{#switch:{{{spawn|}}}
|true=Accessible
|false=Not Accessible
|#default={{{spawn|}}}}}
|hazards    = {{#ifeq:{{{haswaterhazard}}}|true|[[Water]]{{#ifeq:{{{hasabysshazard}}}|true|, }}}}{{#ifeq:{{{hasabysshazard}}}|true|[[Out-of-bounds|Abyss]]}}
|hazards    = {{#ifeq:{{{haswaterhazard}}}|true|[[Water]]{{#ifeq:{{{hasabysshazard}}}|true|, }}}}{{#ifeq:{{{hasabysshazard}}}|true|[[Out-of-bounds|Abyss]]}}
}}</includeonly><noinclude>{{Infobox/StageDoc}}</noinclude>
}}{{#if:{{{skipcargo|}}}||{{#cargo_store:
_table = Stages_test
|game = {{{game|}}}
|name = {{{name|{{PAGENAME}}}}}
|mode = {{{mode|Battle}}}
|sort_order = {{{sort order|}}}
|introduced = {{{introduced|}}}
|totalbp = {{{totalbp|}}}
|features = {{{features|}}}
|has_water_hazard = {{#ifeq:{{{haswaterhazard}}}|true|1|0}}
|has_abyss_hazard = {{#ifeq:{{{hasabysshazard}}}|true|1|0}}
|title = {{{title|}}}
}}}}</includeonly><noinclude>{{Infobox/StageDoc}}{{#cargo_attach:_table=Stages_test}}</noinclude>

Revision as of 23:31, 9 April 2024

Template:Infobox/StageDocThis template adds rows to the table "Stages_test", which is declared by the template Infobox/StageCargoTest. View table.