Template:Infobox/Game: Difference between revisions
From Wario Speedrunning Wiki
Trig Jegman (talk | contribs) Created page with "{{Infobox|tableborder={{{tableborder|}}}|tablecolor={{{tablecolor|{{color|dark-purple}}}}}|headerborder={{{headerborder|}}}|headercolor={{{headercolor|{{color|purple}}}}}|header={{{header|{{PAGENAME}}}}}}} |- | colspan=2 style="text-align:center"| {{#if:{{{image|}}}|[[File:{{{image}}}|{{{size|200px}}}]]<br>{{{caption|}}}|[[File:Needed.png{{!}}200px{{!}}center]]<includeonly>Category:Articles in need of images</includeonly>}} |- ! style="background-color:#{{{thc|{{colo..." |
Trig Jegman (talk | contribs) mNo edit summary |
||
Line 53: | Line 53: | ||
! colspan=2 style="{{{tbs|color:#EEFFEE}}}" | Other sites | ! colspan=2 style="{{{tbs|color:#EEFFEE}}}" | Other sites | ||
|- | |- | ||
! colspan=2 style="text-align:center" | {{#ifeq:{{{twitch|}}}|no||{{#if:{{{twitch|}}}|<span class="img-ib-inline">[[File:Twitch Icon.svg|30px|link={{{twitch|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:Twitch Icon.svg|30px|Twitch|link=]]</span>}}}} {{#ifeq:{{{speedrun|}}}|no||{{#if:{{{speedrun|}}}|<span class="img-ib-inline">[[File:Speedruncom Icon.png|30px|link={{{speedrun|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:Speedruncom Icon.png|30px|Speedrun.com|link=]]</span>}}}} {{#ifeq:{{{youtube|}}}|no||{{#if:{{{youtube|}}}|<span class="img-ib-inline">[[File:YouTube Icon.svg|30px|link={{{youtube|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:YouTube Icon.svg|30px|Youtube|link=]]</span>}}}} {{#ifeq:{{{strategywiki|}}}|no||{{#if:{{{strategywiki|}}}|<span class="img-ib-inline nolink">[[File:StrategyWiki Icon.svg|30px|link=[[strategywiki:{{{strategywiki|}}}]]]]</span>|<span class="img-ib-inline img-greyscale">[[File:StrategyWiki icon grayscale.png|30px|StrategyWiki|link=]]</span>}}}} {{#ifeq:{{{mariowiki|}}}|no||{{#if:{{{mariowiki|}}}|<span class="img-ib-inline">[[File:MarioWiki Icon.png|30px|link={{{mariowiki|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:MarioWiki Icon.png|30px|mariowiki.com|link=]]</span>}}}} {{#if:{{{wikipedia|}}}|<span class="img-ib-inline">[[File:Wikipedia Icon.svg|30px|link={{{wikipedia|}}}]]</span>|}} {{#if:{{{website|}}}|<span class="img-ib-inline">[[File:Web Icon.svg|30px|link={{{website|}}}]]</span>|}}</div> | ! colspan=2 style="text-align:center" | {{#ifeq:{{{twitch|}}}|no||{{#if:{{{twitch|}}}|<span class="img-ib-inline">[[File:Twitch Icon.svg|30px|link={{{twitch|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:Twitch Icon.svg|30px|Twitch|link=]]</span>}}}} {{#ifeq:{{{speedrun|}}}|no||{{#if:{{{speedrun|}}}|<span class="img-ib-inline">[[File:Speedruncom Icon.png|30px|link={{{speedrun|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:Speedruncom Icon.png|30px|Speedrun.com|link=]]</span>}}}} {{#ifeq:{{{youtube|}}}|no||{{#if:{{{youtube|}}}|<span class="img-ib-inline">[[File:YouTube Icon.svg|30px|link={{{youtube|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:YouTube Icon.svg|30px|Youtube|link=]]</span>}}}} {{#ifeq:{{{strategywiki|}}}|no||{{#if:{{{strategywiki|}}}|<span class="img-ib-inline nolink">[[File:StrategyWiki Icon.svg|30px|link=[[strategywiki:{{{strategywiki|}}}]]]]</span>|<span class="img-ib-inline img-greyscale">[[File:StrategyWiki icon grayscale.png|30px|StrategyWiki|link=]]</span>}}}} {{#ifeq:{{{mariowiki|}}}|no||{{#if:{{{mariowiki|}}}|<span class="img-ib-inline">[[File:MarioWiki Icon.png|30px|link=[[mariowiki:{{{mariowiki|}}}]]]]</span>|<span class="img-ib-inline img-greyscale">[[File:MarioWiki Icon.png|30px|mariowiki.com|link=]]</span>}}}} {{#if:{{{wikipedia|}}}|<span class="img-ib-inline">[[File:Wikipedia Icon.svg|30px|link={{{wikipedia|}}}]]</span>|}} {{#if:{{{website|}}}|<span class="img-ib-inline">[[File:Web Icon.svg|30px|link={{{website|}}}]]</span>|}}</div> | ||
|}<noinclude> | |}<noinclude> | ||
Line 59: | Line 59: | ||
==Style parameters== | ==Style parameters== | ||
Change the visual design of the template | Change the visual design of the template. Generally, the defaults should be sufficient. | ||
*<code>tableborder</code>: Change border of the entire infobox | *<code>tableborder</code>: Change border of the entire infobox | ||
*<code>tablecolor</code>: Change color of the entire infobox | *<code>tablecolor</code>: Change color of the entire infobox | ||
Line 73: | Line 73: | ||
*<code>size</code>: Size of the image being used | *<code>size</code>: Size of the image being used | ||
*<code>caption</code>: Optional caption for the image | *<code>caption</code>: Optional caption for the image | ||
*<code> | *<code>jpname</code>: JP name of the game | ||
*<code>console</code> | *<code>console</code>: Console(s) the game was released on. | ||
*<code> | *<code>developer</code>: Game developer | ||
*<code> | *<code>publisher</code>: Game publisher | ||
*<code> | *<code>players</code>: How many players the game supports | ||
*<code> | *<code>categories</code>: Speedrun category options | ||
*<code>jp</code> | *<code>jp</code>: JP release date | ||
*<code>na</code> | *<code>na</code>: NA release date | ||
*<code>eu</code> | *<code>eu</code>: PAL release date | ||
*<code>aus</code> | *<code>aus</code>: Australian release date | ||
*<code> | *<code>kor</code>: Korean release date | ||
*<code> | *<code>preceded</code>: Previous installment. Use <code>{<nowiki/>{YNM|-}}</code> if not applicable. | ||
*<code> | *<code>succeeded</code>: Next installment. Use <code>{<nowiki/>{YNM|-}}</code> if not applicable. | ||
*<code>re- | *<code>re-releases</code>: Any game re-releases. Omit if not applicable. | ||
==External links== | |||
External links to other sites are built in to the Infobox. Use the following parameters to link elsewhere. Links that should exist but aren't added will appear grayed out. Optional links have icons omitted entirely. | |||
*<code>twitch</code>: URL to the twitch game category | |||
*<code>speedrun</code>: URL to the speedrun.com game page | |||
*<code>youtube</code>: URL to the Youtube game page <small>([https://www.youtube.com/channel/UCpHXTjBc-87lx0RNRk9kmBQ example])</small> | |||
*<code>strategywiki</code>: ''Name only'' of the page on [[strategywiki:|StrategyWiki]] | |||
*<code>mariowiki</code>: ''Name only'' of the page on [[mariowiki:|Super Mario Wiki]] | |||
*<code>wikipedia</code>: URL to the wikipedia page | |||
*<code>website</code>: URL to any relevant, official website | |||
<br clear=all> | <br clear=all> | ||
Line 102: | Line 112: | ||
|tdc= | |tdc= | ||
|tbs= | |tbs= | ||
| | |jpname= | ||
|console= | |console= | ||
| | |developer= | ||
| | |publisher= | ||
| | |players= | ||
| | |categories= | ||
|jp= | |jp= | ||
|na= | |na= | ||
|eu= | |eu= | ||
|aus= | |aus= | ||
| | |kor= | ||
| | |preceded= | ||
| | |succeeded= | ||
|re- | |re-releases= | ||
|twitch= | |||
|speedrun= | |||
|youtube= | |||
|strategywiki= | |||
|mariowiki= | |||
|wikipedia= | |||
|website= | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 04:23, 24 April 2025
Infobox/Game | |
---|---|
![]() | |
Japanese name | |
Console(s) | |
Developer | |
Publisher | |
Total players | |
Speedrun categories | |
Release dates | |
Japan | |
North America | |
Europe | |
Australia | |
Korea | |
Related games | |
Preceded by | |
Succeeded by | |
Other sites | |
![]() ![]() ![]() |
Infoboxes to be used for games. There are a lot of parameters, most being necessary for the template to function.
Style parameters
Change the visual design of the template. Generally, the defaults should be sufficient.
tableborder
: Change border of the entire infoboxtablecolor
: Change color of the entire infoboxheaderborder
: Change border of the header boxheadercolor
: Change color of the header boxthc
: Change color of the variable boxes (left column)tdc
: Change color of the value boxes (right column)tbs
: Change style of the section headers
Data parameters
header
: Change display of the header box. Defaults to page name.image
: Image to be usedsize
: Size of the image being usedcaption
: Optional caption for the imagejpname
: JP name of the gameconsole
: Console(s) the game was released on.developer
: Game developerpublisher
: Game publisherplayers
: How many players the game supportscategories
: Speedrun category optionsjp
: JP release datena
: NA release dateeu
: PAL release dateaus
: Australian release datekor
: Korean release datepreceded
: Previous installment. Use{{YNM|-}}
if not applicable.succeeded
: Next installment. Use{{YNM|-}}
if not applicable.re-releases
: Any game re-releases. Omit if not applicable.
External links
External links to other sites are built in to the Infobox. Use the following parameters to link elsewhere. Links that should exist but aren't added will appear grayed out. Optional links have icons omitted entirely.
twitch
: URL to the twitch game categoryspeedrun
: URL to the speedrun.com game pageyoutube
: URL to the Youtube game page (example)strategywiki
: Name only of the page on StrategyWikimariowiki
: Name only of the page on Super Mario Wikiwikipedia
: URL to the wikipedia pagewebsite
: URL to any relevant, official website
{{Infobox/Game |tableborder= |tablecolor= |headerborder= |headercolor= |header= |image= |size= |caption= |thc= |tdc= |tbs= |jpname= |console= |developer= |publisher= |players= |categories= |jp= |na= |eu= |aus= |kor= |preceded= |succeeded= |re-releases= |twitch= |speedrun= |youtube= |strategywiki= |mariowiki= |wikipedia= |website= }}