Difference between revisions of "Template:Infobox"

From Dvorak - A Blank-Card Game
Jump to navigationJump to search
(Added playability, and some extra code)
Line 11: Line 11:
! Players
! Players
| {{{players|Unknown}}}
| {{{players|Unknown}}}
|-
! Playability status
| {{#switch: {{{playability}}}
| Abandoned = This is an [[:Category:Abandoned decks|'''abandoned''' deck]]. It is not playable (presumably due to being incomplete). [[Category:Abandoned decks]]
| Unplayable = This is an [[:Category:Unplayable decks|'''unplayable''' deck]]. It is not playable (presumably due to being incomplete). [[Category:Unplayable decks]]
| Untested = This is an [[:Category:Untested decks|'''untested''' deck]]. Its cards are complete, but it hasn't yet been tested. [[Category:Untested decks]]
| Playable = This is a [[:Category:Playable decks|'''playable''' deck]] - it's finished, tested and ready to play. [[Category:Playable decks]]
| Proven = This is a [[:Category:Playable decks|'''playable''' deck]] - it's finished, tested and ready to play. [[Category:Playable decks]]
| Polished = This is a [[:Category:Playable decks|'''playable''' deck]] - it's finished, tested and ready to play. [[Category:Playable decks]]
| Star = [[Image:Star.gif|32px|right]] This is a [[:Category:Star decks|'''star''' deck]]. It's playable, and has been selected as one of the best decks on the site. [[Category:Star decks]]
| This deck has not been categorised. <includeonly>[[Category:Uncategorised decks]]</includeonly>
}}
{{ #if: {{{playability|Abandoned}}}||
|-
! Completion status
| {{#switch: {{{completion}}}
| Unfinished = This is an [[:Category:Unfinished decks|'''unfinished''' deck]]. It is incomplete. [[Category:Unfinished decks]]
| Finished = This is an [[:Category:Finished decks|'''finished''' deck]]. It is complete. [[Category:Finished decks]]
}}
|-
! Additional Ruleset
| {{#switch: {{{advancedruleset}}}
| Physical Challenge = This game also uses the rules in [[Additional Rules - Physical Challenge]]  [[Category:Physical Challenge]]
}}
|-
| colspan="2" style="background:#eee;text-align:center;padding:8px" | {{#switch: {{{mechanic}}}
| {{#switch: {{{mechanic}}}
| Nomic = This is a [[:Category:Nomic decks|'''Nomic''' deck]], created as a self-referential competitive game. It is not intended to be replayable. [[Category:Nomic decks]]
| CCG set = This is a [[:Category:CCG sets|'''CCG set''']], a set of cards which can be used to construct personalised decks, in the style of a collectable card game. [[Category:CCG sets]]
| CCG deck = This is a [[:Category:CCG decks|'''CCG deck''']], a deck of cards constructed from a [[:Category:CCG sets|'''CCG set''']], to be played against other decks from that set. [[Category:CCG decks]]
}}
|-  
|-  
| colspan="2" style="background:#eee;text-align:center;padding:8px" | {{#switch: {{{status}}}
| colspan="2" style="background:#eee;text-align:center;padding:8px" | {{#switch: {{{status}}}
Line 26: Line 57:
  | This deck has not been categorised. <includeonly>[[Category:Uncategorised decks]]</includeonly>
  | This deck has not been categorised. <includeonly>[[Category:Uncategorised decks]]</includeonly>
}}
}}
 
}} <!--end "if abandoned" -->
|-  
|-  
| colspan="2" style="padding:8px; font-size:0.9em; text-align:right" | {{ #if: {{{unlocked|}}}|
| colspan="2" style="padding:8px; font-size:0.9em; text-align:right" | {{ #if: {{{unlocked|}}}|
Line 39: Line 70:
[[Image:Cards.gif]] [http://dvorakgame.co.uk/export.php?deck={{PAGENAMEE}}&style=lackey Generate Lackey export]
[[Image:Cards.gif]] [http://dvorakgame.co.uk/export.php?deck={{PAGENAMEE}}&style=lackey Generate Lackey export]


{{#ifeq:  {{{status}}}|CCG set|[[Image:Mtgcard.gif]] [http://dvorakgame.co.uk/export.php?deck={{PAGENAMEE}}&style=csv Generate Apprentice CSV]}}
{{#ifeq:  {{{mechanic}}}|CCG set|[[Image:Mtgcard.gif]] [http://dvorakgame.co.uk/export.php?deck={{PAGENAMEE}}&style=csv Generate Apprentice CSV]}}
|}
|}
<includeonly>[[Category:Decks]]</includeonly><noinclude>
<includeonly>[[Category:Decks]]</includeonly><noinclude>
Line 57: Line 88:
| date =
| date =
| players =
| players =
| status =
| playability =
| completion =
| mechanic =
| advancedruleset =  
| unlocked =
| unlocked =
}}</pre>
}}</pre>
Line 71: Line 105:
'''players''' is the number of players that the deck is suited to. If left blank it defaults to "unknown".
'''players''' is the number of players that the deck is suited to. If left blank it defaults to "unknown".


'''status''' is the development status of the deck: its value can be "unfinished", "untested", "playable", "nomic", "CCG set", "CCG deck", "star", "subpage" or "unfinishedplayable".
'''playability''' is the playability status of the deck: its value can be "abandoned", "unplayable", "untested", "playable", "proven", "polished", "star".
 
'''status''' is the development status of the deck: its value can be "unfinished", "nomic", "CCG set", "CCG deck", "subpage" or "unfinishedplayable".


'''unlocked''' defines whether site visitors are encouraged from contributing cards, or not. If set to "true", visitors are told "This deck is '''under construction'''. Anyone is welcome to contribute - check the talk page to find out more." - if left blank, visitors are warned that "This deck is '''locked'''. Further cards should not be added - if you have any suggestions, you can leave them on the talk page for the deck creator."
'''unlocked''' defines whether site visitors are encouraged from contributing cards, or not. If set to "true", visitors are told "This deck is '''under construction'''. Anyone is welcome to contribute - check the talk page to find out more." - if left blank, visitors are warned that "This deck is '''locked'''. Further cards should not be added - if you have any suggestions, you can leave them on the talk page for the deck creator."
</noinclude>
</noinclude>

Revision as of 05:43, 14 July 2010

Infobox
Designer
Date Unknown
Players Unknown
Playability status This deck has not been categorised.

{{ #if: Abandoned||

Completion status
Additional Ruleset
This deck has not been categorised.
Padlock.gif
This deck is locked. Further cards should not be added - if you have any suggestions, you can leave them on the talk page for the deck creator.
Cards.gif Print this deck

Telnet.gif Generate MUSHcode

Cards.gif Generate Lackey export


Usage

Note : a french version of this template exists.

{{Infobox
| title =
| designer =
| designer2 =
| designer3 =
| designer4 =
| designer5 =
| designer6 =
| designer7 =
| date =
| players =
| playability =
| completion =
| mechanic =
| advancedruleset = 
| unlocked =
}}

title is the title of the deck. If left blank it defaults to the page title.

designer is the designer of the deck. If this exactly matches a wiki user name, it will link automatically to that user's page.

designer2 through to designer7 are the other designers of the deck, again linking to wiki profiles where appropriate. For multiple designers, use "designer" for the first, and these for the rest.

date is the date that the deck was created, if any. If left blank it defaults to "unknown".

players is the number of players that the deck is suited to. If left blank it defaults to "unknown".

playability is the playability status of the deck: its value can be "abandoned", "unplayable", "untested", "playable", "proven", "polished", "star".

status is the development status of the deck: its value can be "unfinished", "nomic", "CCG set", "CCG deck", "subpage" or "unfinishedplayable".

unlocked defines whether site visitors are encouraged from contributing cards, or not. If set to "true", visitors are told "This deck is under construction. Anyone is welcome to contribute - check the talk page to find out more." - if left blank, visitors are warned that "This deck is locked. Further cards should not be added - if you have any suggestions, you can leave them on the talk page for the deck creator."