Шаблон:Skill link table row

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск

Description[править]

{{Skill link table row|<id>|<skill name>|chain=|class=|id2=|trait=}}

Parameters[править]

<id> 
ID of the skill
<skill name> 
Skill name
chain 
Set to one of the following values to show an additional icon before the skill icon:
chain Redirect Arrow.png (no link)
stealth Chain Arrow Toolbelt.png (links to Stealth Attack)
toolbelt Chain Arrow Toolbelt.png (links to Tool belt)
underwater Underwater.png (links to Underwater mode)
class 
Used to apply CSS classes to the row. Examples:
  • class=<profession> applies profession coloring to individual rows of a general table
  • class=line applies a border to the bottom of the row
id2 
ID of a skill with trait. Do not include if skill doesn't depend on trait.
trait 
Trait, applied to the individual skill, in case there's more then one trait that has influence on that group of skills.

The variable "trait" should be set in the header or somewhere on the page.

Example[править]

{{Skill link table header|elementalist|header=Earth Attunement}}
{{Skill link table row|5695|Rock Barrier}}
{{Skill link table row|5780|Hurl|chain=chain}}
|}
{{Skill link table header|engineer|trait=Rifled Barrels}}
{{Skill link table row|5814|Hip Shot|id2=6003}}
|}

results in

Earth Attunement.png
 Earth Attunement
Skill Link ID
Rock Barrier.png
 Rock Barrier
5695
Redirect Arrow.png
Hurl.png
 Hurl
5780
Skill Link ID Trait
Hip Shot.png
 Hip Shot
5814
6003 Trait IV.png

See Also[править]

Template:Skill link table header