Template:Infobox: Difference between revisions
From Inkipedia, the Splatoon wiki
Trig Jegman (talk | contribs) m (Reverted edits by Trig Jegman (talk) to last revision by SuperHamster) Tag: Rollback |
Trig Jegman (talk | contribs) mNo edit summary |
||
Line 32: | Line 32: | ||
|color = {{SiteColor|Splatoon}} | |color = {{SiteColor|Splatoon}} | ||
|title = Splatoon | |title = Splatoon | ||
|image = | |image = Splatoon NA Box Art.jpg | ||
|caption = North American box art | |caption = North American box art | ||
}}</nowiki> | }}</nowiki> | ||
Line 40: | Line 40: | ||
|color = {{SiteColor|Splatoon}} | |color = {{SiteColor|Splatoon}} | ||
|title = Splatoon | |title = Splatoon | ||
|image = | |image = Splatoon NA Box Art.jpg | ||
|caption = North American box art | |caption = North American box art | ||
}} | }} |
Revision as of 23:22, 11 December 2022
Produces a basic infobox for a game.
Parameters
open |
Optional. | Like with {{BubbleBox}}, the "open" parameter leaves the table open (unclosed div) for further customization. |
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 title. If absent, the page name is used. |
logo |
Optional. | The filename of the logo to display. |
image |
Optional. | The filename of the image to display. |
caption |
Optional. | Text displayed below the image. |
Example
Markup
{{Infobox |color = {{SiteColor|Splatoon}} |title = Splatoon |image = Splatoon NA Box Art.jpg |caption = North American box art }}
Output
{{Infobox |color = {{SiteColor|Splatoon 2}} |title = Splatoon 2 |caption = Example }}
Output
{{Infobox |color = {{SiteColor|Generic}} |title = Moray Towers |image = S Stage Moray Towers.png |caption = Horizontal image }}
Output
{{Infobox|open|color={{SiteColor|NIWA}}}} {| style="border-spacing: 4px;" {{InfoboxProperty|color={{SiteColor|NIWA}}|Field 1|Text 1}} {{InfoboxProperty|color={{SiteColor|NIWA}}|Field 2|Text 2}} |}</div>