User:Blackice/sandbox
From Guild Wars 2 Wiki
Jump to navigationJump to search
Hi. This is my sandbox. Here's some sand: Pile of Silky Sand
Semantic Mediawiki playground[edit]
Playing with the tree format[edit]
Documentation: Help:Tree format
Listing all festival merchants in Tyria[edit]
{{#ask: [[Tyria]]
OR [[Has service::Festival Merchant]]
OR [[-Located in.Has service::Festival Merchant]]
OR [[-Located in.-Located in.Has service::Festival Merchant]]
OR [[-Located in.-Located in.-Located in.Has service::Festival Merchant]]
| format = tree
| parent = Located in
}}
- Ascalon
- Candy Corn Vendor
- Candy Corn Vendor
- Candy Corn Vendor
- Candy Corn Vendor
- Candy Corn Vendor
- Candy Corn Vendor
- Candy Corn Vendor (Weekly)
- Charity Corps Seraph (Gift Wrapping)
- Charity Corps Seraph (historical)
- Charity Corps Seraph (Snowflake Trader)
- Charity Corps Seraph (Wintersday Crafting)
- Charity Corps Seraph (Wintersday Gifts)
- Charity Corps Seraph (Wintersday Rewards)
- Charity Corps Seraph (Wintersday Skins)
- Creator's Commons
- Drooburt's Ghost
- Festival Rewards Vendor (Festival Rewards)
- Festival Rewards Vendor (Weekly)
- Gauntlet Ticket Vendor
- Hoelbrak
- Hub
- Kryta
- Lower Research Stacks
- Lunatic Alchemist
- Mad King's Realm
- Maguuma Jungle
- New Year Rewards
- New Year Vendor
- New Year Weapons
- Phaedra
Listing all Fiery Greatsword skills[edit]
{{#ask: [[Fiery Greatsword]] OR [[Is for weapon::Fiery Greatsword]]
| format = tree
| parent = Is for weapon
| link = none
| template = skill icon
}}
That doesn't look so good. :( Probably because the Fiery Greatsword isn't a skill.
Listing events starting near a point of interest[edit]
{{#vardefine: dist | 160 }}
{{#vardefine: x | {{#show: Temple of Kormir | ?Has x coordinate# }} }}
{{#vardefine: y | {{#show: Temple of Kormir | ?Has y coordinate# }} }}
{{#ask:
[[Has context::Event]]
[[Has x coordinate::<{{#expr: {{#var: x}} + {{#var: dist}} }}]]
[[Has x coordinate::>{{#expr: {{#var: x}} - {{#var: dist}} }}]]
[[Has y coordinate::<{{#expr: {{#var: y}} + {{#var: dist}} }}]]
[[Has y coordinate::>{{#expr: {{#var: y}} - {{#var: dist}} }}]]
| format = ul
}}
Result:
- Defeat the Legendary bounty (Legendary Queen Yidaxu)
- Escort refugees from the Temple of Kormir to the southern way station
- Stop the Zaishen from desecrating the Temple of Kormir
Creating links to Special:Ask[edit]
Not sure what's the best way to do this, but the following works for me:
{{#ask:
[[Has context::NPC]]
[[Has race::Human]]
[[Has appearance::+]]
[[Category:Path of Fire content]]
| ?Has appearance
| format = gallery
| imageproperty = Has appearance
| limit = 0
| searchlabel = gallery link
}}
Result: gallery link
