Difference between revisions of "Template:Card"

From Dvorak - A Blank-Card Game
Jump to navigationJump to search
(Adding "cornervalue".)
(Shifting card type into a div tag.)
Line 1: Line 1:
<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:95px; | height:65px; }}
{{ #if:  {{{longtitle|}}} | height:65px; | height:35px; }}
font-family:arial narrow,arial; padding:6px 0px 0px 0px">
font-family:arial narrow,arial; padding:6px 0px 0px 0px">
{{ #if:  {{{cornervalue|}}} |  
{{ #if:  {{{cornervalue|}}} |  
<div style="float:right; margin:4px; background:#fff; color:#000; padding:4px; border:1px solid #000">{{{cornervalue}}}</div> }}
<div style="float:right; margin:4px; background:#fff; color:#000; padding:4px; border:1px solid #000">{{{cornervalue}}}</div> }}
{{{title|Card Title}}}<br><span style="font-size:0.8em">{{{type|Type}}}</span></div>
{{{title|Card Title}}}</div>
<div style="background:#{{{bgcolor|999}}}; text-align:center; font-size:14pt; color:#FFF;
font-family:arial narrow,arial; padding:2px; font-size:0.8em">{{{type|Type}}}</div>
<div style="{{ #if:  {{{longtitle|}}} | height:170px; | height:200px; }}
<div style="{{ #if:  {{{longtitle|}}} | height:170px; | height:200px; }}
  border-width:1px 0px 0px 0px; border-style:solid; border-color:#000; padding:8px">{{{text|Card text.}}}</div>
  border-width:1px 0px 0px 0px; border-style:solid; border-color:#000; padding:8px">{{{text|Card text.}}}</div>
<div style="background:#eee; border-width:1px 0px 0px 0px; border-style:solid; border-color:#000; text-align:right; font-size:0.7em;">Card by {{{creator|creator}}}</div>
<div style="background:#eee; border-width:1px 0px 0px 0px; border-style:solid; border-color:#000; text-align:right; font-size:0.7em;">Card by {{{creator|creator}}}</div>
</div>
</div>

Revision as of 16:02, 30 January 2007

Card Title
Type
Card text.
Card by creator