Tag syntax[edit]

The syntax for adding references is very easy to use and understand. The formatting for adding a reference footnote is the same as other footnotes:

  • Do not include a space between the tag and the penultimate word.
  • If the tag is added a the end of a sentence, add the tag after the period and do not include a space between the period and the tag.
Description You type You get
Create a reference

<ref>details of the source</ref>.


Create an automatic list of references

<references />

  1. details of the source
Refer to the same source somewhere else

location A <ref name="example">details</ref>

location B <ref name="example" />

<references />

location A [1]

location B [1]

  1. 1.0 1.1 details

Some or all of the footnotes can also be defined within the reference section/list, and invoked in the page content. This keeps those citations in one central location and avoids cluttering the text (and any infobox). This is purely a source code change—the actual display of the citation in the text to a reader is unaffected. The syntax is:

<references> <ref name=name1>Content</ref> <ref name=name2>Content</ref> <ref name=name...n>Content</ref> </references>

The footnote markers are included as usual for a named footnote. For example:

Markup Renders as
The quick brown fox jumps over the lazy dog.<ref name=LazyDog/>
Amazingly few discotheques provide jukeboxes.<ref name=Jukeboxes/>
How razorback-jumping frogs can level six piqued gymnasts.<ref name=JumpingFrogs/>

<ref name=Jukeboxes>This is the jukeboxes reference.</ref>
<ref name=LazyDog>This is the lazy dog reference.</ref>
<ref name=JumpingFrogs>This is the jumping frogs reference.</ref>

The quick brown fox jumps over the lazy dog.[1] Amazingly few discotheques provide jukeboxes.[2] How razorback-jumping frogs can level six piqued gymnasts.[3]


  1. This is the lazy dog reference.
  2. This is the jukeboxes reference.
  3. This is the jumping frogs reference.

The references will be numbered, and appear in the output, in the order that they are first referred to in the content, regardless of their order within the list. All references in reference list must be referenced in the content, otherwise an error message will be shown.

Content in this section is based on the help documents for Wikipedia and the Guild Wars 2 Wiki. In accordance with the Guild Wars 2 Wiki's licensing terms, the material on this page is licensed under the GNU Free Documentation License (GFDL) 1.2.