Template:Card text box: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{
<includeonly>{{
   #vardefine: bordercolor | {{Type Color|type= {{{archetype|}}}_border}}
   #vardefine: bordercolor | {{Type Color|type= {{{archetype|}}}_border}}
}}<table style="min-width:150px; text-align:center;border:2px solid {{#var: bordercolor}}; 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">
}}div style="min-width:150px"><table style="text-align:center;border:2px solid {{#var: bordercolor}}; 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>
   <tr>
     <td>{{{text|}}}</td>
     <td>{{{text|}}}</td>
Line 13: Line 13:
     </tr>
     </tr>
   |}}
   |}}
</table></includeonly><noinclude>
</table></div></includeonly><noinclude>
{{Card text box
{{Card text box
|archetype=Overlord
|archetype=Overlord

Revision as of 14:28, 10 February 2017

div style="min-width:150px">

This is an Overlord example
This example also has some flavour text

div style="min-width:150px">

This is a Healer example

div style="min-width:150px">

This is a Mage example
This example also has some flavour text

div style="min-width:150px">

This is a Warrior example

div style="min-width:150px">

This is a Scout example
This example also has some flavour text
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