Please remember to make use of the DML Wiki Manual of Style and Code of Conduct during your stay.

 Actions

Template

Template:References

From Dragon Mania Legends (DML) Wiki

Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this template's documentation. (About template documentation)


Preface:

  • There are some circumstances where putting ref text inline is preferable, such as those located in parser functions that may or may not produce a result. In this case, if no ref is produced, references put in another section also won't display, which may be desired behavior.
  • This template and the {{ref}} template don't have full cite features and may not always be sufficient, as they're intended only as a shortcut for our most common use cases.

Recommended Examples

One ref, text at bottom

Single references text afterwards{{ref|name=note1}} at bottom.
{{references|
{{ref|This is "note1" content, moved to references section,|name=note1}}
}}

Gives:
Single references, text afterwards[1] at bottom.

  1. This is "note1" content, moved to references section,

One ref, reused, text at bottom

Multiple references{{ref|name=note1}}, same ref used twice, text afterwards{{ref|name=note1}} at bottom.
{{references|
{{ref|This is "note1" content, moved to references section,|name=note1}}
}}

Gives:
Multiple references[1], same ref used twice, text afterwards[1] at bottom.

  1. 1.0 1.1 This is "note1" content, moved to references section,

Multiple, different refs, text at bottom

Multiple references{{ref|name=note1}}, same ref used twice, text afterwards{{ref|name=note2}} at bottom.
{{references|
{{ref|This is "note1" content, moved to references section,|name=note1}}
{{ref|This is "note2" content, moved to references section,|name=note2}}
}}

Gives:
Multiple references[1], same ref used twice, text afterwards[2] at bottom.

  1. This is "note1" content, moved to references section,
  2. This is "note2" content, moved to references section,

Non-recommended Examples

Single references, inline

Some text with reference afterwards.{{ref|This is the footnote or reference text that appears where the references are set.}}
{{references}}

Gives:
Some text with reference afterwards.[1]

  1. This is the footnote or reference text that appears where the references are set.

Multiple references, inline

This is some {{ref|This is "one" text but this content being here makes the rest of the paragraph hard to read|name=one}} paragraph text, you're supposed to be able to read it{{ref|name=one}}, but the reference text in the middle makes that hard.{{ref|name=one}}
{{references}}

Gives:
This is some [1] paragraph text, you're supposed to be able to read it[1], but the reference text in the middle makes that hard.[1]

  1. 1.0 1.1 1.2 This is "one" text but this content being here makes the rest of the paragraph hard to read

See Also

  • See {{ref}} for information on how to combine with the reference template.
  • For Cite documentation, see Help:Cite

Notes

  • Both templates are part of Extension:Cite.
  • The {{ref}} template intentionally doesn't make use of Cite's group or extends parameters (they generally aren't used on this wiki).

Displays the list of references. Most often combined with the {{ref}} template.

Template parameters

ParameterDescriptionTypeStatus
(Optional) 11

Used to specify and move ref text into references section instead of in paragraph text. If blank, displays in-text ref text list where inserted.

Stringoptional


This Wiki is created by players for other players and is not maintained by, or affiliated with, the game maker (Gameloft).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.