TemplateDoc:Ref/Generic: Difference between revisions

From Halopedia, the Halo wiki

(in practice, it looks like this one is required)
Line 15: Line 15:
|LocalArchive=
|LocalArchive=
}}</nowiki></pre>  
}}</nowiki></pre>  
 
===Examples===
Below is a snapshot of examples using the template. While not required, it is suggested to make the reuse <code>Id=</code> as specific as you can.
 
{| class="wikitable" width="75%"
! Type of reference !! Wikitext !! Reference template used
|-
| Physical items citation || <code><nowiki>{{Ref/Generic|Id=HLCDD2|Heading=[[Halo Legendary Crate]]|Subheading=[[Halo Legendary Crate/Data Drops|Data Drop #2]]|Detail=[[:File:LC 002 Doc 1.jpg|First Twelve Hours]]}}</nowiki></code>
|-
| Event citation || <code><nowiki>{{Ref/Generic|Id=HODSICS|Heading=[[Halo: Outpost Discovery]]|Subheading=[[Halo:_Outpost_Discovery#Scannable_items|Scannable items]]|Detail=[[:File:HOD Hall of History Support Ship.jpg|Colony Ship]]}}</nowiki></code>
|-
| ARG citation || <code><nowiki>{{Ref/Generic|Id=ILBC8J|Heading=[[I love bees|i love bees]]|Subheading=[[I Love Bees Axon Clips|Axon Clips]], [[Axon Clips Chapter 8|Chapter 8]]|Detail=Jan: "The Funeral"}}</nowiki></code>
|-
| Marketing campaign citation || <code><nowiki>{{Ref/Generic|Id=Unspoken|Heading=[[Become]]|Subheading=[[UNSC Archives]]|Detail=[[Unspoken]]}}</nowiki></code>
|}
 
===Fields===
===Fields===
{| width=100% class=wikitable
{| width=100% class=wikitable

Revision as of 13:36, June 18, 2023

This is a template documentation page!
You cannot edit the associated template from here. To do so, please see Template:Ref/Generic instead!

Usage

This template should be used for generic references. For other citation templates, see Template:Ref. For more reference templates, see Template:Ref.

{{Ref/Generic
|Id=
|Heading=
|Subheading=
|Detail= 
|Quote=
|Quotee=
|QuoteeLinkText=
|LocalArchive=
}}

Examples

Below is a snapshot of examples using the template. While not required, it is suggested to make the reuse Id= as specific as you can.

Type of reference Wikitext Reference template used
Physical items citation {{Ref/Generic|Id=HLCDD2|Heading=[[Halo Legendary Crate]]|Subheading=[[Halo Legendary Crate/Data Drops|Data Drop #2]]|Detail=[[:File:LC 002 Doc 1.jpg|First Twelve Hours]]}}
Event citation {{Ref/Generic|Id=HODSICS|Heading=[[Halo: Outpost Discovery]]|Subheading=[[Halo:_Outpost_Discovery#Scannable_items|Scannable items]]|Detail=[[:File:HOD Hall of History Support Ship.jpg|Colony Ship]]}}
ARG citation {{Ref/Generic|Id=ILBC8J|Heading=[[I love bees|i love bees]]|Subheading=[[I Love Bees Axon Clips|Axon Clips]], [[Axon Clips Chapter 8|Chapter 8]]|Detail=Jan: "The Funeral"}}
Marketing campaign citation {{Ref/Generic|Id=Unspoken|Heading=[[Become]]|Subheading=[[UNSC Archives]]|Detail=[[Unspoken]]}}

Fields

Field Name Optional or Required? Description Example
Id Recommended An ID for the reference, so it can be reused. Make it tied to the source so it does not conflict with other IDs. Always put this at the start. While not Required it is recommended to give every source a unique Id for future use. HW2OSG
1 (unnamed) Required Heading

Subheading Optional

2 (unnamed) Optional

3 (unnamed) Optional

4 (unnamed) Optional

5 (unnamed) Optional

6 (unnamed) Optional

7 (unnamed) Optional

Detail Optional

Quote Optional When citing a particular quote from the game, this should be used.

Quotee Optional This is to put who or what said a "quote"

QuoteeLinkText Optional A link to the quoted text.

LocalArchive Optional