FANDOM



Usage

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

Dragon Age: Origins

Dragon Age II

Dragon Age: Inquisition


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.

Variables

{{ItemTransformer
|name=
|icon=(OPTIONAL)
|image=(OPTIONAL)
|px=(OPTIONAL)
|description=(OPTIONAL)
|location=(OPTIONAL)
|type=(OPTIONAL)
|material=(OPTIONAL)
|set=(OPTIONAL)
|requires=(OPTIONAL)
|restriction=(OPTIONAL)
|armor=(OPTIONAL)
|fatigue=(OPTIONAL)
|stats=(OPTIONAL)
|defense=(OPTIONAL)
|missile_deflection=(OPTIONAL)
|critical_chance=(OPTIONAL)
|strength_modifier=(OPTIONAL)
|damage=(OPTIONAL)
|armor_penetration=(OPTIONAL)
|range=(OPTIONAL)
|runes=(OPTIONAL)
|spellpower=(OPTIONAL)
|value=
|usable=(OPTIONAL)
|quests=(OPTIONAL)
|locations=(OPTIONAL)
|appearances=(OPTIONAL)
|notes=(OPTIONAL)
}}

Example - Item

For example - this is the code for the page Garnet

{{ItemTransformer
|style={{{style|}}}
|name=Garnet
|icon=Item-Garnet_Icon.png
|value=006000
|location=Loot, Vendor, Chests.
|description=A gem the shade of dried, dark red, nearly black.
|type=[[Gems|Gem]]
|quests=[[Untraceable]]
|appearances=''[[Dragon Age: Origins]]''
}}

When Garnet is displayed on its own page or included as it shows up as

{{:Garnet}}

Transformation

However, if it is included as follows,

{{ItemTableHeader|{{:Garnet|style=itemtable}}}}

it shows up as

Name Notes
Tre ico garnet



Example - Armor

For example - this is the code for the page Studded Leather Gloves

{{ArmorTransformer
|style={{{style|}}}
|name=[[Studded Leather Gloves]]
|description=The rivets and studs form curious patterns across the leather. When equipped in a set with studded leather armor and boots, the character gains a bonus to armor.
|type=[[Light Gloves|Light Gloves]]
|value=700
|icon=ico_gloves_light.png
|set=[[Studded Leather Armor Set|Studded Leather]]
|material=Varies
|tier=1-7
|armor=0.5
|fatigue=1%
|requires=10 Strength
|appearances=[[Dragon Age: Origins]]
}}

When Studded Leather Gloves is displayed on its own page or included without parameters, it shows up as

{{:Studded Leather Gloves}}

Transformation

However, if it is included as follows,

{{ArmorTableHeader|
{{:Studded Leather Gloves|style=armortable}}
}}

it shows up as

Name Armor
Fatigue Runes Enhancements Notes
Studded Leather Gloves
Varies
Requires: 10 strength
0.50 1.00% 0


Example - Weapon

For example - this is the code for the page Dagger (Origins)

{{WeaponTransformer
|style={{{style|}}}
|name=[[Dagger (Origins)]]
|description=This is a simple blade, but sharp enough for the job.
|type=[[Daggers (Origins)|Dagger]]
|value=800
|icon=ico_dagger.png
|material=[[Materials|Varies]] [[Materials|(Tier 1 to 7)]]
|damage=4.00
|armor_penetration=4.00
|critical_chance=3.00%
|strength_modifier=0.85
|requires=10 Dexterity
}}

When "dagger" is displayed on its own page or included without parameters, it shows up as

{{:Dagger (Origins)}}

Transformation

However, if it is included as follows,

{{WeaponTableHeader|
{{:Dagger (Origins)|style=weapontable}}
}}

it shows up as

Name Damage
Critical chance Armor penetration Strength modifier Runes Enhancements Notes
Dagger
Varies
Requires: 10 dexterity
4.00 3.00% 4.00 0.85 0


Community content is available under CC-BY-SA unless otherwise noted.