|
|
(82 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <!--
| + | {{#ask: [[Has reward::?;Campfire]] |
− | PARAMETERS
| + | |?Has quest giver |
− | -->{{#vardefine:1|skills, passive talents}}<!-- parameter 1
| + | |?Has reward|+index=2 |
− | -->{{#vardefine:2|health}}<!-- parameter 2
| + | |?Has reward|+index=3 |
| + | |?Has reward|+index=4 |
| + | |format=template |
| + | |introtemplate=quest table header |
| + | |template=quest table body |
| + | |outrotemplate=table footer |
| + | |link=none}} |
| | | |
− | RELATED -->
| + | {{#arrayprint:reward names}} |
− | ==Related==
| + | |
− | The following can affect (or are affected by) a character's {{#var:2}}.
| + | {{#arrayprint:reward quantities}} |
− | {{#arraydefine:categories|{{#var:1}}}}<!-- split comma-separated list into array
| + | |
− | -->{{#arrayprint:categories||@|
| + | {{#arrayprint:reward qualities}} |
− | {{#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
| |
− | -->}}}}
| |