User:Lady Elyssa/Builds/Sandbox8

From Guild Wars 2 Wiki
Jump to navigationJump to search

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:
 Has fact typeHas fact effectHas factHas skill typeIs for professionIs for specializationHas specialization typeHas specialization sort order
Banner of DisciplineBannerWarrior0
Flow StabilizerArmamentWarriorBladesworn3
"For Great Justice!"ShoutWarrior0
Wild BlowRageWarriorBerserker1

Ask 2:



Ask 3a:
{{#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:

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

...



... Show 1:
... Show 11:
... Show 2:

UtilityWarriorCoreFury

... Show 3:

UtilityWarriorFury

... ...

https://www.mediawiki.org/wiki/Extension:Loops