GoArch:References
This page documents an Archive policy. It describes a widely accepted standard that all editors should normally follow. To propose changes, use this sub-page. |
Tag syntax[edit source]
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 /> |
|
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] |
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/> ==References== <references> <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> </references> |
|
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.
Content in this section is based on policies created by Memory Alpha. In accordance with Memory Alpha's licensing terms, the material on this page is licensed under the Creative Commons Attribution/Non-Commercial license.