Difference between revisions of "Template:Infobox card game"

From blackwiki
Jump to navigation Jump to search
(added designer and publisher parameters)
Line 11: Line 11:
 
| label3        = Named Variants
 
| label3        = Named Variants
 
| data3          = {{{NamedVariants|}}}
 
| data3          = {{{NamedVariants|}}}
| label4        = Type
+
| label4     = [[Game designer|Designer(s)]]
| data4         = {{{type|}}}
+
| data4      = {{{designer|}}}
| label5         = Family
+
| label5    = Publisher(s)
| data5         = {{{Family|}}}
+
| data5      = {{{publisher|}}}
| label6         = Players
+
| label6         = Type
| data6         = {{{players|}}}
+
| data6         = {{{type|}}}
| label7         = Skill(s) required
+
| label7         = Family
| data7         = {{{skills|}}}
+
| data7         = {{{Family|}}}
| label8        = Age range
+
| label8         = Players
| data8          = {{{ages|}}}
+
| data8         = {{{players|}}}
| label9        = Cards
+
| label9         = Skill(s) required
| data9          = {{{num_cards|}}}
+
| data9         = {{{skills|}}}
| label10       = Deck
+
| label10        = Age range
| data10         = {{{deck|}}}
+
| data10        = {{{ages|}}}
| label11       = Play
+
| label11        = Cards
| data11         = {{{play|}}}
+
| data11        = {{{num_cards|}}}
| label12       = Card rank (highest to lowest)
+
| label12       = Deck
| data12         = {{{card_rank|}}}
+
| data12         = {{{deck|}}}
| label13       = Playing time
+
| label13       = Play
| data13         = {{{playing_time|}}}
+
| data13         = {{{play|}}}
| label14       = Random chance
+
| label14       = Card rank (highest to lowest)
| data14         = {{{random_chance|}}}
+
| data14         = {{{card_rank|}}}
| header15       = {{#if:{{{related|}}}|Related games}}
+
| label15       = Playing time
| data16         = {{{related|}}}
+
| data15         = {{{playing_time|}}}
| label17       = Website
+
| label16       = Random chance
| data17         = {{{website|{{{web|}}}}}}
+
| data16         = {{{random_chance|}}}
 +
| header17       = {{#if:{{{related|}}}|Related games}}
 +
| data18         = {{{related|}}}
 +
| label19       = Website
 +
| data19         = {{{website|{{{web|}}}}}}
 
| below          = {{{footnotes|}}}
 
| below          = {{{footnotes|}}}
 
}}<noinclude>{{Documentation}}<!-- please add category and language links to the /doc sub-page, not here --></noinclude>
 
}}<noinclude>{{Documentation}}<!-- please add category and language links to the /doc sub-page, not here --></noinclude>

Revision as of 20:23, 26 September 2014

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Template:Parameter names example

{{Infobox card game
| title         =
| subtitle      = 
| image         = 
| image_size    = 
| alt           =
| caption       = 
| alt_name      =
| named_variant = <!-- names of variant games that are listed on this page (rules must be different, even if only slightly) -->
| designer      = 
| publisher     = 
| date          = <!-- {{Start date and age|df=n|1999|12|31}} -->
| 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.

Example

Spades
A simple trick-taking game for 3-6 players
OriginWhist
Typetrick-taking
Players3-6, usually 4
Skill(s) requiredCard counting, tactics, communication
Age range7+
Cards52 (51 or 54 for 3 or 6 players, 50 for 5)
DeckAnglo-American
PlayClockwise
Card rank (highest to lowest)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
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox card game
| title         = Spades
| subtitle      = A simple trick-taking game for 3-6 players
| image         = Playing card spade A.svg
| image_size    = 150px
| alt           =
| 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     =
}}

Tracking category

See also

For more information, see the talk page.