Template:Ref/SpOps: Difference between revisions
From Halopedia, the Halo wiki
m (→top: Moving page, replaced: {{Documentation → {{Doc/Template) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{Id|}}} | <includeonly>{{#if:{{{Id|}}} | ||
|<!-- REF HAS ID -->{{#tag:ref | |<!-- REF HAS ID -->{{#tag:ref | ||
|''{{#uniquelink:Halo 4|Halo 4|ref}}'' - {{#uniquelink:Spartan Ops|Spartan Ops|ref}}{{#if:{{{1|{{{Episode|}}}}}}|, episode {{#uniquelinkifexists:{{{1}}}|{{{EpisodeLinkText|{{{1|{{{Episode|}}}}}}}}}|ref}}{{#if:{{{2|{{{Level|}}}}}}|, level {{#uniquelinkifexists:{{{2|{{{Level}}}}}}|{{{LevelLinkText|{{{2|{{{Level}}}}}}}}}}}}}}}{{#if:{{{Detail|{{{Quote|}}}}}}|<nowiki>:</nowiki> {{{Detail|}}}{{#if:{{{Quote|}}}|<nowiki> </nowiki>''"{{{Quote}}}"''{{#if:{{{Quotee|}}}|<nowiki> - </nowiki>{{#uniquelinkifexists:{{{Quotee}}}|{{{QuoteeLinkText|{{{Quotee}}}}}}|ref}}}}}}}} {{#if:{{{Suffix|}}}|<small>{{{Suffix}}}</small>}} | |''{{#uniquelink:Halo 4|Halo 4|ref}}'' - {{#uniquelink:Spartan Ops|Spartan Ops|ref}}{{#if:{{{1|{{{Episode|}}}}}}|, episode {{#uniquelinkifexists:{{{1|{{{Episode}}}}}}|{{{EpisodeLinkText|{{{1|{{{Episode|}}}}}}}}}|ref}}{{#if:{{{2|{{{Level|}}}}}}|, level {{#uniquelinkifexists:{{{1|{{{Episode}}}}}}/{{{2|{{{Level}}}}}}|{{{LevelLinkText|{{{2|{{{Level}}}}}}}}}}}}}}}{{#if:{{{Detail|{{{Quote|}}}}}}|<nowiki>:</nowiki> {{{Detail|}}}{{#if:{{{Quote|}}}|<nowiki> </nowiki>''"{{{Quote}}}"''{{#if:{{{Quotee|}}}|<nowiki> - </nowiki>{{#uniquelinkifexists:{{{Quotee}}}|{{{QuoteeLinkText|{{{Quotee}}}}}}|ref}}}}}}}} {{#if:{{{Suffix|}}}|<small>{{{Suffix}}}</small>}} | ||
|name={{{Id}}} | |name={{{Id}}} | ||
}} | }} | ||
|<!-- REF LACKS ID -->{{#tag:ref | |<!-- REF LACKS ID -->{{#tag:ref | ||
|''{{#uniquelink:Halo 4|Halo 4|ref}}'' - {{#uniquelink:Spartan Ops|Spartan Ops|ref}}{{#if:{{{1|{{{Episode|}}}}}}|, episode {{#uniquelinkifexists:{{{1}}}|{{{EpisodeLinkText|{{{1|{{{Episode|}}}}}}}}}|ref}}{{#if:{{{2|{{{Level|}}}}}}|, level {{#uniquelinkifexists:{{{2|{{{Level}}}}}}|{{{LevelLinkText|{{{2|{{{Level}}}}}}}}}}}}}}}{{#if:{{{Detail|{{{Quote|}}}}}}|<nowiki>:</nowiki> {{{Detail|}}}{{#if:{{{Quote|}}}|<nowiki> </nowiki>''"{{{Quote}}}"''{{#if:{{{Quotee|}}}|<nowiki> - </nowiki>{{#uniquelinkifexists:{{{Quotee}}}|{{{QuoteeLinkText|{{{Quotee}}}}}}|ref}}}}}}}} {{#if:{{{Suffix|}}}|<small>{{{Suffix}}}</small>}} | |''{{#uniquelink:Halo 4|Halo 4|ref}}'' - {{#uniquelink:Spartan Ops|Spartan Ops|ref}}{{#if:{{{1|{{{Episode|}}}}}}|, episode {{#uniquelinkifexists:{{{1|{{{Episode}}}}}}|{{{EpisodeLinkText|{{{1|{{{Episode|}}}}}}}}}|ref}}{{#if:{{{2|{{{Level|}}}}}}|, level {{#uniquelinkifexists:{{{1|{{{Episode}}}}}}/{{{2|{{{Level}}}}}}|{{{LevelLinkText|{{{2|{{{Level}}}}}}}}}}}}}}}{{#if:{{{Detail|{{{Quote|}}}}}}|<nowiki>:</nowiki> {{{Detail|}}}{{#if:{{{Quote|}}}|<nowiki> </nowiki>''"{{{Quote}}}"''{{#if:{{{Quotee|}}}|<nowiki> - </nowiki>{{#uniquelinkifexists:{{{Quotee}}}|{{{QuoteeLinkText|{{{Quotee}}}}}}|ref}}}}}}}} {{#if:{{{Suffix|}}}|<small>{{{Suffix}}}</small>}} | ||
}} | }} | ||
}}</includeonly><noinclude>{{Doc/Template}} [[Category:Reference templates]]</noinclude> | }}</includeonly><noinclude>{{Doc/Template}} [[Category:Reference templates]]</noinclude> |
Latest revision as of 09:16, November 13, 2022
Usage
This template should be used when referencing a Spartan Ops level. For other citation templates, see Template:Ref. For more reference templates, see Template:Ref.
{{Ref/SpOps |Id= |Episode= |Level= |Detail= |Quote= |Quotee= }}
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 |
Episode | Optional | ||
Level | Required | ||
Detail | Optional | Used to describe the item in question. | |
Quote | Optional | When citing a particular quote from the game, this should be used. However, it cannot be used if the Details field is used.
|
|
Quotee | Optional | This is to put who or what said a "quote" |