User:Medyro/Template/Widget test

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

Performs SMW queries for Guild Wars 2 Wiki:Popups#Extended popups.

Usage[edit]

{{Wikipopup extended queries|<skill/trait page name>}}

Parameters[edit]

1 (unnamed parameter)
Required. The name of a page.
  • If the page is not a skill, trait or relic then the template will output text indicating so.
  • If the page denotes a skill, trait or relic (as per Property:Has context and Property:Has item type) then the template will query for the following information for display within the popup:
Shared information:
For skills and relics only:
For traits only:
Information split by game mode (as per {{skill infobox}}):
Except for the following due to them being covered within the facts already:

Example[edit]

{{Wikipopup extended queries|Meteor Shower}}
Damage.png Damage: 646 (1.6)?
Damage.png Damage: 355 (0.88)?
Damage.png Damage: 444 (1.1)?
Damage.png Minimum Damage: 129 (0.32)?
Damage.png Minimum Damage: 71 (0.176)?
Damage.png Minimum Damage: 89 (0.22)?
Damage.png Damage Reduction per Hit: 10%
Miscellaneous effect.png Number of Impacts: 24
Number of targets.png Number of Targets: 3
Duration.png Duration: 9 seconds
Radius.png Impact Radius: 180
Radius.png Radius: 360
Range.png Range: 1,200
3.7530
3.7530
3.7530