Difference between revisions of "Template:Infobox game/doc"

From blackwiki
Jump to navigation Jump to search
(+ja)
imported>Elliot321
(infobox rpg redirects here)
 
(78 intermediate revisions by 36 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!-- Place categories where indicated at bottom of page and interwikis at Wikidata -->
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
  
For more information, see the [[Wikipedia talk:WikiProject Games/Infobox|talk page]].
+
This is an infobox template for a game article. If an italic title is required, add {{para|italic title|yes}} or {{para|italic title|force}} to the list of parameters, and use <nowiki>''&nbsp;''</nowiki> around the title in the infobox.
  
==Usage==
+
If the article is about a [[card game]], you may use {{tl|Infobox card game}}; if the article is about a [[video game]], use {{tl|Infobox video game}} instead.
 +
 
 +
== Usage ==
 +
 
 +
=== Common usage ===
 +
<pre style="overflow: auto;">
 
{{Infobox game
 
{{Infobox game
| title        = Warhammer 40,000
+
| name =  
| image_link    = [[Image:replace this image.svg|150px]]
+
| image =  
| image_caption = Cover of the 4th edition ''Warhammer 40,000'' rulebook
+
| caption =  
| designer      = [[Rick Priestley]] and others
+
| years =  
| publisher    = [[Games Workshop]]
+
| genre =  
| years        = 1987 to present
+
| players =  
| players       = 2+
+
| setup_time =  
| ages          = 12+
+
| playing_time =  
| setup_time   = 5 - 30 minutes
+
| random_chance =  
| playing_time = No exact time
+
| skills =  
| random_chance = [[Dice|Dice rolling]]
 
| skills       = [[Strategy]], [[Arithmetic]]
 
| web          = http://www.games-workshop.com/
 
 
}}
 
}}
 +
</pre>
  
<pre style="overflow: auto">
+
=== Full usage ===
 +
<pre style="overflow: auto;">
 
{{Infobox game
 
{{Infobox game
| title        =  
+
| name =  
| subtitle     =  
+
| subtitle =  
| image_link    = <!-- the image name and size in the form [[Image:|size]] -->
+
| image =
| image_caption = <!-- as appropriate--->
+
| image_size =
| manufacturer =  
+
| image_alt =
| designer     =  
+
| caption =
| illustrator   =  
+
| width =
| publisher     =  
+
| label_width =  
| date         = <!-- publication date -->
+
| other_names =
| years         = <!-- years active -->
+
| AKA =  
| genre         =  
+
| manufacturer =  
| system       =  
+
| designer =  
| players       =  
+
| illustrator =
| ages         = <!-- age range -->
+
| writer =
| setup_time   =  
+
| actor =
| playing_time =  
+
| voice_over =  
| random_chance =  
+
| publisher =  
| skills       =  
+
| date = <!-- {{Start date and age|df=n|1999|12|31}} -->
| web          =  
+
| years =  
| footnotes    =  
+
| genre =
 +
| language =  
 +
| system =
 +
| parent_game =
 +
| series =
 +
| players =
 +
| setup_time =
 +
| playing_time =
 +
| random_chance =
 +
| ages =  
 +
| skills =
 +
| materials =
 +
| media_type =
 +
| blank_label =
 +
| blank_data =
 +
| website =
 +
| isbn =
 +
| isbn_note =
 +
| footnotes =
 +
}}
 +
</pre>
 +
 
 +
=== Example ===
 +
{{Infobox game
 +
| italic title = no
 +
| title = Backgammon
 +
| image_link = Backgammon lg.png
 +
| image_caption = A backgammon set, consisting of a board, two sets of 15 checkers, two pairs of dice, a doubling cube, and dice cups
 +
| years = Approximately 5,000 years ago to present
 +
| genre = [[Board game]] <br />[[Race game]] <br />[[Dice game]]
 +
| players = 2
 +
| 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]]
 +
}}
 +
<pre style="overflow: auto;">
 +
{{Infobox game
 +
| italic title = no
 +
| title = Backgammon
 +
| image_link = Backgammon lg.png
 +
| image_caption = A backgammon set, consisting of a board, two sets of 15 checkers, two pairs of dice, a doubling cube, and dice cups
 +
| years = Approximately 5,000 years ago to present
 +
| genre = [[Board game]] <br />[[Race game]] <br />[[Dice game]]
 +
| players = 2
 +
| 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]]
 
}}
 
}}
 
</pre>
 
</pre>
  
==See also==
+
=== Parameters ===
<includeonly><!--
+
{| class="wikitable"
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
+
! style="text-align: left" | Parameter
 +
! style="text-align: left" | Explanation
 +
|-
 +
| name
 +
| Title of the game
 +
|-
 +
| subtitle
 +
| Subtitle of the game
 +
|-
 +
| image
 +
| Image relevant to the game, may be resized (format: <nowiki>Example.jpg</nowiki>)
 +
|-
 +
| caption
 +
| [[Wikipedia:Manual of Style/Captions|Caption]] explaining 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
 +
|-
 +
| 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: {{tlx|Start date and age|mf=yes|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
 +
|-
 +
| skills
 +
| Skills required to play the game
 +
|-
 +
| materials
 +
| Materials required to play the game
 +
|-
 +
| 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 {{tl|ISBN}} or {{tl|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 {{t|ubl}} and {{tl|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 game]]s like [[beer pong]])
 +
|-
 +
| footnotes
 +
| Note(s)
 +
|}
  
[[Category:Game infobox templates| ]]
+
== Tracking categories ==
 +
* {{clc|Pages using infobox game with unknown parameters}}
  
[[de:Vorlage:Infobox Spiel]]
+
== See also ==
[[eo:Ŝablono:Informkesto ludo]]
+
* [[WP:IB]] - list of infoboxes
[[es:Plantilla:Infobox Juego]]
 
[[fr:Modèle:Ludobox]]
 
[[hsb:Předłoha:Infokašćik hra]]
 
[[it:Template:Infobox Gioco]]
 
[[ja:Template:Infobox game]]
 
[[la:Formula:Infobox Game]]
 
[[lt:Šablonas:Infobox Žaidimas]]
 
[[hu:Sablon:Játék infobox]]
 
[[mk:Шаблон:Инфокутија-игра]]
 
[[ml:ഫലകം:Infobox Game]]
 
[[nl:Sjabloon:Bordspel]]
 
[[fi:Malline:Lautapeli]]
 
[[pl:Szablon:Gra infobox]]
 
[[zh:Template:Infobox Game]]
 
  
</includeonly>
+
<includeonly>{{Sandbox other|
 +
| <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: -->
 +
[[Category:Game infobox templates| ]]
 +
[[Category:Templates that add a tracking category]]
 +
}}</includeonly>
 +
<templatedata>
 +
{
 +
"params": {},
 +
"format": "block"
 +
}
 +
</templatedata>

Latest revision as of 22:49, 20 January 2021

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 '' '' 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

Common usage

{{Infobox game
| name = 
| image = 
| caption = 
| years = 
| genre = 
| players = 
| setup_time = 
| playing_time = 
| random_chance = 
| skills = 
}}

Full usage

{{Infobox game
| name = 
| subtitle = 
| image = 
| image_size = 
| image_alt = 
| caption = 
| width = 
| label_width = 
| other_names = 
| AKA = 
| manufacturer = 
| designer = 
| 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 = 
| media_type = 
| blank_label = 
| blank_data = 
| website = 
| isbn =
| isbn_note = 
| footnotes = 
}}

Example

Script error: No such module "If empty".
Backgammon lg.png
A backgammon set, consisting of a board, two sets of 15 checkers, two pairs of dice, a doubling cube, and dice cups
Years activeApproximately 5,000 years ago to present
Genre(s)Board game
Race game
Dice game
Players2
Setup time10–30 seconds
Playing time5–60 minutes
Random chanceMedium (dice rolling)
Age range5+
Skill(s) requiredStrategy, tactics, counting, probability
{{Infobox game
| italic title = no
| title = Backgammon
| image_link = Backgammon lg.png
| image_caption = A backgammon set, consisting of a board, two sets of 15 checkers, two pairs of dice, a doubling cube, and dice cups
| years = Approximately 5,000 years ago to present
| genre = [[Board game]] <br />[[Race game]] <br />[[Dice game]]
| players = 2
| 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]]
}}

Parameters

Parameter Explanation
name Title of the game
subtitle Subtitle of the game
image Image relevant to the game, may be resized (format: Example.jpg)
caption Caption explaining 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
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
skills Skills required to play the game
materials Materials required to play the game
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 Template:T 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

See also

  • WP:IB - list of infoboxes


No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified