User:Lady Elyssa/Builds/Sandbox8
https://wiki.guildwars2.com/wiki/Special:RunQuery/Skill_fact_query
https://www.mediawiki.org/wiki/Module:String
P1:
U1:
B1:
Y: 2
Z: 2
P2:
U2:
B2:
Q:
X:{{#var: QUERY}} {{#arraymap: {{#var: QUERY}} |, <!-- Seperate our Data by the (,) Delimeter --> |@@@ <!-- temporary string variable --> |* @@@ <!-- Cycle through each piece of data stored in variable --> |\n <!-- Add newline to end of data segment --> }}Ask 1:
Ask 2:
{{#ask: [[Category:{{{1}}} skills]] [[Has skill context::{{{2}}}]] [[Has subobject.Has fact::Fury]] | ?Has fact type | ?Has skill type | ?Is for profession | ?Is for specialization | ?Has specialization sort order | headers = show | limit = 10 }}
Ask 3b:
Define Query:{{#vardefine: QUERY | {{#ask: [[Category:Warrior skills]] [[Has skill context::Utility]] [[Has subobject.Has fact::Fury]] }} }}
Query Response: Banner of Discipline, "For Great Justice!"
Arraymap Example:
Arraymap using Query:
- Utility: Banner of Discipline
- Utility: "For Great Justice!"
Ask 4:
Ask 5: Banner of Discipline#fact2, Banner of Discipline#fact3, "For Great Justice!"#fact1, "For Great Justice!"#fact2
Arraymap? x, x, x, x
Each x shown by the Arraymap represents a skill fact, see:
Define Query:
Banner of Discipline#fact2, Banner of Discipline#fact3, "For Great Justice!"#fact1, "For Great Justice!"#fact2
Show Response: Banner of Discipline#fact2, Banner of Discipline#fact3, "For Great Justice!"#fact1, "For Great Justice!"#fact2
...
https://www.mediawiki.org/wiki/Extension:Loops