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

From blackwiki
Jump to navigation Jump to search
(added designer and publisher parameters)
imported>Smjg
(→‎Example: update doc to reflect changes)
Line 5: Line 5:
  
 
{{Infobox card game
 
{{Infobox card game
| title = Spades
+
| title         = Spades
| subtitle = A simple trick-taking game for 3-6 players
+
| subtitle     = A simple trick-taking game for 3-6 players
| image_link = [[File:Playing card spade A.svg|150px]]
+
| image_link   = [[File:Playing card spade A.svg|150px]]
 
| image_caption = The [[Ace of Spades|ace of spades]]; the highest-value card in spades play.
 
| image_caption = The [[Ace of Spades|ace of spades]]; the highest-value card in spades play.
| alt_names = Call Bridge
+
| alt_name      = Call Bridge
| type = trick-taking
+
| type         = trick-taking
| players = 3-6, usually 4
+
| players       = 3-6, usually 4
| play = Clockwise
+
| play         = Clockwise
| card_rank = A K Q J 10 9 8 7 6 5 4 3 2, Spades always trump
+
| card_rank     = A K Q J 10 9 8 7 6 5 4 3 2, Spades always trump
| ages = 7+
+
| ages         = 7+
| num_cards = 52-card (51 or 54 for 3 or 6 players, 50 for 5)
+
| num_cards     = 52 (51 or 54 for 3 or 6 players, 50 for 5)
| deck = Anglo-American
+
| deck         = Anglo-American
| origin = [[Whist]]
+
| origin       = [[Whist]]
| related = [[Bid Whist]], [[Oh Hell]], [[Contract Bridge]]
+
| related       = [[Bid whist]], [[Oh Hell]], [[contract bridge]]
| playing_time = ~8 minutes per hand
+
| playing_time = ~8 minutes per hand
| random_chance = Low - Moderate
+
| random_chance = Low to moderate
| skills = [[Card counting]], [[tactic (method)|Tactics]], Communication
+
| skills       = [[Card counting]], [[Tactic (method)|tactics]], communication
| footnotes =
+
| footnotes     =
 
}}
 
}}
 
<pre style="overflow:auto">{{Infobox card game
 
<pre style="overflow:auto">{{Infobox card game
| title = Spades
+
| title         = Spades
| subtitle = A simple trick-taking game for 3-6 players
+
| subtitle     = A simple trick-taking game for 3-6 players
| image_link = [[File:Playing card spade A.svg|150px]]
+
| image_link   = [[File:Playing card spade A.svg|150px]]
 
| image_caption = The [[Ace of Spades|ace of spades]]; the highest-value card in spades play.
 
| image_caption = The [[Ace of Spades|ace of spades]]; the highest-value card in spades play.
| alt_names = Call Bridge
+
| alt_name      = Call Bridge
| NamedVariants =
+
| type         = trick-taking
| type = trick-taking
+
| players       = 3-6, usually 4
| players = 3-6, usually 4
+
| play         = Clockwise
| play = Clockwise
+
| card_rank     = A K Q J 10 9 8 7 6 5 4 3 2, Spades always trump
| card_rank = A K Q J 10 9 8 7 6 5 4 3 2, Spades always trump
+
| ages         = 7+
| ages = 7+
+
| num_cards     = 52 (51 or 54 for 3 or 6 players, 50 for 5)
| num_cards = 52-card (51 or 54 for 3 or 6 players, 50 for 5)
+
| deck         = Anglo-American
| deck = Anglo-American
+
| origin       = [[Whist]]
| origin = [[Whist]]
+
| related       = [[Bid whist]], [[Oh Hell]], [[contract bridge]]
| related = [[Bid Whist]], [[Oh Hell]], [[Contract Bridge]]
+
| playing_time = ~8 minutes per hand
| playing_time = ~8 minutes per hand
+
| random_chance = Low to moderate
| random_chance = Low - Moderate
+
| skills       = [[Card counting]], [[Tactic (method)|tactics]], communication
| skills = [[Card counting]], [[tactic (method)|Tactics]], Communication
+
| footnotes     =
| footnotes =
 
 
}}</pre>
 
}}</pre>
 +
 +
=== Full usage ===
 +
<pre style="overflow:auto">{{Infobox card game
 +
| title        =
 +
| subtitle      =
 +
| image_link    = [[File:Playing card spade A.svg]]
 +
| image_caption =
 +
| alt_name      =
 +
| named_variant =
 +
| designer      =
 +
| publisher    =
 +
| type          =
 +
| family        =
 +
| players      =
 +
| ages          =
 +
| num_cards    =
 +
| deck          =
 +
| play          =
 +
| card_rank    =
 +
| origin        =
 +
| related      =
 +
| playing_time  =
 +
| random_chance =
 +
| skills        =
 +
| website      =
 +
| footnotes    =
 +
}}</pre>
 +
The parameters <tt>alt_name</tt>, <tt>named_variant</tt>, <tt>designer</tt> and <tt>publisher</tt> have variants <tt>alt_names</tt>, <tt>named_variants</tt>, <tt>designers</tt> and <tt>publishers</tt>, which simply cause their respective labels to be in the plural form.
  
 
=== Full Usage ===
 
=== Full Usage ===

Revision as of 12:39, 24 October 2015

Example

Spades
A simple trick-taking game for 3-6 players
150px
The ace of spades; the highest-value card in spades play.
OriginWhist
Alternative nameCall Bridge
Typetrick-taking
Players3-6, usually 4
Skills requiredCard counting, tactics, communication
Age range7+
Cards52 (51 or 54 for 3 or 6 players, 50 for 5)
DeckAnglo-American
PlayClockwise
Card rank (highest first)A K Q J 10 9 8 7 6 5 4 3 2, Spades always trump
Playing time~8 minutes per hand
Random chanceLow to moderate
Related games
Bid whist, Oh Hell, contract bridge
{{Infobox card game
| title         = Spades
| subtitle      = A simple trick-taking game for 3-6 players
| image_link    = [[File:Playing card spade A.svg|150px]]
| image_caption = The [[Ace of Spades|ace of spades]]; the highest-value card in spades play.
| alt_name      = Call Bridge
| type          = trick-taking
| players       = 3-6, usually 4
| play          = Clockwise
| card_rank     = A K Q J 10 9 8 7 6 5 4 3 2, Spades always trump
| ages          = 7+
| num_cards     = 52 (51 or 54 for 3 or 6 players, 50 for 5)
| deck          = Anglo-American
| origin        = [[Whist]]
| related       = [[Bid whist]], [[Oh Hell]], [[contract bridge]]
| playing_time  = ~8 minutes per hand
| random_chance = Low to moderate
| skills        = [[Card counting]], [[Tactic (method)|tactics]], communication
| footnotes     =
}}

Full usage

{{Infobox card game
| title         =
| subtitle      = 
| image_link    = [[File:Playing card spade A.svg]]
| image_caption = 
| alt_name      =
| named_variant = 
| designer      = 
| publisher     = 
| type          = 
| family        = 
| players       = 
| ages          = 
| num_cards     = 
| deck          = 
| play          = 
| card_rank     =
| origin        =
| related       =
| playing_time  = 
| random_chance = 
| skills        = 
| website       = 
| footnotes     =
}}

The parameters alt_name, named_variant, designer and publisher have variants alt_names, named_variants, designers and publishers, which simply cause their respective labels to be in the plural form.

Full Usage

{{Infobox card game
| title =
| subtitle = 
| image_link = [[File:Playing card spade A.svg]]
| image_caption = 
| alt_names =
| NamedVariants = 
| designer = 
| publisher = 
| type = 
| Family = 
| players = 
| ages = 
| num_cards = 
| deck = 
| play = 
| card_rank =
| origin =
| related =
| playing_time = 
| random_chance = 
| skills = 
| website = 
| footnotes =
}}
  • NamedVariants: Names of variant games that are listed on this page (rules must be different, even if only slightly)

See also

For more information, see the talk page.