Шаблон:Slot skill table
Материал из Guild Wars 2 wiki
Содержание
Description[править]
This template creates skill tables based on profession, specialization, type, attunement, etc... It corresponds to the table row template {{slot skill table row}} which can be used to manually create more complex slot skill tables. Format using {{slot skill table row format}} and for the parameter "include tool belt" {{slot skill table row/toolbelt}} and {{slot skill table row format/toolbelt}}
The skills are sorted in the following way:
- Property:Has profession sort order
- Property:Has specialization sort order
- Property:Has skill context sort order
- Property:Has weapon type sort order ([[Has skill context::Weapon]]) / Property:Has skill type sort order ([[Has skill context::Healing|Utility|Elite]])
- Property:Has attunement sort order
- Property:Has skill slot number ([[Has skill context::Weapon|Bundle|Transform|Downed|Drowning]]) / Property:Has profession mechanic slot number ([[Has skill context::Profession mechanic|Pet]])
- Property:Has skill sort order
- Property:Has chain sequence position
Usage[править]
{{slot skill table|profession=<profession>|release=core}} {{slot skill table|specialization=<specialization>}} {{slot skill table|type=<type>}} {{slot skill table|profession=<profession>|specialization=<specialization>|release=<core, hot, pof, eod>|context=<healing, utility, elite>|type=<type>|underwater usability=<land, underwater, land only, underwater only>}}
Parameters[править]
- profession
- Optional. Profession. Includes elite specialization skills.
- core profession
- Optional. Profession. Excludes elite specialization skills.
- specialization
- Optional. Elite specialization.
- release
- Optional. Release: "Core", "HoT" (Heart of Thorns), "PoF" (Path of Fire) or "EoD" (End of Dragons).
- supertype
- Skill supertype: "Profession" (default), "Common" (set "sort=" to override sort properties) or "Racial".
- context
- Optional. Skill context: Healing, Utility, Elite (defaults to all three).
- type
- Optional. Skill type. Can be also a bundle or transform skill if context is set to "Bundle" or "Transform" resp.
- underwater usability
- Optional. Underwater usability for context "bundle" or "transform", either: "Land" ("land" and "land and underwater skills", i.e. excludes underwater skills), "Underwater" (excludes land skills), "Land only" and "Underwater only".
- historical
- Optional. Include historical skills: "no" (default), "yes" or "only".
- class
- Optional. CSS class.
- query
- Optional. Additional query.
- intro
- Optional. Can be set to "false" to disable intro header.
- outro
- Optional. Can be set to "false" to disable outro footer.
- offset
- Optional. Query offset.
- sort
- Optional. Overrides sort properties.
- group by type
- Optional. Set to "true" to group healing, utility and elite skills by type rather than sorting first by context and potentially splitting them. Defaults to "false", where skills are sorted by context first, namely first all healing skills, then all utility skills and finally all elite skills.
- include tool belt
- Optional. Set to "true" to include the related tool belt skills. Expensive by design as it has to query for tool belt skills for each engineer skill, use carefully.
- show profession subheader
- Optional. Profession subheader, either "true" or "false". Enabled on default, however if profession or specialization is set the profession subheader is disabled.
- profession heading
- Optional. Profession subheader css heading, default is "h4". Can be set to "plain".
- show type subheader
- Optional. Type subheader, either "true" or "false". Enabled on default, however if type is set the type subheader is disabled.
- type heading
- Optional. Profession subheader css heading, default is "h5", however if profession or specialization this is changed to "h4". Can be set to "plain".
Template:Slot skill table header parameters[править]
- showType
- Optional. Shows type column and displays the property Has skill type, disabled on default. Can be set to "true".
- wide type column
- Optional. Set to "true" to increase the width of the type column. Defaults to "false".
- showEnergy
- Optional. Shows energy column and displays the property Has energy cost, disabled on default. Can be set to "true".
Example[править]
{{slot skill table|core profession=Mesmer|query=[[Has chain sequence position::>1]]}}
|