Difference between revisions of "Template:Card"

From Dvorak - A Blank-Card Game
Jump to navigationJump to search
(Testing something...)
(Reverting.)
Line 1: Line 1:
<br clear=all><div style="float:left; width:200px; min-height:300px; margin:4px; padding:1px; border:1px solid #000">
<div style="float:left; width:200px; min-height:300px; margin:4px; padding:1px; border:1px solid #000">
<div style="background:#{{{bgcolor|999}}}; text-align:center; font-size:14pt; color:#FFF;
<div style="background:#{{{bgcolor|999}}}; text-align:center; font-size:14pt; color:#FFF;
{{ #if:  {{{longtitle|}}} | height:65px; | height:35px; }}
{{ #if:  {{{longtitle|}}} | height:65px; | height:35px; }}

Revision as of 15:08, 31 January 2007

Card Title
Type
Card text.

Usage

{{Card
| title =
| longtitle =
| type =
| bgcolor =
| cornervalue =
| creator =
}}

title is the title of the card.

longtitle can be set to 1 if the card title takes up more than two lines, and can be omitted otherwise.

type is the card type - usually just "Action" or "Thing", but if you've got a more complex deck you can use "Thing - Crew", "Interrupt" or whatever you're using.

bgcolor is the colour of the card header background, as a hex value (eg. "f00" for red.) If omitted, it defaults to grey.

cornervalue is the value that will be printed in a box in the top right of the card, if one is required. If omitted, no box is printed on the card.

creator is the player who created the card, which is given in a box at the bottom of the card. If omitted, no box is printed.