Difference between revisions of "Template:Infobox card game"

From blackwiki
Jump to navigation Jump to search
(fix indentation)
imported>Smjg
((s) looks very stupid - define parameters for singular/plural forms; caP; fix inconsistently named parameters)
Line 7: Line 7:
 
| label1        = Origin
 
| label1        = Origin
 
| data1          = {{{origin|}}}
 
| data1          = {{{origin|}}}
| label2        = Alternative name(s)
+
| label2        = Alternative names
 
| data2          = {{{alt_names|}}}
 
| data2          = {{{alt_names|}}}
| label3        = Named Variants
+
| label3         = Alternative name
| data3         = {{{NamedVariants|}}}
+
| data3          = {{{alt_name|}}}
| label4         = [[Game designer|Designer(s)]]
+
| label4         = Named variants
| data4         = {{{designer|}}}
+
| data4         = {{{named_variants|{{{NamedVariants|}}}}}}
| label5         = Publisher(s)
+
| label5        = Named variant
| data5         = {{{publisher|}}}
+
| data5          = {{{named_variant}}}
| label6         = Type
+
| label6         = [[Game designer|Designer]]
| data6         = {{{type|}}}
+
| data6         = {{{designer|}}}
| label7         = Family
+
| label7        = [[Game designer|Designers]]
| data7          = {{{Family|}}}
+
| data7          = {{{designers|}}}
| label8        = Players
+
| label8         = Publisher
| data8          = {{{players|}}}
+
| data8         = {{{publisher|}}}
| label9         = Skill(s) required
+
| label9         = Publishers
| data9          = {{{skills|}}}
+
| data9         = {{{publishers|}}}
| label10       = Age range
+
| label10        = Type
| data10         = {{{ages|}}}
+
| data10         = {{{yype|}}}
| label11       = Cards
+
| label11        = Family
| data11         = {{{num_cards|}}}
+
| data11        = {{{family|{{{Family|}}}}}}
| label12       = Deck
+
| label12        = Players
| data12         = {{{deck|}}}
+
| data12        = {{{players|}}}
| label13       = Play
+
| label13        = Skills required
| data13         = {{{play|}}}
+
| data13         = {{{skills|}}}
| label14       = Card rank (highest to lowest)
+
| label14        = Skill required
| data14         = {{{card_rank|}}}
+
| data14        = {{{skill|}}}
| label15       = Playing time
+
| label15       = Age range
| data15         = {{{playing_time|}}}
+
| data15         = {{{ages|}}}
| label16       = Random chance
+
| label16       = Cards
| data16         = {{{random_chance|}}}
+
| data16         = {{{num_cards|}}}
| header17       = {{#if:{{{related|}}}|Related games}}
+
| label17       = Deck
| data18         = {{{related|}}}
+
| data17         = {{{deck|}}}
| label19       = Website
+
| label18       = Play
| data19         = {{{website|{{{web|}}}}}}
+
| data18         = {{{play|}}}
 +
| label19       = Card rank (highest to lowest)
 +
| data19         = {{{card_rank|}}}
 +
| label20       = Playing time
 +
| data20         = {{{playing_time|}}}
 +
| label21       = Random chance
 +
| data21         = {{{random_chance|}}}
 +
| header22       = {{#if:{{{related|}}}|Related games}}
 +
| data22         = {{{related|}}}
 +
| label23       = Website
 +
| data23         = {{{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 12:23, 24 October 2015

Named variant{{{named_variant}}}

[[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
Alternative nameCall Bridge
Named variant{{{named_variant}}}
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 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
[[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.