m block format, don't require image/players |
m 1 revision imported from wikipedia:Template:Infobox_game/doc |
(No difference)
|
Latest revision as of 17:09, 19 December 2024
This is a documentation subpage for Template:Infobox game It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This is an infobox template for a game article. If an italic title is required, add |italic title=yes
or |italic title=force
to the list of parameters, and use '' '' (single quotation marks) around the title in the infobox.
If the article is about a card game, you may use {{Infobox card game}}; if the article is about a video game, use {{Infobox video game}} instead.
Usage[edit source]
Common usage[edit source]
{{Infobox game
| name =
| image =
| caption =
| years =
| genre =
| players =
| setup_time =
| playing_time =
| random_chance =
| skills =
}}
Full usage[edit source]
{{Infobox game
| name =
| subtitle =
| logo =
| logo_size =
| logo_alt =
| logo_caption =
| image =
| image_size =
| image_alt =
| caption =
| width =
| label_width =
| other_names =
| AKA =
| manufacturer =
| designer =
| director =
| illustrator =
| writer =
| actor =
| voice_over =
| publisher =
| date = <!-- {{Start date and age|df=n|1999|12|31}} -->
| years =
| genre =
| language =
| system =
| parent_game =
| series =
| players =
| setup_time =
| playing_time =
| random_chance =
| ages =
| skills =
| materials =
| movement =
| media_type =
| blank_label =
| blank_data =
| related =
| website =
| isbn =
| isbn_note =
| footnotes =
}}
Example[edit source]
Years active | c. 1645 to present |
---|---|
Genres | Board game Race game Dice game |
Players | 2 |
Movement | contrary |
Setup time | 10–30 seconds |
Playing time | 5–60 minutes |
Chance | Medium (dice rolling) |
Age range | 5+ |
Skills | Strategy, tactics, counting, probability |
Related games | |
Irish |
{{Infobox game
| italic title = no
| title = Backgammon
| image_link = Backgammon lg.png
| image_caption = A backgammon set comprising a board, two sets of 15 checkers, two pairs of dice, a doubling cube, and dice cups
| years = c. 1645 to present
| genre = [[Board game]] <br />[[Race game]] <br />[[Dice game]]
| players = 2
| movement = [[contrary (tables game)|]]
| setup_time = 10–30 seconds
| playing_time = 5–60 minutes
| random_chance = Medium ([[dice]] rolling)
| ages = 5+
| skills = [[Strategy game|Strategy]], [[Tactic (method)|tactics]], [[counting]], [[probability]]
| related = [[Irish (game)|Irish]]
}}
Parameters[edit source]
Parameter | Explanation |
---|---|
name | Title of the game |
subtitle | Subtitle of the game |
italic title | Set to yes for an italic infobox title (set to no or omit for a normal title) |
logo | Logo for a commercial game, may be resized (format: Example.jpg) |
logo_size | Size to display the logo |
logo_caption | Caption for the logo |
logo_alt | Alt text for the logo |
image | Image relevant to the game, may be resized (format: Example.jpg) |
image_size | Size to display the image |
caption or image_caption | Caption for the image |
image_alt | Alt text for the image |
width | Optional parameter to control the width of the box |
label_width | Optional parameter to control the width of the label column |
other_names | Other name(s) for the game |
manufacturer | Manufacturer(s) of the game |
designer | Designer(s) of the game |
director | Director(s) of the game, if distinct from designer(s) |
illustrator | Illustrator(s) of the game artwork |
writer | Writer(s) of the game, if distinct from designer(s) |
actor | Actor(s) of the game |
voice_over | Voice-over actor(s) of the game |
publisher | Publisher(s) of the game |
date | Publication date of the game (format: {{Start date and age|2000|01|01}} )
|
years | Active years of the game |
genre | Game genre(s); e.g.: "Board game", "Dice game", "Drinking game", "Educational game", "Guessing game", "Hand game", "Paper-and-pencil game", "Race game", "Role-playing game", "Tile-based game", "Wargaming", "Word game", etc. |
language | Available language(s) of the game |
system | System(s) used by the game |
parent_game | The parent game that this game is used with, such as with role-playing game supplement |
series | The series that this game is part of, if distinct from parent game |
players | Number of players |
setup_time | Time it takes to set up the game |
playing_time | Time it takes to play the game |
random_chance | Degree to which random chance comes into play in the game |
related | Links to a related game or games. These should be the closest relative or relatives, not a list of games in the same family |
skills | Skills required to play the game |
ages | Age range intended to play the game |
materials | Materials required to play the game |
movement | The direction of movement e.g. in race gaces. Examples: clockwise, anticlockwise, parallel (i.e. players move in same direction), contrary (i.e. players move in opposing directions as in Backgammon) |
media_type | Media type of the game |
web or website | Official website address of the game |
isbn | ISBN, where applicable, for relevant editions. Format as a string of numbers (do not use {{ISBN}} or {{ISBNT}}); hyphens are optional (10-digit ISBNs may end in "X"). |
isbn_note | List information about the ISBN, or list ISBNs for multiple editions. For multiple ISBNs, list using {{ubl}} and {{ISBNT}}, and specify which edition each ISBN pertains to. If the number of editions grows unwieldy, consider using a table in the article body instead. |
AKA | Game name synonym(s) |
blank_label and blank_data | Label and data for a field not covered by other parameters (e.g., Alcohol used for drinking games like beer pong) |
footnotes | Note(s) |
Tracking categories[edit source]
See also[edit source]
- WP:IB - list of infoboxes
TemplateData[edit source]
TemplateData for Infobox game
Infobox for games.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Italic title | italic title | Add "yes" or "force" if an italic title is required.
| Boolean | optional |
Name | name title | Title of the game
| Content | required |
subject_name | subject_name | no description | Unknown | optional |
Subtitle | subtitle | Subtitle of the game
| String | optional |
logo_link | logo_link | no description | Unknown | optional |
Logo | logo | Logo for a commercial game, may be resized
| File | optional |
Logo size | logo_size | Size to display the logo
| String | optional |
Logo Alt Text | logo_alt | Alt text for the logo | String | optional |
alt | alt | no description | Unknown | optional |
Logo caption | logo_caption | Caption for the logo
| String | optional |
Image | image | Image relevant to the game, may be resized
| File | suggested |
Image Alt Text | image_alt | Alt text for the image | String | optional |
image_link | image_link | no description | Unknown | optional |
Image size | image_size | Size to display the image
| String | optional |
Image caption | caption image_caption | Caption for the image
| String | suggested |
Box width | width | Optional parameter to control the width of the box | Unknown | optional |
Label width | label_width | Optional parameter to control the width of the box | Unknown | optional |
Other name(s) | other_names | Other name(s) for the game | String | optional |
Manufacturer(s) | manufacturer | Manufacturer(s) of the game | String | optional |
Designers | designer | Designer(s) of the game
| String | optional |
Directors | director | Director(s) of the game, if distinct from designer(s) | String | optional |
Illustrator(s) | illustrator | Illustrator(s) of the game artwork | String | optional |
writer | writer | no description | Unknown | optional |
actor | actor | no description | Unknown | optional |
voice_over | voice_over | no description | Unknown | optional |
Publishers | publisher | Publisher(s) of the game
| String | suggested |
Publication | date | Publication date of the game
| Template | suggested |
Years active | years | Active years of the game
| String | optional |
Genres | genre | Game genre(s)
| String | suggested |
language | language | no description | Unknown | optional |
system | system | no description | Unknown | optional |
parent_game | parent_game | no description | Unknown | optional |
series | series | no description | Unknown | optional |
Players | players | Number of players
| String | suggested |
Setup time | setup_time | Time it takes to set up the game
| String | suggested |
Playing time | playing_time | Time it takes to play the game
| String | suggested |
Random chance | random_chance | Degree to which random chance comes into play in the game
| String | suggested |
Age range | ages | Age range intended to play the game
| Number | suggested |
Skills required | skills | Skills required to play the game
| Template | suggested |
materials | materials | no description | Unknown | optional |
media_type | media_type | no description | Unknown | optional |
AKA | AKA | Game name synonym(s) | String | optional |
blank_label | blank_label | no description | Unknown | optional |
blank_data | blank_data | no description | Unknown | optional |
website | website | no description | Unknown | optional |
web | web | no description | Unknown | optional |
isbn | isbn | no description | Unknown | optional |
isbn_note | isbn_note | no description | Unknown | optional |
footnotes | footnotes | no description | Unknown | optional |