TemplateDoc:Ref/Audio: Difference between revisions
From Halopedia, the Halo wiki
(minor word swappin) |
No edit summary |
||
Line 44: | Line 44: | ||
|<code>Hunt the Truth</code> | |<code>Hunt the Truth</code> | ||
|- | |- | ||
|''' | |'''Season''' | ||
|Episode | | | ||
|''Optional'' | |||
|The season of the audio series that is being cited, if the media is broken down into seasons. | |||
|<code>2</code> | |||
|- | |||
|'''2''' {{C|unnamed field}} | |||
|Ep, Episode | |||
|''Optional'' | |''Optional'' | ||
|The particular episode being cited, if the media is a series. | |The particular episode being cited, if the media is a series. | ||
|<code>Episode 00: Primer</code> | |<code>Episode 00: Primer</code> | ||
|- | |- | ||
|''' | |'''T''' | ||
|Time, Timestamp | |Time, Timestamp | ||
|'''Recommended''' | |'''Recommended''' | ||
Line 99: | Line 105: | ||
====Standard usage==== | ====Standard usage==== | ||
<pre>{{Ref/Audio|Id=Rebirth|Rebirth|5:60}}</pre>{{Ref/Audio|Id=Rebirth|Rebirth|05:60}} | <pre>{{Ref/Audio|Id=Rebirth|Rebirth|5:60}}</pre>{{Ref/Audio|Id=Rebirth|Rebirth|T=05:60}} | ||
{{Ref/Sources}} | {{Ref/Sources}} | ||
====Episode field usage==== | ====Episode field usage==== | ||
<pre>{{Ref/Audio|Id=HtT|HtT|Ep=00: Primer|2:50}}</pre>{{Ref/Audio|Id=HtT|HtT| | <pre>{{Ref/Audio|Id=HtT|HtT|Ep=00: Primer|2:50}}</pre>{{Ref/Audio|Id=HtT|HtT|00: Primer|T=2:50}} | ||
{{Ref/Sources}} | {{Ref/Sources}} | ||
Latest revision as of 10:26, May 26, 2024
Description[edit]
This template should be used when citing Halo audio media, such as audio dramas. For other citation templates, see Template:Ref.
Usage[edit]
Syntax[edit]
To insert this template onto a page, place one of the following wikitext samples onto the article, and fill in as necessary. You may also add any additional parameters seen below such as a quote or particular detail you want to highlight.
Citing a standalone audio piece[edit]
{{Ref/Audio|Id=Ref ID|Audio series name or acronym|Time code}}
Citing an episode in a larger audio series[edit]
{{Ref/Audio|Id=Ref ID|Audio series name or acronym|Ep=Episode|Time code}}
Parameters[edit]
Field Name | Aliases | Optional or Required? | Description | Example |
---|---|---|---|---|
Id | - | Recommended | An ID for the reference, so it can be reused. Make it specific to your particular citation, so that it does not conflict with other IDs, and so other editors can understand it. It should always be put at the start. | ReachJFO
|
1 (unnamed field) | Audio | Required | The name of the piece of audio media. This field supports the use of Halopedia's acronym system, so CE can be used in place of Halo: Combat Evolved . If the game's page name includes a suffix, please include the AudioText field too.
|
Hunt the Truth
|
AudioText | AudioLinkText (Deprecated) | Required only if Audio includes a suffix | If the Audio page includes a suffix, this field should be filled in with what the display text of the link should be - i.e. the page name, but without the suffix.
|
Hunt the Truth
|
Season | Optional | The season of the audio series that is being cited, if the media is broken down into seasons. | 2
| |
2 (unnamed field) | Ep, Episode | Optional | The particular episode being cited, if the media is a series. | Episode 00: Primer
|
T | Time, Timestamp | Recommended | The timestamp that the cited audio takes place at. | 03:40
|
Detail | - | Optional | Any additional details you wish to specifically highlight about the cited game element. | JFO is a player customisation item
|
Quote | - | Optional | Used to cite a particular quote from the game that supports your citation. | Designed and tested at Beweglichrüstungsysteme this helmet is fully compatible with all armor systems.
|
Quotee | QuoteeLink | Optional | If Quote is used, this field can be used to specify who or what is being quoted. This field can receive a page name, in which case it will create a link. If the page name includes a suffix please include the QuoteeText .
|
Official description
|
QuoteeText | QuoteeLinkText (Deprecated) | Required only if Quotee is a page name and includes a suffix | If Quotee contains a page name, this field can be used to override the link display text.
|
Official description
|
Error states[edit]
Warnings[edit]
This template can emit the following warnings:
- Missing recommended parameter - If a recommended parameter is not passed to the template.
- Deprecated parameter - If a deprecated template parameter is used in a template call.
Errors[edit]
This template can throw the following errors:
- Missing required parameter - If a required parameter is not passed to the template.
- Invalid parameter - If an unrecognised parameter is passed to the template.
- Overwritten parameter - If the same parameter is given multiple values in the template call.
Examples[edit]
Here are some examples of what the template will output when used:
Standard usage[edit]
{{Ref/Audio|Id=Rebirth|Rebirth|5:60}}
Episode field usage[edit]
{{Ref/Audio|Id=HtT|HtT|Ep=00: Primer|2:50}}
- ^ HUNTtheTRUTH, episode 00: Primer, timestamp 2:50
Dependencies[edit]
Template dependencies[edit]
This template does not depend on any other templates.
Module dependencies[edit]
This template depends on the following Lua module:
Extension dependencies[edit]
This template requires the following extensions:
- Extension:Scribunto
- Extension:Acronym (In-house extension)
- Extension:UniqueLink (In-house extension)
Dependent templates[edit]
No other templates are known to depend on this one.