Template:Infobox/Stage: Difference between revisions
From Inkipedia, the Splatoon wiki
m (added category) |
m (moved category into noinclude) |
||
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/Stage/doc}}{{#cargo_attach:_table=Stages_test}} | }}}}</includeonly><noinclude>{{Infobox/Stage/doc}}{{#cargo_attach:_table=Stages_test}}[[Category:Infobox templates]]</noinclude> | ||
[[Category:Infobox templates]] |
Latest revision as of 12:47, 28 June 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.