Difference between revisions of "Template:Infobox card game/doc"
Jump to navigation
Jump to search
imported>Hyju |
imported>Jonesey95 |
||
| (13 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
| + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
| − | == | + | == Usage == |
| + | {{Parameter names example | title | subject_name | subtitle | image | image_link | image_size | image size | imagesize | alt | caption | image_caption | origin | alt_names | alt_name | named_variants | NamedVariants | named_variant | designer | designers | publisher | publishers | date | type | family | Family | players | skills | skill | ages | num_cards | deck | play | card_rank | playing_time | random_chance | related | website | web | footnotes }} | ||
| + | <pre style="overflow:auto"> | ||
{{Infobox card game | {{Infobox card game | ||
| − | | title = Spades | + | | title = |
| − | | subtitle = A simple trick-taking game for 3-6 players | + | | subtitle = |
| − | | | + | | image = |
| − | | | + | | image_size = |
| − | | | + | | alt = |
| − | | type = trick-taking | + | | caption = |
| − | | players = 3-6, usually 4 | + | | alt_name = |
| − | | play = Clockwise | + | | named_variant = <!-- names of variant games that are listed on this page (rules must be different, even if only slightly) --> |
| − | | card_rank = A K Q J 10 9 8 7 6 5 4 3 2, Spades always trump | + | | designer = |
| − | | ages = 7+ | + | | publisher = |
| − | | num_cards = 52 | + | | date = <!-- {{Start date and age|df=n|1999|12|31}} --> |
| − | | deck = Anglo-American | + | | type = |
| − | | origin = [[Whist]] | + | | family = |
| − | | related = [[Bid | + | | players = |
| − | | playing_time = ~8 minutes per hand | + | | ages = |
| − | | random_chance = Low | + | | num_cards = |
| − | | skills = [[Card counting]], [[ | + | | deck = |
| − | | footnotes = | + | | play = |
| + | | card_rank = | ||
| + | | origin = | ||
| + | | related = | ||
| + | | playing_time = | ||
| + | | random_chance = | ||
| + | | skills = | ||
| + | | website = | ||
| + | | footnotes = | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | The parameters <code>alt_name</code>, <code>named_variant</code>, <code>designer</code> and <code>publisher</code> have variants <code>alt_names</code>, <code>named_variants</code>, <code>designers</code> and <code>publishers</code>, which simply cause their respective labels to be in the plural form. | ||
| + | {{clear}} | ||
| + | |||
| + | == Example == | ||
| + | |||
| + | {{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 = | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | <pre style="overflow:auto"> | |
| − | <pre style="overflow:auto">{{Infobox card game | + | {{Infobox card game |
| − | | title = | + | | title = Spades |
| − | | subtitle = | + | | subtitle = A simple trick-taking game for 3-6 players |
| − | | | + | | image = Playing card spade A.svg |
| − | | | + | | image_size = 150px |
| − | + | | alt = | |
| − | | type = | + | | caption = The [[Ace of Spades|ace of spades]]; the highest-value card in spades play. |
| − | | players = | + | | 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+ |
| − | | origin = | + | | num_cards = 52 (51 or 54 for 3 or 6 players, 50 for 5) |
| − | | related = | + | | deck = Anglo-American |
| − | | playing_time = | + | | origin = [[Whist]] |
| − | | random_chance = | + | | related = [[Bid whist]], [[Oh Hell]], [[contract bridge]] |
| − | | skills = | + | | playing_time = ~8 minutes per hand |
| − | | footnotes = | + | | random_chance = Low to moderate |
| − | }}</pre> | + | | skills = [[Card counting]], [[Tactic (method)|tactics]], communication |
| + | | footnotes = | ||
| + | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
| + | |||
| + | == Tracking category == | ||
| + | * {{clc|Pages using infobox card game with unknown parameters}} | ||
| − | + | == See also == | |
For more information, see the [[Wikipedia talk:WikiProject Games/Infobox|talk page]]. | For more information, see the [[Wikipedia talk:WikiProject Games/Infobox|talk page]]. | ||
| − | <includeonly> | + | <includeonly>{{sandbox other|| |
| − | <!-- | + | <!-- Categories below this line, please; interwikis at Wikidata --> |
| − | |||
[[Category:Game infobox templates|Card]] | [[Category:Game infobox templates|Card]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | </includeonly> | ||
Latest revision as of 17:03, 24 May 2020
| This is a documentation subpage for Template:Infobox card game. It contains usage information, categories and other content that is not part of the original template page. |
| 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 | |
The ace of spades; the highest-value card in spades play. | |
| Origin | Whist |
|---|---|
| Alternative name | Call Bridge |
| Type | trick-taking |
| Players | 3-6, usually 4 |
| Skills 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 first) | 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.