Template:Infobox/Stage: Difference between revisions
From Inkipedia, the Splatoon wiki
Wmyttmlimvty (talk | contribs) (Updated for {{S3}}) |
m (changed link; page moved) |
||
(3 intermediate revisions by one other user 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 = | |game = {{{game|}}} | ||
|title = {{{title|}}} | |title = {{{title|}}} | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
Line 22: | Line 22: | ||
|has_abyss_hazard = {{#ifeq:{{{hasabysshazard}}}|true|1|0}} | |has_abyss_hazard = {{#ifeq:{{{hasabysshazard}}}|true|1|0}} | ||
|title = {{{title|}}} | |title = {{{title|}}} | ||
}}}}</includeonly><noinclude>{{Infobox/ | }}}}</includeonly><noinclude>{{Infobox/Stage/doc}}{{#cargo_attach:_table=Stages_test}}</noinclude> |
Latest revision as of 20:10, 10 May 2024
Produces an infobox for a stage.
Parameters
color |
Optional. | An RGB triplet to use as the base color for formatting. If absent, the color is determined based on the value of game .
|
style |
Optional. | A list of CSS values to apply to the outermost container of the infobox. |
game |
Optional. | The game the stage belongs to. For stages that are exclusive to one game or have different values in each, use Splatoon , Splatoon 2 or Splatoon 3 . Specifying a value for game will only output the one icon for that game.
|
name |
Optional. | The English name of the stage. If absent, the page name will be used. |
image |
Optional. | Image to use. If not specified, the value used is <S|S2|S3>_Stage_<name>.png .
|
introduced |
Optional. | The date when the stage was introduced in the format of {{date|yyyy-mm-dd}} . If the stage was introduced at launch, write Launch .
|
totalbp |
Optional. | Total Battle Points of the stage in the format of 1,234 .
|
features |
Optional. | Features of the stage. Out-of-the-ordinary mechanics rather than terrain changes. |
haswaterhazard |
Optional. | If set to true , indicates the stage has a water hazard.
|
hasabysshazard |
Optional. | If set to true , indicates the stage has an abyss (out-of-bounds) hazard.
|
Examples
Example 1
{{Infobox/Stage |game = Splatoon |name = Moray Towers |introduced = {{date|2015-07-11}} |totalbp = 1,760 |hasabysshazard = true }}
Example 2
{{Infobox/Stage |name = Moray Towers |game = Splatoon 2 |introduced = Launch |totalbp = 2,212 |features = [[Inkrail]]s |hasabysshazard = true }}
This template adds rows to the table "Stages_test", which is declared by the template Infobox/StageCargoTest. View table.