|
|
(97 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <!-- | + | <blockquote style="padding: 0em 2em 0em 1em; margin: 1em 0em 1em 4em;border-left: 1px solid silver;"> |
− | PARAMETERS
| + | <div style="position: absolute; margin-top: -0.2em; margin-left: -0.8em; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;">“</div><!-- |
− | -->{{#vardefine:1|skills, passive talents}}<!-- parameter 1
| + | --><div class="mb-2" style="line-height: 1.53846em;">test</div><!-- |
− | -->{{#vardefine:2|health}}<!-- parameter 2
| + | --><div style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">— In-game description</div> |
− | | + | </blockquote> |
− | RELATED -->
| |
− | ==Related== | |
− | The following can affect (or are affected by) a character's {{#var:2}}.
| |
− | {{#arraydefine:categories|{{#var:1}}}}<!-- split comma-separated list into array
| |
− | -->{{#arrayprint:categories||@|
| |
− | {{#vardefine:category|{{sc|@}}}}<!-- get proper capitalization -->
| |
− |
| |
− | ==={{#var:category}}===
| |
− | {{#switch:{{#var:category}}<!--
| |
− | -->|Skills=<!-- Category:Skills | |
− | -->{{#ask: [[Category:{{#var:category}}]]<!-- get pages in corresponding category
| |
− | -->{{#ifeq:{{#var:2}}|{{#var:2}}<!-- if second parameter exists
| |
− | -->|[[Has stat::{{sc|{{#var:2}}}}]]}}<!-- only get pages with corresponding stat --> | |
− | | ?Has icon
| |
− | | ?Has skill name
| |
− | | ?Has cast time
| |
− | | ?Has range
| |
− | | ?Has cost
| |
− | | ?Has cost type
| |
− | | ?Has cooldown
| |
− | | ?Is for hero
| |
− | | ?Has mastery
| |
− | | ?Has skill order
| |
− | | sort=Has skill order
| |
− | | order=asc
| |
− | | format=template
| |
− | | template=SkillListTableBody
| |
− | | introtemplate=SkillListTableHeader
| |
− | | outrotemplate=ListTableFooter
| |
− | }}
| |
− | |Passive Talents=<!-- Category:Passive talents
| |
− | -->{{#ask: [[Category:{{#var:category}}]]<!-- get pages in corresponding category
| |
− | -->{{#ifeq:{{#var:2}}|{{#var:2}}<!-- if second parameter exists
| |
− | -->|[[Has stat::{{sc|{{#var:2}}}}]]}}<!-- only get pages with corresponding stat -->
| |
− | | ?Has talent name
| |
− | | ?Has stat
| |
− | | ?Has stat value
| |
− | | format=template
| |
− | | template=TalentListTableBody
| |
− | | introtemplate=TalentListTableHeader
| |
− | | outrotemplate=ListTableFooter
| |
− | }}
| |
− | |#default={{error|Invalid category. Check documentation.}}<!-- invalid category error
| |
− | -->}}}}
| |