Difference between revisions of "Template:Infobox"

From Dvorak - A Blank-Card Game
Jump to navigationJump to search
(tighten spacing)
 
(36 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| style="width:24em; float:right; border:1px solid #000; margin:0px 0px 8px 8px"
{| style="width:24em; float:right; border:1px solid #000; margin:0px 0px 8px 8px"
|-  
|-  
! colspan="2" style="background:#ddd;font-size:larger;text-align:center;" | {{{title|Title}}}
! colspan="2" style="background:#ddd;font-size:larger;text-align:center;" | {{{title|{{PAGENAME}}}}}
|-  
|-  
! Designer{{ #if: {{{designers|}}}|s}}
! Designer{{ #if: {{{designer2|}}}|s}}{{ #if: {{{designers|}}}|s}}
| {{ #if: {{{designers|}}}| {{{designers}}} }} {{ #if: {{{designer|}}}| {{{designer}}} }}  
| {{ #if: {{{designers|}}}| {{{designers}}} }}{{ #if: {{{designer|}}}| {{ #ifexist: User:{{{designer}}}|[[User:{{{designer}}}|{{{designer}}}]]|{{{designer}}}}} }}{{ #if: {{{designer2|}}}|, {{ #ifexist: User:{{{designer2}}}|[[User:{{{designer2}}}|{{{designer2}}}]]|{{{designer2}}}}} }}{{ #if: {{{designer3|}}}|, {{ #ifexist: User:{{{designer3}}}|[[User:{{{designer3}}}|{{{designer3}}}]]|{{{designer3}}}}} }}{{ #if: {{{designer4|}}}|, {{ #ifexist: User:{{{designer4}}}|[[User:{{{designer4}}}|{{{designer4}}}]]|{{{designer4}}}}} }}{{ #if: {{{designer5|}}}|, {{ #ifexist: User:{{{designer5}}}|[[User:{{{designer5}}}|{{{designer5}}}]]|{{{designer5}}}}} }}{{ #if: {{{designer6|}}}|, {{ #ifexist: User:{{{designer6}}}|[[User:{{{designer6}}}|{{{designer6}}}]]|{{{designer6}}}}} }}{{ #if: {{{designer7|}}}|, {{ #ifexist: User:{{{designer7}}}|[[User:{{{designer7}}}|{{{designer7}}}]]|{{{designer7}}}}} }}  
|-  
|-  
! Date
! Date
Line 13: Line 13:
|-  
|-  
| colspan="2" style="background:#eee;text-align:center;padding:8px" | {{#switch: {{{status}}}
| colspan="2" style="background:#eee;text-align:center;padding:8px" | {{#switch: {{{status}}}
| 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]]
  | Unfinished = This is an [[:Category:Unfinished decks|'''unfinished''' deck]]. It is incomplete, and is not playable. [[Category:Unfinished decks]]
  | Unfinished = This is an [[:Category:Unfinished decks|'''unfinished''' deck]]. It is incomplete, and is not playable. [[Category:Unfinished decks]]
  | Untested = This is an [[:Category:Untested decks|'''untested''' deck]]. Its cards are complete, but it hasn't yet been tested. [[Category:Untested decks]]
  | Untested = This is an [[:Category:Untested decks|'''untested''' deck]]. Its cards are complete, but it hasn't yet been tested. [[Category:Untested decks]]
Line 19: Line 20:
  | 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 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]]
  | 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]]
  | Proven = This is a [[:Category:Playable decks|'''playable''' deck]] - it's finished, tested and ready to play.
  | 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]]
<span style="font-size:0.8em">''(The category of 'proven' is obsolete.)''</span> [[Category:Playable decks]]
| UnfinishedPlayable = Although this is an [[:Category:Unfinished decks|'''unfinished''' deck]], it is still playable. [[Category:Unfinished decks]]
  | Polished = This is a [[:Category:Playable decks|'''playable''' deck]] - it's finished, tested and ready to play.
| Subpage = This is a '''subpage''' of a larger deck.
 
<span style="font-size:0.8em">''(The category of 'polished' is obsolete.)''</span> [[Category:Playable decks]]
  | This deck has not been categorised. <includeonly>[[Category:Uncategorised decks]]</includeonly>
  | This deck has not been categorised. <includeonly>[[Category:Uncategorised decks]]</includeonly>
}}
}}


|-
| colspan="2" style="padding:8px; font-size:0.9em; text-align:center" | To play Dvorak: Draw five cards each and leave the rest as a draw pile. On your turn, draw a card from the draw pile and play one Thing and/or one Action. (See the [[Rules|full rules]].)
|-
| colspan="2" style="background:#eee;padding:8px; font-size:0.9em; text-align:right" | [[Image:Cards.gif]] [http://dvorakgame.co.uk/export.php?deck={{PAGENAMEE}}&style=print '''Print this deck''']<br>
[[Image:Telnet.gif]] [http://dvorakgame.co.uk/export.php?deck={{PAGENAMEE}}&style=mush Generate MUSHcode]<br>
[[Image:Cards.gif]] [http://dvorakgame.co.uk/export.php?deck={{PAGENAMEE}}&style=lackey Generate Lackey export]
{{#ifeq:  {{{status}}}|CCG set|<br>[[Image:Mtgcard.gif]] [http://dvorakgame.co.uk/export.php?deck={{PAGENAMEE}}&style=csv Generate Apprentice CSV]}}
|-  
|-  
| 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|}}}|
[[Image:Hammer_and_spanner.gif|32px|left]] This deck is '''under construction'''. Anyone is welcome to contribute - check the [[Talk:{{PAGENAME}}|talk page]] to find out more.
[[Image:Hammer_and_spanner.gif|24px|left]] This deck is '''under construction'''. Anyone is welcome to contribute - check the [[Talk:{{PAGENAME}}|talk page]] to find out more.
|
|
[[Image:Padlock.gif|32px|left]] This deck is '''locked'''. Further cards should not be added - if you have any suggestions, you can leave them on the [[Talk:{{PAGENAME}}|talk page]] for the deck creator{{ #if: {{{designers|}}}|s}}.
[[Image:Padlock.gif|24px|left]] This deck is '''locked'''. Further cards should not be added - leave feedback on the [[Talk:{{PAGENAME}}|talk page]].
}}
}}
|-
| colspan="2" style="background:#eee;padding:8px; font-size:0.9em; text-align:right" | [[Image:Telnet.gif]] [http://dvorakgame.co.uk/export.php?deck={{PAGENAMEE}}&style=mush Generate MUSHcode]
|}
|}
<includeonly>[[Category:Decks]]</includeonly>
<includeonly>[[Category:Decks]]</includeonly><noinclude>
==Usage==
''Note : a [[Template:Infobox-fr|french version]] of this template exists.''
 
{| style="background: transparent;"
|<pre>{{Infobox
| title =
| designer =
| designer2 =
| designer3 =
| designer4 =
| designer5 =
| designer6 =
| designer7 =
| date =
| players =
| status =
| unlocked =
}}</pre>
 
'''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".
 
'''status''' is the development status of the deck: its value can be "unfinished", "untested", "playable", "nomic", "CCG set", "CCG deck", "star", "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."
</noinclude>

Latest revision as of 19:44, 29 May 2013

Infobox
Designer
Date Unknown
Players Unknown
This deck has not been categorised.
To play Dvorak: Draw five cards each and leave the rest as a draw pile. On your turn, draw a card from the draw pile and play one Thing and/or one Action. (See the full rules.)
Cards.gif Print this deck

Telnet.gif Generate MUSHcode
Cards.gif Generate Lackey export

Padlock.gif
This deck is locked. Further cards should not be added - leave feedback on the talk page.

Usage

Note : a french version of this template exists.

{{Infobox
| title =
| designer =
| designer2 =
| designer3 =
| designer4 =
| designer5 =
| designer6 =
| designer7 =
| date =
| players =
| status =
| 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".

status is the development status of the deck: its value can be "unfinished", "untested", "playable", "nomic", "CCG set", "CCG deck", "star", "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."