Template:Infobox/Mode: Difference between revisions
From Inkipedia, the Splatoon wiki
(Created page with "{| class="infobox" style="font-size:89%; width:300px; background-color:#CBE0B3" |- ! colspan="2" style="background-color:#91CE4D; color:#ffffff; font-size:120%; padding:1em;" ...") |
Nukleopatra (talk | contribs) m (Text replacement - "InfoboxProperty" to "Infobox/Property") |
||
(17 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{| | <includeonly>{{Infobox|open|color={{{color|}}}|style={{{style|}}}|title={{{title|}}}|logo={{{logo|}}}|image={{{image|}}}|caption={{{caption|}}}}} | ||
| | {| style="border-spacing: 4px;" | ||
{{Infobox/Property|color={{{color|}}}|Type|{{{type}}}}} | |||
| | {{Infobox/Property|color={{{color|}}}|Players|{{{players}}}}} | ||
{{Infobox/Property|color={{{color|}}}|Ranked|{{{ranked}}}}} | |||
| | {{Infobox/Property|color={{{color|}}}|Weapons|{{{weapons}}}}} | ||
{{Infobox/Property|color={{{color|}}}|Controllers|{{{controllers|}}}}} | |||
| | {{Infobox/Property|color={{{color|}}}|Release Date|{{{release|Launch}}}}} | ||
| | |} | ||
</div> | |||
| | </includeonly><noinclude>__NOTOC__ | ||
| | Produces an infobox for a [[mode]]. | ||
| {{{players}}} | |||
| | |||
| | |||
| {{{ranked}}} | |||
| | |||
| | |||
| {{{weapons}}} | |||
| | |||
| | |||
| {{{ | |||
| | |||
|}< | === Parameters === | ||
{{ | {| | ||
|- style="vertical-align: top;" | |||
|<code>color</code>||Optional.||An RGB triplet to use as the base color for formatting. The default color is {{t|SiteColor|Generic}}. | |||
|- style="vertical-align: top;" | |||
|<code>style</code>||Optional.||A CSS property list to apply to the top-level container. | |||
|- style="vertical-align: top;" | |||
|<code>title</code>||Optional.||The mode's title. If absent, the page name is used. | |||
|- style="vertical-align: top;" | |||
|<code>image</code>||Optional.||The filename of the logo to display. Nothing appears if unspecified. | |||
|- style="vertical-align: top;" | |||
|<code>image</code>||Optional.||The filename to display. If not specified, an [[:File:Example.png|example image]] is used. | |||
|- style="vertical-align: top;" | |||
|<code>caption</code>||Optional.||Text displayed below the image. | |||
|- style="vertical-align: top;" | |||
|<code>players||Optional.||How many players can play in a match in this mode | |||
|- style="vertical-align: top;" | |||
|<code>ranked</code>||Optional.||Is the mode [[Ranked]]? | |||
|- style="vertical-align: top;" | |||
|<code>weapons</code>||Optional.||The weapon(s) allowed in this mode. | |||
|- style="vertical-align: top;" | |||
|<code>controllers</code>||Optional.||The available controllers for this mode. | |||
|- style="vertical-align: top;" | |||
|<code>release</code>||Optional.||The date(s) this mode was made available. Defaults to "Launch" | |||
|} | |||
=== Example === | |||
==== Markup ==== | |||
<nowiki>{{Infobox/Mode | |||
| color = {{SiteColor|Splatoon}} | |||
| title = Turf War | |||
| image = FlounderHeights4.jpg | |||
| caption = Turf War | |||
| type = Online multiplayer [[mode]] | |||
| players = 8 (4v4) | |||
| ranked = No | |||
| weapons = All | |||
| controllers = {{GP}} GamePad | |||
}}</nowiki> | |||
==== Output ==== | |||
{{Infobox/Mode | |||
| color = {{SiteColor|Splatoon}} | |||
| title = Turf War | |||
| image = FlounderHeights4.jpg | |||
| caption = Turf War | |||
| type = Online multiplayer [[mode]] | |||
| players = 8 (4v4) | |||
| ranked = No | |||
| weapons = All | |||
| controllers = {{GP}} GamePad | |||
}} | |||
{{clr}} | |||
</noinclude> |
Latest revision as of 22:12, 1 September 2023
Produces an infobox for a mode.
Parameters
color |
Optional. | An RGB triplet to use as the base color for formatting. The default color is {{SiteColor|<Generic>}}. |
style |
Optional. | A CSS property list to apply to the top-level container. |
title |
Optional. | The mode's title. If absent, the page name is used. |
image |
Optional. | The filename of the logo to display. Nothing appears if unspecified. |
image |
Optional. | The filename to display. If not specified, an example image is used. |
caption |
Optional. | Text displayed below the image. |
players |
Optional. | How many players can play in a match in this mode |
ranked |
Optional. | Is the mode Ranked? |
weapons |
Optional. | The weapon(s) allowed in this mode. |
controllers |
Optional. | The available controllers for this mode. |
release |
Optional. | The date(s) this mode was made available. Defaults to "Launch" |
Example
Markup
{{Infobox/Mode | color = {{SiteColor|Splatoon}} | title = Turf War | image = FlounderHeights4.jpg | caption = Turf War | type = Online multiplayer [[mode]] | players = 8 (4v4) | ranked = No | weapons = All | controllers = {{GP}} GamePad }}
Output
Turf War
Type | Online multiplayer mode |
Players | 8 (4v4) |
Ranked | No |
Weapons | All |
Controllers | GamePad |
Release Date | Launch |