Template:Objectives table row

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

This template is used to provide a walkthrough style table to explain achievement objectives, providing number, map and free-text parameters.

The template includes functionality to detect whether the achievement is a collection (content with icons, such as Items or Skins). If this check determines that the content is a collection, then the icon, type and rarity can be displayed.

It is used together with Template:Objectives table header.

Usage[edit]

{{Objectives table header}}
{{Objectives table row|<objective>}}
{{Objectives table row|<objective>|<optional notes text>}}
|}

Parameters[edit]

General[edit]

1 (unnamed parameter)
Required. The objective name/description as seen in the achievement objective list.
2 (unnamed parameter)
Optional. Objectives notes. If unset and the achievement is a collection, then the two parameters hint and notes are shown as a fallback.
map
Optional. Map screenshot, defaults to "<unnamed parameter 1> map.jpg". Can be set to "none" to disable the image. Requires to set "map = true" in {{Objectives table header}}.
location
Optional. Location screenshot, defaults to "<unnamed parameter 1> location.jpg". Can be set to "none" to disable the image. Requires to set "location = true" in {{Objectives table header}}.
col1 ... col3
Optional. Additional custom columns that allow any content, e.g. "Zone", "Nearest waypoint", "Enemies", etc... Set col1 ... col3 in {{Objectives table header}} to the column title to activate this column.

Customisation options[edit]

class
Optional. This parameter allows a css class to be applied to the row, e.g. "line-top".
map size
Optional. Map image size, defaults to 150px.
location size
Optional. Location image size, defaults to 150px.
indent
Optional. Indents the current line, and provides an arrow pointing to the previous line's icon. Value should be greater than or equal to 1, e.g. 1, 2, 3 ...
number
Optional. Number displayed at the start of the row. Used as the n-1 default for the API bit.
custom bit
Optional. If the in-game objectives order doesn't match the API order (the "API bit") then this parameter has to be set to the API bit for each objective. Requires to set the parameter "custom bit" to "true" in the {{Objectives table header}} to enable the API check. Set this parameter to the according achievement objective bit from the API in the table rows, note that it starts with 0.

Additional parameters for collections[edit]

icon
Optional. The icon for the collection element. Set the parameter large in the Objectives table header to double the icon size.
hint
Optional. If unnamed parameter 2 is not set, displays italic hint text, defaults to the hint set in according collection item infobox.
notes
Optional. If unnamed parameter 2 is not set, displays additional notes below the parameter

Examples[edit]

Examples for objectives[edit]

Objectives with notes and map
{{Objectives table header|Bian's World Tour|map=true}}   <!-- achievement page name is obtained automatically on individual achievement pages -->
{{Objectives table row|Chat with M.U.P. employee Bian.|map=Bian walking pattern.jpg}}
{{Objectives table row|Find Bian in the Grove.|On the upper terrace of the Starbower Nursery.|map=Bian The Grove.jpg}}
|}

Objective Map Notes
Use extra custom columns
  • Extra columns to add custom content, actived by setting the parameters col1..col3 in the header.
{{Objectives table header|Spiritual Childcare|col1=Type|col2=Closest landmark|map=true}}
{{Objectives table row|Enjoys large bridges.|col1=Crates (destroy)|col2={{point of interest|Bell Passage}}|map=Spiritual Childcare 1.jpg}}
{{Objectives table row|Watches dockworkers at Seitung.|On the docks north of Fishing Village poi|col1=Crates (destroy)|col2={{point of interest|Town Outskirts}}|map=Spiritual Childcare 2.jpg}}
|}

Objective Map Type Closest landmark Notes
Hide notes column
{{Objectives table header|Fueled by Elder Dragons|objectives width=8em|notes=false}}
{{Objectives table row|Zhaitan}}
{{Objectives table row|Mordremoth}}
{{Objectives table row|Kralkatorrik}}
{{Objectives table row|Jormag|Note that is not shown.}}
{{Objectives table row|Primordus}}
|}

Objective

Examples for collections[edit]

Set unnamed parameter 2
  • Using unnamed parameter 2 takes the whole "Notes" column.
{{Objectives table header}}
{{Objectives table row|Eir's Advice|Find [[Eir Stegalkin|Eir's]] notes on sculpting inside her home at [[Stonewright's Steading]] in [[Hoelbrak]].}}
|}

Collectible Type Subtype Notes
Set hint and notes
  • Using the parameters hint and notes separated the "Notes" column into a "Hint" and additional notes part.
{{Objectives table header}}
{{Objectives table row|Eir's Advice|hint=Find [[Eir Stegalkin|Eir's]] notes on sculpting inside her home at [[Stonewright's Steading]] in [[Hoelbrak]].|notes=Interact with a [[Scroll Case]] within [[Stonewright's Steading]], south of the {{waypoint|Eastern Watchpost Waypoint}}.}}
|}

Collectible Type Subtype Notes
Automatically obtain hint
  • Leaving unnamed parameter 2 as well as the parameters hint and notes empty will ask for the hint stored on the item page.
{{Objectives table header}}
{{Objectives table row|Eir's Advice}}
|}

Collectible Type Subtype Notes
Automatically obtain hint and set additional notes
  • Leaving the parameter hint empty but setting the parameter notes will ask for the hint stored on the item page and set the specified additional notes.
{{Objectives table header}}
{{Objectives table row|Eir's Advice|notes=Interact with a [[Scroll Case]] within [[Stonewright's Steading]], south of the {{waypoint|Eastern Watchpost Waypoint}}.}}
|}

Collectible Type Subtype Notes
Use extra custom columns
  • Extra columns to add custom content, actived by setting the parameters col1..col3 in the header.
{{Objectives table header|col1=Zone|col2=Nearest waypoint}}
{{Objectives table row|Eir's Advice|col1=[[Hoelbrak]]|col2={{waypoint|Eastern Watchpost Waypoint}}}}
|}

Collectible Type Subtype Zone Nearest waypoint Notes

Notes[edit]

  • Objectives can be declared in any order. Where an achievement is a collection, the API bits will default to the ingame sequence.

See also[edit]

  • {{Collection table}} — automatically generated achievement collection table matching in-game order