Template:Gather
From Guild Wars 2 Wiki
Jump to navigationJump to search
Usage[edit]
Identifies what item is received upon interacting with an object (page uses {{Object infobox}} at the top), e.g. gathering a resource nodes or opening a chest. Sets the Property:Gathered item property.
{{gather|<item name>}}
Parameters[edit]
- 1 (unnamed parameter)
- Required. Name of the item.
- 2 (unnamed parameter)
- Optional. Link text to display. Defaults to <Item name>. Do not use this to pluralize the name.
- collection
- Optional. Set to an achievement's name to add that an item is only gathered if the specified collection is active.
- qty
- Optional. Item quantity. Defaults to 1. Stored as text, hence number ranges or full text are allowed.
- chance
- Optional. Denotes the chance of obtaining the given item from the object. Options: Guaranteed or Chance (defaults to Chance)
- If the item is guaranteed, a suffix will be displayed, as well as to the result displayed in Template:Gathered from.
- This parameter changes the semantic property Property:Has gathered item chance.
- notes
- Optional. Can be used to add a note to the subobject, which will be displayed as an additional suffix when queried with {{gathered from}}.
- no subobject
- If set to anything, prevents the template from setting the gather subobject.
Examples[edit]
{{gather|Blueberry}}
{{gather|Head of Lettuce|qty=2|chance=Guaranteed}}
Head of Lettuce (2) (guaranteed)
{{gather|Ancient Statuette of Melandru|collection=The Six}}
Ancient Statuette of Melandru (Only if the collection The Six is active)
See also[edit]
- {{gathered from}}