Template:Infobox/Tournament/doc: Difference between revisions

From Inkipedia, the Splatoon wiki
m (`)
m (`)
Line 9: Line 9:
|<code>style</code>||Optional.||A list of CSS values to apply to the outermost container of the infobox.
|<code>style</code>||Optional.||A list of CSS values to apply to the outermost container of the infobox.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>game</code>||Optional.||The game the [[Stage]] belongs to. For Stages that are split or exclusive to one game use:
|<code>game</code>||Optional.||The game the [[Tournament]] is on. For Tournaments that are split or exclusive to one game use:
*Splatoon
*Splatoon
*Splatoon 2
*Splatoon 2
Specifying a value for game will only output the one icon for that game.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>name</code>||Optional.||The English name of the stage. If absent, the page name will be used.
|<code>name</code>||Optional.||The English name of the stage. If absent, the page name will be used.

Revision as of 22:25, 9 March 2019

Produces an infobox for a tournament.

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 Tournament is on. For Tournaments that are split or exclusive to one game use:
  • Splatoon
  • Splatoon 2
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>_Stage_<name>.png.
organizer Optional. The organizer of the tournament, if they are unofficial, link to source.
type Optional. Type of the tournament, whether Online or LAN.
type Optional. Location of the tournament, depends on the type of the tournament.
  • LAN - Write the exact location that the event took place at.
  • Online - Write the thread link of the tournament.
format Optional. Format of the tournament. For example: Best of 5, Single-Elimination, Bracket, Etc..
modes Optional. Modes in the tournament. For spacing use <br>
startdate Optional. Start date of the tournament.
enddate Optional. End date of the tournament.
winner Optional. Winner of the tournament.

Example

Splatoon 2 European Championship 2018-2019

Splatoon 2 European Championship 2018-2019

Organizer
Type LAN
Location Gaîté Lyrique, Paris
Format
Modes Splat Zones
Tower Control
Rainmaker
Clam Blitz
Date
Winner
{{Infobox/Tournament
|game     = Splatoon 2
|name     = Splatoon 2 European Championship 2018-2019
|image    = Splatoon 2 European Championship 2018-2019.jpg
|organizer=
|type     = LAN
|location = Gaîté Lyrique, Paris
|format   =
|modes    = [[Splat Zones]]<br>[[Tower Control]]<br>[[Rainmaker]]<br>[[Clam Blitz]]
|startdate= {{date|2019-03-09}}
|enddate  = {{date|2019-03-10}}
|winner   =
}}