Template:Ref: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "]] </noinclude>" to "]]</noinclude>") |
(→Referencing Templates: Added a couple of reference templates) |
||
Line 11: | Line 11: | ||
===External Material=== | ===External Material=== | ||
*[[Template:Ref/Youtube|YouTube videos]] | *[[Template:Ref/Youtube|YouTube videos]] | ||
*[[Template:Ref/Twitter|Twitter posts]] | |||
*[[Template:Ref/Site|Websites or articles]] | *[[Template:Ref/Site|Websites or articles]] | ||
Line 21: | Line 22: | ||
*[[Template:Ref/Notes|Notes list]] | *[[Template:Ref/Notes|Notes list]] | ||
*[[Template:Ref/List|Other reference group list]] | *[[Template:Ref/List|Other reference group list]] | ||
===Internal=== | |||
<small>These templates are ones that are used internally by the reference templates, to share common functionality. It is not recommended that you use them on any pages besides other reference templates.</small> | |||
*[[Template:Ref/Format|Format reference arguments]] | |||
==Usage== | ==Usage== |
Revision as of 13:14, April 19, 2020
Referencing Templates
Halo Media
External Material
Other
Listing Sources
Internal
These templates are ones that are used internally by the reference templates, to share common functionality. It is not recommended that you use them on any pages besides other reference templates.
Usage
This template is alternative method for citing references, replacing the traditional <ref name="..." group="...">...</ref>
syntax. In normal circumstances, this template should not be used on pages - instead, the templates listed above should be favoured, for the sake of simplicity and standardisation.
Simplified Version | Full Version |
---|---|
{{Ref | }} |
{{Ref |Name= |Group= | }} |
Example
Here is an example of how to use this template:
Wiki Markup | Result |
---|---|
Sergeant [[Avery Johnson]] was a member of the [[ORION Project]].{{Ref|Name=GNPg122|Halo Graphic Novel, Page 122}}{{Ref|Group=Note|The ORION Project is also known as the SPARTAN-I program, a name retroactively given to it after the formation of the [[SPARTAN-II program]].}} ==Notes== {{Ref/Notes}} ==Sources== {{Ref/Sources}} |
Sergeant Avery Johnson was a member of the ORION Project.[1][Note 1] Notes
Sources
|
Fields
Field Name(s) | Optional or Required? | Description | Example |
---|---|---|---|
1 (Unnamed field), Text | Required | The content of the citation. | ''[[Halo: The Flood]]'', Chapter 12 |
Name | Optional | A name used to refer to the citation later on, if it needs to be reused. | FloodChptr12 |
Group | Optional | The group that the citation should be placed in. If it is just a normal reference, then no group should be specified. | Note |