Template:Card text box: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
m (don't float the text box)
(align text boxes right. Looks better on cards without much text.)
Line 1: Line 1:
<includeonly><table style="text-align:center;border:2px solid {{Type Color|type={{{archetype|}}}_border}}; background-color:{{Type Color|type={{{archetype|}}}_background}}; border:2px outset {{Type Color|type={{{archetype|}}}_outset}}; border-radius:8px; padding:3px;margin:0 0 15px 15px"><tr><td>{{{text|}}}<td/><tr/></table></includeonly>
<includeonly><table style="text-align:center;border:2px solid {{Type Color|type={{{archetype|}}}_border}}; background-color:{{Type Color|type={{{archetype|}}}_background}}; border:2px outset {{Type Color|type={{{archetype|}}}_outset}}; border-radius:8px; padding:3px;margin:0 0 15px auto"><tr><td>{{{text|}}}<td/><tr/></table></includeonly>
<noinclude>
<noinclude>
{{Card text box
{{Card text box

Revision as of 14:58, 28 April 2016


This is an Overlord example
This is a Healer example
This is a Mage example
This is a Warrior example
This is a Scout example
Template documentation (for the above template, sometimes hidden or invisible)
Description
This template creates a box intended to show the text of cards and, if available, the flavour text of a card in cursive.
Syntax
{{Card text box |archetype=<type> |text=<text> |flavour=<flavour>}}
Allowed <type> entries
  • Healer
  • Mage
  • Warrior
  • Scout
  • Overlord