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

From blackwiki
Jump to navigation Jump to search
imported>The Evil IP address
(rm placeholder)
imported>Tomchen1989
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 +
This is an infobox template for a game article.
  
For more information, see the [[Wikipedia talk:WikiProject Games/Infobox|talk page]].
+
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==
 
==Usage==
 +
===Common usage===
 +
<pre style="overflow: auto;">
 
{{Infobox game
 
{{Infobox game
| title        = Warhammer 40,000
+
| title        =  
| image_link    =  
+
| image_link    = <!-- [[File:Example.jpg|200px]] -->
| image_caption = Cover of the 4th edition ''Warhammer 40,000'' rulebook
+
| image_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        =  
 
| title        =  
 
| subtitle      =  
 
| subtitle      =  
| image_link    = <!-- the image name and size in the form [[File:|size]] -->
+
| image_link    = <!-- [[File:Example.jpg|200px]] -->
| image_caption = <!-- as appropriate--->
+
| image_caption =  
 +
| width        =
 +
| label_width  =
 
| manufacturer  =  
 
| manufacturer  =  
 
| designer      =  
 
| designer      =  
 
| illustrator  =  
 
| illustrator  =  
 +
| actor        =
 +
| voice_over    =
 
| publisher    =  
 
| publisher    =  
| date          = <!-- publication date -->
+
| date          = <!-- {{release date and age|mf=yes|2000|01|01}} -->
| years        = <!-- years active -->
+
| years        =  
 
| genre        =  
 
| genre        =  
 
| language      =  
 
| language      =  
 
| system        =  
 
| system        =  
 
| players      =  
 
| players      =  
| ages          = <!-- age range -->
+
| ages          =  
 
| setup_time    =  
 
| setup_time    =  
 
| playing_time  =  
 
| playing_time  =  
Line 47: Line 53:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
===Example===
 +
{{Infobox game
 +
| title        = Backgammon
 +
| image_link    = [[File:Backgammon lg.jpg|240px]]
 +
| image_caption = A backgammon set
 +
| years        = approximately 5,000 years ago to present
 +
| genre        = [[Board game]], [[dice game]]
 +
| players      = 2
 +
| setup_time    = 10–30 seconds
 +
| playing_time  = 5-30 minutes
 +
| random_chance = Medium ([[Dice|dice rolling]])
 +
| skills        = [[Counting]], [[Tactic (method)|tactics]], [[strategy]], [[probability]]
 +
}}
 +
<pre style="overflow: auto;">
 +
{{Infobox game
 +
| title        = Backgammon
 +
| image_link    = [[File:Backgammon lg.jpg|240px]]
 +
| image_caption = A backgammon set
 +
| years        = approximately 5,000 years ago to present
 +
| genre        = [[Board game]], [[dice game]]
 +
| players      = 2
 +
| setup_time    = 10–30 seconds
 +
| playing_time  = 5-30 minutes
 +
| random_chance = Medium ([[Dice|dice rolling]])
 +
| skills        = [[Counting]], [[Tactic (method)|tactics]], [[strategy]], [[probability]]
 +
}}
 +
</pre>
 +
 +
===Parameters===
 +
{| class="wikitable"
 +
! style="text-align: left" | Parameter
 +
! style="text-align: left" | Explanation
 +
|-
 +
| title
 +
| The title of the game.
 +
|-
 +
| subtitle
 +
| A subtitle of the game.
 +
|-
 +
| image_link
 +
| An image relevant to the game. May be resized. Format: <nowiki>[[File:Example.jpg|200px]]</nowiki>
 +
|-
 +
| image_caption
 +
| A [[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.
 +
|-
 +
| manufacturer
 +
| The manufacturer(s) of the game.
 +
|-
 +
| designer
 +
| The designer(s) of the game.
 +
|-
 +
| illustrator
 +
| The illustrator(s) of the game artwork.
 +
|-
 +
| actor
 +
| The actor(s) of the game.
 +
|-
 +
| voice_over
 +
| The voice-over actor(s) of the game.
 +
|-
 +
| publisher
 +
| The publisher(s) of the game.
 +
|-
 +
| date
 +
| The publication date of the game. Format: <nowiki>{{release date and age|mf=yes|2000|01|01}}</nowiki>
 +
|-
 +
| years
 +
| The active years of the game.
 +
|-
 +
| genre
 +
| The game genre. It may be: "[[board game]]", "[[dice game]]", "[[paper-and-pencil game]]", "[[hand game]]", etc.
 +
|-
 +
| language
 +
| The available language(s) of the game.
 +
|-
 +
| system
 +
| The system(s) used by the game.
 +
|-
 +
| players
 +
| The number of players.
 +
|-
 +
| ages
 +
| The age range for the game.
 +
|-
 +
| setup_time
 +
| The time it takes to set up the game.
 +
|-
 +
| playing_time
 +
| The time it takes to play the game.
 +
|-
 +
| random_chance
 +
| The degree to which random chance comes into play in the game.
 +
|-
 +
| skills
 +
| The skills required to play the game.
 +
|-
 +
| media_type
 +
| The media type of the game.
 +
|-
 +
| web
 +
| The official website address of the game.
 +
|-
 +
| footnotes
 +
| Any footnotes.
 +
|-
 +
|}
  
 
==See also==
 
==See also==

Revision as of 14:50, 25 October 2011

This is an infobox template for a game article.

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
| title         = 
| image_link    = <!-- [[File:Example.jpg|200px]] -->
| image_caption = 
| years         = 
| genre         = 
| players       = 
| setup_time    = 
| playing_time  = 
| random_chance = 
| skills        = 
}}

Full usage

{{Infobox game
| title         = 
| subtitle      = 
| image_link    = <!-- [[File:Example.jpg|200px]] -->
| image_caption = 
| width         = 
| label_width   = 
| manufacturer  = 
| designer      = 
| illustrator   = 
| actor         = 
| voice_over    = 
| publisher     = 
| date          = <!-- {{release date and age|mf=yes|2000|01|01}} -->
| years         = 
| genre         = 
| language      = 
| system        = 
| players       = 
| ages          = 
| setup_time    = 
| playing_time  = 
| random_chance = 
| skills        = 
| media_type    = 
| web           = 
| footnotes     = 
}}

Example

Script error: No such module "If empty".
Backgammon lg.jpg
A backgammon set
Years activeapproximately 5,000 years ago to present
Genre(s)Board game, dice game
Players2
Setup time10–30 seconds
Playing time5-30 minutes
Random chanceMedium (dice rolling)
Skill(s) requiredCounting, tactics, strategy, probability
{{Infobox game
| title         = Backgammon
| image_link    = [[File:Backgammon lg.jpg|240px]]
| image_caption = A backgammon set
| years         = approximately 5,000 years ago to present
| genre         = [[Board game]], [[dice game]]
| players       = 2
| setup_time    = 10–30 seconds
| playing_time  = 5-30 minutes
| random_chance = Medium ([[Dice|dice rolling]])
| skills        = [[Counting]], [[Tactic (method)|tactics]], [[strategy]], [[probability]]
}}

Parameters

Parameter Explanation
title The title of the game.
subtitle A subtitle of the game.
image_link An image relevant to the game. May be resized. Format: [[File:Example.jpg|200px]]
image_caption A 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.
manufacturer The manufacturer(s) of the game.
designer The designer(s) of the game.
illustrator The illustrator(s) of the game artwork.
actor The actor(s) of the game.
voice_over The voice-over actor(s) of the game.
publisher The publisher(s) of the game.
date The publication date of the game. Format: {{release date and age|mf=yes|2000|01|01}}
years The active years of the game.
genre The game genre. It may be: "board game", "dice game", "paper-and-pencil game", "hand game", etc.
language The available language(s) of the game.
system The system(s) used by the game.
players The number of players.
ages The age range for the game.
setup_time The time it takes to set up the game.
playing_time The time it takes to play the game.
random_chance The degree to which random chance comes into play in the game.
skills The skills required to play the game.
media_type The media type of the game.
web The official website address of the game.
footnotes Any footnotes.

See also