Template:Infobox/Game: Difference between revisions

From Wario Speedrunning Wiki
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..."
 
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>}}}}&nbsp;{{#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>}}}}&nbsp;{{#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>japonais</code>
*<code>jpname</code>: JP name of the game
*<code>console</code>
*<code>console</code>: Console(s) the game was released on.
*<code>développeur</code>
*<code>developer</code>: Game developer
*<code>éditeur</code>
*<code>publisher</code>: Game publisher
*<code>genre</code>
*<code>players</code>: How many players the game supports
*<code>joueurs</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>cds</code>
*<code>kor</code>: Korean release date
*<code>prédécesseur</code>
*<code>preceded</code>: Previous installment. Use <code>{<nowiki/>{YNM|-}}</code> if not applicable.
*<code>successeur</code>
*<code>succeeded</code>: Next installment. Use <code>{<nowiki/>{YNM|-}}</code> if not applicable.
*<code>re-sorties</code>
*<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=
|japonais=
|jpname=
|console=
|console=
|développeur=
|developer=
|éditeur=
|publisher=
|genre=
|players=
|joueurs=
|categories=
|jp=
|jp=
|na=
|na=
|eu=
|eu=
|aus=
|aus=
|cds=
|kor=
|prédécesseur=
|preceded=
|successeur=
|succeeded=
|re-sorties=
|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
Twitch Speedrun.com Youtube StrategyWiki mariowiki.com

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 infobox
  • tablecolor: Change color of the entire infobox
  • headerborder: Change border of the header box
  • headercolor: Change color of the header box
  • thc: 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 used
  • size: Size of the image being used
  • caption: Optional caption for the image
  • jpname: JP name of the game
  • console: Console(s) the game was released on.
  • developer: Game developer
  • publisher: Game publisher
  • players: How many players the game supports
  • categories: Speedrun category options
  • jp: JP release date
  • na: NA release date
  • eu: PAL release date
  • aus: Australian release date
  • kor: Korean release date
  • preceded: 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 category
  • speedrun: URL to the speedrun.com game page
  • youtube: URL to the Youtube game page (example)
  • strategywiki: Name only of the page on StrategyWiki
  • mariowiki: Name only of the page on Super Mario Wiki
  • wikipedia: URL to the wikipedia page
  • website: 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=
}}