Template:Ref: Difference between revisions
From Halopedia, the Halo wiki
(Replaced content with "<includeonly>{{#if:{{{Id|{{{Name|}}}}}} |<!-- IF REFERENCE IS NAMED: -->{{#tag:ref|{{{1|{{{Text}}}}}}|group={{{Group|}}}|name={{{Id|{{{Name|}}}}}}}} |<!-- IF REFERENCE I...") Tag: Replaced |
m (→top: Moving page, replaced: {{Documentation → {{Doc/Template) |
||
Line 2: | Line 2: | ||
|<!-- IF REFERENCE IS NAMED: -->{{#tag:ref|{{{1|{{{Text}}}}}}|group={{{Group|}}}|name={{{Id|{{{Name|}}}}}}}} | |<!-- IF REFERENCE IS NAMED: -->{{#tag:ref|{{{1|{{{Text}}}}}}|group={{{Group|}}}|name={{{Id|{{{Name|}}}}}}}} | ||
|<!-- IF REFERENCE IS UNNAMED: -->{{#tag:ref|{{{1|{{{Text}}}}}}|group={{{Group|}}}}} | |<!-- IF REFERENCE IS UNNAMED: -->{{#tag:ref|{{{1|{{{Text}}}}}}|group={{{Group|}}}}} | ||
}}</includeonly><noinclude>{{ | }}</includeonly><noinclude>{{Doc/Template}} [[Category:Reference templates]]</noinclude> |
Latest revision as of 20:04, December 15, 2021
Referencing templates
Video games
Books and print
Other media
|
External material
Other
Listing sources
Notes
|
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= | }} |
Parameters
Field Name | Field Aliases | Optional or Required? | Description | Example |
---|---|---|---|---|
1 (Unnamed field) | Text | Required | The content of the citation. | ''[[Halo: The Flood]]'', Chapter 12
|
Id | 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
|
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
|