TemplateDoc:Ref/Generic: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
Line 22: Line 22:
! Type of reference !! Wikitext
! Type of reference !! Wikitext
|-
|-
| 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>
| Physical items citation || <code><nowiki>{{Ref/Generic|Id=HLCDD2|[[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>
| Event citation || <code><nowiki>{{Ref/Generic|Id=HODSICS|[[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>
| ARG citation || <code><nowiki>{{Ref/Generic|Id=ILBC8J|[[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>
| Marketing campaign citation || <code><nowiki>{{Ref/Generic|Id=Unspoken|[[Become]]|Subheading=[[UNSC Archives]]|Detail=[[Unspoken]]}}</nowiki></code>
|}
|}


Line 34: Line 34:
{| width=100% class=wikitable
{| width=100% class=wikitable
!Field Name
!Field Name
!Aliases
!Optional or Required?
!Optional or Required?
!Description
!Description
Line 39: Line 40:
|-
|-
|'''Id'''
|'''Id'''
| -
|''Recommended''
|''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 <code>Id</code> for future use.
|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 <code>Id</code> for future use.
Line 44: Line 46:
|-
|-
|'''1''' {{c|unnamed}}
|'''1''' {{c|unnamed}}
|Heading
|''Required''
|''Required''
|Heading
|This is the heading of the citation. Mostly used for the "name" of something such as an event, or piece of media not applicable under every other citation.
|<pre></pre>
|<pre></pre>
|-
|-
|'''Subheading'''
|'''Subheading'''
| -
|''Optional''
|''Optional''
|
|This is if the subject can be broken down, or has sections. Such as Halo: Outpost Discovery having experiences
|<pre></pre>
|<pre></pre>
|-
|-
|'''2''' {{c|unnamed}}
|'''2''' {{c|unnamed}}
| -
|''Optional''
|''Optional''
|
|
Line 59: Line 64:
|-
|-
|'''3''' {{c|unnamed}}
|'''3''' {{c|unnamed}}
| -
|''Optional''
|''Optional''
|
|
Line 64: Line 70:
|-
|-
|'''4''' {{c|unnamed}}
|'''4''' {{c|unnamed}}
| -
|''Optional''
|''Optional''
|
|
Line 69: Line 76:
|-
|-
|'''5''' {{c|unnamed}}
|'''5''' {{c|unnamed}}
| -
|''Optional''
|''Optional''
|
|
Line 74: Line 82:
|-
|-
|'''6''' {{c|unnamed}}
|'''6''' {{c|unnamed}}
| -
|''Optional''
|''Optional''
|
|
Line 79: Line 88:
|-
|-
|'''7''' {{c|unnamed}}
|'''7''' {{c|unnamed}}
| -
|''Optional''
|''Optional''
|
|
Line 84: Line 94:
|-
|-
|'''Detail'''
|'''Detail'''
| -
|''Optional''
|''Optional''
|
|
Line 89: Line 100:
|-
|-
|'''Quote'''
|'''Quote'''
| -
|''Optional''
|''Optional''
|When citing a particular quote from the game, this should be used.
|When citing a particular quote from the game, this should be used.
Line 94: Line 106:
|-
|-
|'''Quotee'''
|'''Quotee'''
| -
|''Optional''
|''Optional''
|This is to put who or what said a "quote"
|This is to put who or what said a "quote"
Line 99: Line 112:
|-
|-
|'''QuoteeLinkText'''
|'''QuoteeLinkText'''
| -
|''Optional''
|''Optional''
|A link to the quoted text.
|A link to the quoted text.
Line 104: Line 118:
|-
|-
|'''LocalArchive'''
|'''LocalArchive'''
| -
|''Optional''
|''Optional''
|
|

Revision as of 14:49, 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
Physical items citation {{Ref/Generic|Id=HLCDD2|[[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|[[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|[[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|[[Become]]|Subheading=[[UNSC Archives]]|Detail=[[Unspoken]]}}

Fields

Field Name Aliases 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) Heading Required This is the heading of the citation. Mostly used for the "name" of something such as an event, or piece of media not applicable under every other citation.

Subheading - Optional This is if the subject can be broken down, or has sections. Such as Halo: Outpost Discovery having experiences

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