FANDOM


m
m
Line 33: Line 33:
 
|markup={{{markup|}}}
 
|markup={{{markup|}}}
 
|markdown={{{markdown|}}}
 
|markdown={{{markdown|}}}
}}</onlyinclude></includeonly>
+
}}</onlyinclude>[[Category:Characters]]</includeonly>
<includeonly>[[Category:Characters]]</includeonly>
+
 
{{Documentation}}
 
{{Documentation}}
 
[[Category:Transformer Templates]]
 
[[Category:Transformer Templates]]

Revision as of 16:46, May 11, 2010


[edit · purge]
Template documentation (for the template shown above, sometimes hidden or invisible)


Usage

You would use this template transforms a template from Template:CharacterInfoBox to one of the following template based on the style tag:

To use it, simply use it as you would for any of the subtemplates. Then, include
|style={{{style|}}}
into the template. This will tell the template to transform it into its derivative class.

For example - this is the code for the page Alistair

{{CharacterTransformer
|style={{{style|}}}
|image=Alistair_Small.jpg
|longtitle=[[Alistair|Alistair the Grey Warden]]
|race=[[Human]]
|title=[[Grey Warden]]
|class=[[Warrior]]
|specialization=[[Templar]]
|gender=Male
|romance=Yes
|quests=[[Alistair's Family]]
}}

Transformation

However, if it is included as follows,

{{:Alistair|style=characterdisplay}}

it shows up as

[[Image:|86px|link=Alistair]]
Specialization: Templar
Class: Warrior
Race: Human (Elf-blooded)[1][2]
Quests: Alistair's Family
  1. Bioware Q&A + Raptr Wrap Up
  2. Dragon Age (tabletop RPG), Faces of Thedas, p. 8
Documentation transcluded from Template:CharacterTransformer/doc.
Community content is available under CC-BY-SA unless otherwise noted.