Lineage 2 Wiki
Tag: sourceedit
Tag: sourceedit
 
Line 23: Line 23:
 
|notes=
 
|notes=
 
|id=
 
|id=
  +
|levels=
 
}}</pre>
 
}}</pre>
   

Latest revision as of 14:20, 21 December 2015

Copy / Paste

{{SkillTransformer
|style={{{style|}}}
|image=
|px=
|name=
|supertype=
|icon=
|description=
|user=
|type=
|properties=
|duration=
|recycle=
|range=
|mp=
|hp=
|level=
|sp=
|items=
|delete=
|enchant=
|notes=
|id=
|levels=
}}

Usage

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

Example

For example, this is the code for the article Unbind

{{SkillTransformer
|style = {{{style|}}}
|name             = Unbind
|icon             = Skill1904g.png
|user             = [[Human]]
|level            = 85
|sp               = 0
|type             = Active - Physical skill
|description      = Cancels Poison/Bleed/Hold/Stun and renders immune for 10 seconds.
|range            = Personal
|duration         = 10 seconds
|recycle          = 10 minutes
|mp               = 0
|id               = 1904
|levels           = true
}}

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

{{:Unbind}}

Unbind

Skill1904g.png
Used by: Human
Skill Type: Active - Physical skill
Duration: 10 seconds
Recycle Time: 10 minutes
MP Consumption: 0
Learning Level: 85
SP Cost: 0
Description: Cancels Poison/Bleed/Hold/Stun and renders immune for 10 seconds.
ID: 1904

However, if it's included as follow

{{SkillTableHeader|
{{:Unbind|style=table}}
}}

it shows up as

Name Learning Level SP Cost Skill Enchants
Skill1904g.png Unbind
Cancels Poison/Bleed/Hold/Stun and renders immune for 10 seconds.
85 0