Difference between revisions of "Template:Infobox card game"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Tomchen1989 m |
imported>Salix alba (add parameters from Template:Infobox Patience Game following TfD) |
||
| Line 9: | Line 9: | ||
| label2 = Alternative name(s) | | label2 = Alternative name(s) | ||
| data2 = {{{alt_names|}}} | | data2 = {{{alt_names|}}} | ||
| − | | label3 = Type | + | | label3 = Named Variants |
| − | | | + | | data3 = {{{NamedVariants|}}} |
| − | | | + | | label4 = Type |
| − | | | + | | data4 = {{{type|}}} |
| − | | | + | | label5 = Family |
| − | | | + | | data5 = {{{Family|}}} |
| − | | | + | | label6 = Players |
| − | | | + | | data6 = {{{players|}}} |
| − | | | + | | label7 = Skill(s) required |
| − | | | + | | data7 = {{{skills|}}} |
| − | | | + | | label8 = Age range |
| − | | | + | | data8 = {{{ages|}}} |
| − | | | + | | label9 = Cards |
| − | | | + | | data9 = {{{num_cards|}}} |
| − | | | + | | label10 = Deck |
| − | | | + | | data10 = {{{deck|}}} |
| − | | | + | | label11 = Play |
| − | | | + | | data11 = {{{play|}}} |
| − | | | + | | label12 = Card rank (highest to lowest) |
| − | | | + | | data12 = {{{card_rank|}}} |
| − | | | + | | label13 = Playing time |
| − | | | + | | data13 = {{{playing_time|}}} |
| + | | label14 = Random chance | ||
| + | | data14 = {{{random_chance|}}} | ||
| + | | header15 = {{#if:{{{related|}}}|Related games}} | ||
| + | | data16 = {{{related|}}} | ||
| 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 10:02, 3 November 2012
[[Category:Infobox templates|Template:Remove first word]]
| File:Lua-Logo.svg | This template uses Lua: |
Contents
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
| A simple trick-taking game for 3-6 players | |
| Origin | Whist |
|---|---|
| Type | trick-taking |
| Players | 3-6, usually 4 |
| Skill(s) required | Card counting, tactics, communication |
| Age range | 7+ |
| Cards | 52 (51 or 54 for 3 or 6 players, 50 for 5) |
| Deck | Anglo-American |
| Play | Clockwise |
| 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 chance | Low 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 = 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.
| The above documentation is transcluded from Template:Infobox card game/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |