TemplateDoc:Ref/Generic: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
mNo edit summary
Line 4: Line 4:
This template should be used for generic references. For other citation templates, see [[Template:Ref]]. For more reference templates, see [[Template:Ref]].
This template should be used for generic references. For other citation templates, see [[Template:Ref]]. For more reference templates, see [[Template:Ref]].


===Generic layout===
This is a generic layout for overall use, please refer to the rest of this documentation if you need to remove, change, or add fields.
<pre><nowiki>
<pre><nowiki>
{{Ref/Generic
{{Ref/Generic|Id=||Subheading=|Detail=|Quote=|Quotee=|QuoteeLinkText=|LocalArchive=}}</nowiki></pre>  
|Id=
|Heading=
|Subheading=
|Detail=  
|Quote=
|Quotee=
|QuoteeLinkText=
|LocalArchive=
}}</nowiki></pre>  


===Examples===
===Examples===
Line 48: Line 41:
|Heading
|Heading
|''Required''
|''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.
|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. If a page is involved please include link brackets <pre>[[]]</pre>
|<pre></pre>
|<pre>[[Halo Legendary Crate]]</pre>
|-
|-
|'''Subheading'''
|'''Subheading'''
| -
| -
|''Optional''
|''Optional''
|This is if the subject can be broken down, or has sections. Such as Halo: Outpost Discovery having experiences
|This is if the subject can be broken down, or has sections. Such as Halo: Outpost Discovery having experiences, or the Halo Legendary Crate having "Data Drops".
|<pre></pre>
|<pre>[[Halo Legendary Crate/Data Drops|Data Drop #2]]</pre>
|-
|-
|'''2''' {{c|unnamed}}
|'''2''' {{c|unnamed}}
| -
| -
|''Optional''
|''Optional''
|
|Extra Field to be used if required.
|<pre></pre>
|<pre></pre>
|-
|-
Line 66: Line 59:
| -
| -
|''Optional''
|''Optional''
|
|Field to be used if required.
|<pre></pre>
|<pre></pre>
|-
|-
Line 72: Line 65:
| -
| -
|''Optional''
|''Optional''
|
|Field to be used if required.
|<pre></pre>
|<pre></pre>
|-
|-
Line 78: Line 71:
| -
| -
|''Optional''
|''Optional''
|
|Field to be used if required.
|<pre></pre>
|<pre></pre>
|-
|-
Line 84: Line 77:
| -
| -
|''Optional''
|''Optional''
|
|Field to be used if required.
|<pre></pre>
|<pre></pre>
|-
|-
Line 90: Line 83:
| -
| -
|''Optional''
|''Optional''
|
|Field to be used if required.
|<pre></pre>
|<pre></pre>
|-
|-
Line 96: Line 89:
| -
| -
|''Optional''
|''Optional''
|
|Used to describe the item in question.
|<pre></pre>
|<pre>Spartans were acted by cosplayers.</pre>
|-
|-
|'''Quote'''
|'''Quote'''
| -
| -
|''Optional''
|''Optional''
|When citing a particular quote from the game, this should be used.
|When citing a particular quote from whatever you are citing. However, it '''cannot''' be used if the <code>Details</code> field is used.
|<pre></pre>
|<pre>Listen up, Recruits</pre>
|-
|-
|'''Quotee'''
|'''Quotee'''
Line 109: Line 102:
|''Optional''
|''Optional''
|This is to put who or what said a "quote"
|This is to put who or what said a "quote"
|<pre></pre>
|<pre>Latourette</pre>
|-
|-
|'''QuoteeLinkText'''
|'''QuoteeLinkText'''
| -
| -
|''Optional''
|''Optional''
|A link to the quoted text.
|This is to change the text used for who the Quotee is.
|<pre></pre>
|<pre>Sergeant Latourette</pre>
|-
|-
|'''LocalArchive'''
|'''LocalArchive'''
| -
| -
|''Optional''
|''Optional''
|
|If we have an archive of whatever we are citing, we can link it here.
|<pre></pre>
|<pre>https://archives.halopedia.org/halo3/believe/</pre>
|}
|}


[[Category:Reference template documentation]]
[[Category:Reference template documentation]]

Revision as of 15:00, 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.

Generic layout

This is a generic layout for overall use, please refer to the rest of this documentation if you need to remove, change, or add fields.

{{Ref/Generic|Id=||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. If a page is involved please include link brackets
[[]]
[[Halo Legendary Crate]]
Subheading - Optional This is if the subject can be broken down, or has sections. Such as Halo: Outpost Discovery having experiences, or the Halo Legendary Crate having "Data Drops".
[[Halo Legendary Crate/Data Drops|Data Drop #2]]
2 (unnamed) - Optional Extra Field to be used if required.

3 (unnamed) - Optional Field to be used if required.

4 (unnamed) - Optional Field to be used if required.

5 (unnamed) - Optional Field to be used if required.

6 (unnamed) - Optional Field to be used if required.

7 (unnamed) - Optional Field to be used if required.

Detail - Optional Used to describe the item in question.
Spartans were acted by cosplayers.
Quote - Optional When citing a particular quote from whatever you are citing. However, it cannot be used if the Details field is used.
Listen up, Recruits
Quotee - Optional This is to put who or what said a "quote"
Latourette
QuoteeLinkText - Optional This is to change the text used for who the Quotee is.
Sergeant Latourette
LocalArchive - Optional If we have an archive of whatever we are citing, we can link it here.
https://archives.halopedia.org/halo3/believe/