Template:Infobox-Game: Difference between revisions

From MiiWiki
Jump to navigationJump to search
m (Commenting out this section since we aren't affiliated with any sites besides the ones we share hosting with and none of them really have reason to be linked to in infoboxes. Also we don't have a partnership system.)
m (added a way to disable the strategywiki box since not everything has/will get a page there)
 
(7 intermediate revisions by 3 users not shown)
Line 20: Line 20:
|Info6name = Rating(s)
|Info6name = Rating(s)
|Info6details = {{{rating|}}}
|Info6details = {{{rating|}}}
|Info7name = Game size
|Info7name= Input(s)
|Info7details = {{{size|}}}
|Info7details={{{input|}}}
|Info8name = External links
|Info8name = Game size
|Info8details = {{{link|}}}
|Info8details = {{{size|}}}
|Info9name = Game ID
|Info9details = {{{id|}}}
|Infomore =
|Infomore =
{{#if:{{{link|}}}|<tr>
<th style="background:#BBB; color: #000; width: 50%">External links</th>
<td style="background:rgba(0,0,0,.1); padding-left:5px">{{{link|}}}</td>
</tr>|}}
<tr>
<tr>
<th style="background: #BBB" colspan="2">Game chronology</th>
<th style="background: #BBB" colspan="2">Game chronology</th>
Line 32: Line 38:
<td style="text-align: center; background: rgba(0,0,0,.1)">{{#if: {{{next|}}} | {{{next_alt_text|Next game}}}<br>{{{next}}} → | Next game<br>{{{next_alt_text|Latest game in series}}} }}</td>
<td style="text-align: center; background: rgba(0,0,0,.1)">{{#if: {{{next|}}} | {{{next_alt_text|Next game}}}<br>{{{next}}} → | Next game<br>{{{next_alt_text|Latest game in series}}} }}</td>
</tr>
</tr>
<!--<tr>
{{#ifeq:{{{strategywiki|}}}{{{niwa|}}}|false||<tr>
<th colspan="2" style="background: #BBB">{{MiiW|Affiliates|On affiliated sites}}</th>
<th colspan="2" style="background: #BBB">[[MiiWiki:Affiliates|On affiliated sites]]</th>
</tr>
{{#if:{{{switcher|}}}|<tr>
<th style="background: #BBB">Switcher.gg</th>
<td style="background: rgba(0,0,0,.1)">[https://switcher.gg/games/nintendo-switch/{{{switcher}}} Find {{PAGENAME}} friends online]</td>
</tr>}}
</tr>}}
<tr>
{{#ifeq:{{{strategywiki|}}}|false||<tr>
<th style="background: #BBB">[[File:Strategy Wiki Logo.png|50px]]</th>
<th style="background: #BBB">[[File:Strategy Wiki Logo.png|50px]]</th>
<td style="background: rgba(0,0,0,.1)">[[strategywiki:{{{strategywiki|{{FULLPAGENAME}}}}}|Walkthrough]]</td>
<td style="background: rgba(0,0,0,.1)">[[strategywiki:{{{strategywiki|{{FULLPAGENAME}}}}}|Walkthrough]]</td>
</tr>
</tr>}}
-->}}<includeonly>[[Category:Games|{{PAGENAME}}]]</includeonly><noinclude>
{{#if:{{{niwa|}}}|<tr>
<th style="background: #BBB">[[File:NIWA.png|50px]]</th>
<td style="background: rgba(0,0,0,.1)">{{{niwa}}}</td>
</tr>}}
}}<includeonly>{{DISPLAYTITLE:''{{PAGENAME}}''}}[[Category:Games|{{PAGENAME}}]]</includeonly><noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates|{{PAGENAME}}]]
Used to make infoboxes for games. Copy-paste the following into a game page and fill out as needed. All fields are optional and will only appear if filled out. If a field is unused, please remove it.
Used to make infoboxes for games. Copy-paste the following into a game page and fill out as needed. All fields are optional and will only appear if filled out. If a field is unused, please remove it.
Line 57: Line 63:
|platforms=platforms the game released on
|platforms=platforms the game released on
|rating=age rating of the game (use {{ratings}})
|rating=age rating of the game (use {{ratings}})
|input=what input devices the game takes
|size=filesize of the game
|size=filesize of the game
|id=game id (eg. RSPE01 for Wii Sports)
|link=links to other websites (usually affiliates and official websites) about the game
|link=links to other websites (usually affiliates and official websites) about the game
|prev=previous game in the series. Defaults to none.
|prev=previous game in the series. Defaults to none.
Line 63: Line 71:
|next=next game in the series. Defaults to none.
|next=next game in the series. Defaults to none.
|next_alt_text=alternate text for the previous field, defaults to latest game in the series
|next_alt_text=alternate text for the previous field, defaults to latest game in the series
|switcher=the last part of the game's URL on switcher.gg
|strategywiki=The game's full pagename on strategywiki.org, or false to disable
|strategywiki=The game's full pagename on strategywiki.org
|niwa=Links to any NIWA wikis that have a page on this subject. If multiple NIWA members have pages, separate them with <br>
}}
</pre>
===Raw code===
<pre>
{{Infobox-Game
|title=
|image=
|caption=
|developer=
|publisher=
|designer=
|released=
|platforms=
|rating=
|input=
|size=
|link=
|prev=
|prev_alt_text=
|next=
|next_alt_text=
|strategywiki=
|niwa=
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 16:43, 26 April 2024

Infobox-Game

Needed.png
Have an image of Infobox-Game? Why not upload it?

Details
Game chronology
Previous game
First game in series
Next game
Latest game in series
On affiliated sites
Strategy Wiki Logo.png Walkthrough
 This box: view  talk  edit 

Used to make infoboxes for games. Copy-paste the following into a game page and fill out as needed. All fields are optional and will only appear if filled out. If a field is unused, please remove it.

{{Infobox-Game
|title=title of infobox (defaults to the page title)
|image=boxart of the game (use tabs if there are multiple regions)
|caption=caption of image
|developer=the developer of the game
|publisher=publisher of the game
|designer=designer of the game
|released=the game's release date (use {{released}})
|platforms=platforms the game released on
|rating=age rating of the game (use {{ratings}})
|input=what input devices the game takes
|size=filesize of the game
|id=game id (eg. RSPE01 for Wii Sports)
|link=links to other websites (usually affiliates and official websites) about the game
|prev=previous game in the series. Defaults to none.
|prev_alt_text=alternate text for the previous field, defaults to first game in the series
|next=next game in the series. Defaults to none.
|next_alt_text=alternate text for the previous field, defaults to latest game in the series
|strategywiki=The game's full pagename on strategywiki.org, or false to disable
|niwa=Links to any NIWA wikis that have a page on this subject. If multiple NIWA members have pages, separate them with <br>
}}

Raw code

{{Infobox-Game
|title=
|image=
|caption=
|developer=
|publisher=
|designer=
|released=
|platforms=
|rating=
|input=
|size=
|link=
|prev=
|prev_alt_text=
|next=
|next_alt_text=
|strategywiki=
|niwa=
}}