Template:API tree result format

From Guild Wars 2 Wiki
Jump to: navigation, search


Usage[edit]

Link to an article using Property:Has endpoint (the API equivalent of a canonical name). Having no endpoint will default to using the article name.

{{API cname|<article>}}

Parameters[edit]

Unnamed parameter 1
Article name.
Unnamed parameter 2
Property:Has endpoint
Unnamed parameter 3
Optional. Has endpoint requiring further expansion.
Unnamed parameter 4
Optional. Property:Has endpoint depth.
userparam
Optional. Endpoint depth to receive bold text formatting.

Example[edit]

{{API tree result format|API:2/commerce/exchange/coins|/v2/commerce/exchange/coins}}

/v2/commerce/exchange/coins