Template:Infobox game: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<onlyinclude>{| style="float:{{{align|right}}}; width:{{{width|300px}}}; font-size:{{{font-size|96.25%}}}; text-align:left; border:1px solid #a2a9b1; background-color:#f8f9fa; margin:0.5em 0 0.5em 1em; padding:0.2em;" cellspacing="0" cellpadding="3" |+ style="font-size:125%; font-weight:bold; padding:0.2em;" |{{{title|{{PAGENAME}}}}} |- {{#if: {{{image|}}} | {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px]] {{!}}- | }} {{#if:...") |
No edit summary |
||
Line 3: | Line 3: | ||
|- | |- | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
{{!}} colspan="2" style="text-align:center;" {{!}} [[ | {{!}} colspan="2" style="text-align:center;" {{!}} [[{{{image}}}|{{{imagewidth|210}}}px]] | ||
{{!}}- | {{!}}- | ||
| }} | | }} |
Revision as of 01:38, 11 August 2023
An infobox for game pages. Based on the improved Infobox gametemplate, using a design closely modelled from Wikipedia with our own tweaks. Most parameters are optional but are explained below.
Parameters
The order of this list of parameters is meant to match the order they are displayed in the box. You can technically place each parameter in any order you want (as opposed to first
, second
, third
, etc.) in the markup, but it can get confusing as the template is designed to have the values show up only one way.
title
- The name of the game. If no value is given, it will default to the name of the page instead, so it's highly recommended to set the parameter yourself.
image
,image2
,image3
,image4
,image5
,image6
,image7
,image8
,image9
, andimage10
- Used to put game boxart in. The extra numbered parameters exist for cases where there are more than one image. The extras can also be used without the presence of the first
image
parameter, but this isn't recommended. Optional but recommended. imagewidth
,imagewidth2
,imagewidth3
,imagewidth4
,imagewidth5
,imagewidth6
,imagewidth7
,imagewidth8
,imagewidth9
, andimagewidth10
- Used to set the width of the images. Optional.
imagecaption
- Used to put a caption in. Describe both images if you use both parameters. Optional.
developer
- Who's made the game? Optional but recommended.
publisher
- Who published the game. Optional but recommended.
platform
- What platform was this game released on?
release
- The release date of the game. Optional but recommended.
blank
- A spacer to put between parameters Optional.
start by adding "blank = " and then use the code " < span style= "color: #ECECEC" >blank < /span > " (remember to remove the spaces in the code or it wont work)