Fandom

Dragon Age Wiki

ItemTransformer/doc

1.004páginas en
el wiki}}
Crear una página
Discusión0 Compartir

¡Interferencia de bloqueo de anuncios detectada!


Wikia es un sitio libre de uso que hace dinero de la publicidad. Contamos con una experiencia modificada para los visitantes que utilizan el bloqueo de anuncios

Wikia no es accesible si se han hecho aún más modificaciones. Si se quita el bloqueador de anuncios personalizado, la página cargará como se esperaba.



Usage Editar

You would use this template to transform a template from Template:ItemInfoBox 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.



Variables Editar

{{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 Editar

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}}

Garnet



Transformation Editar

However, if it is included as follows,

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

it shows up as

Plantilla:ItemTableHeader




Example - ArmorEditar

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}}

Studded Leather Gloves



Transformation Editar

However, if it is included as follows,

{{ArmorTableHeader|

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

}}

it shows up as

Nombre Armadura
Fatiga Runas Mejoras Notas

Studded Leather Gloves





Example - Weapon Editar

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)}}

Dagger (Origins)



Transformation Editar

However, if it is included as follows,

{{WeaponTableHeader|

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

}}

it shows up as

Nombre Daño
Probabilidad de crítico Penetración de armadura Modificador de fuerza Runas Mejoras Notas

Dagger (Origins)




 

Spotlights de otros wikis

Wiki al azar