Template:Ref/Level: Difference between revisions

From Halopedia, the Halo wiki

(Testing optimisation)
No edit summary
Line 1: Line 1:
<includeonly>{{Ref
<includeonly>{{#if:{{{Id|}}}
|''{{#if:{{#vardefineecho:ref-acronym|{{Acronym/Game|{{{1|{{{Game}}}}}}}}|NoPassthrough=yes}}|{{#uniquelink:{{Acronym/PageName|{{#var:ref-acronym}}|NoSanitise=yes}}|{{{GameLinkText|{{Acronym/ShortName|{{#var:ref-acronym}}|NoSanitise=yes}}}}}|ref}}|{{#uniquelinkifexists:{{{1|{{{Game}}}}}}|{{{GameLinkText|{{{1|{{{Game}}}}}}}}}|ref}}}}'', campaign level {{#uniquelinkifexists:{{{2|{{{Level}}}}}}|{{{LevelLinkText|{{{2|{{{Level}}}}}}}}}|ref}}
|<!-- REF HAS ID -->{{#tag:ref
|Id={{{Id|}}}
|''{{#uniquelinkifexists:{{#acronym:game|{{{1|{{{Game}}}}}}|page|{{{1|{{{Game}}}}}}}}|{{{GameLinkText|{{#acronym:game|{{{1|{{{Game}}}}}}|title|{{{1|{{{Game}}}}}}}}}}}|ref}}''{{#if:{{{Section|}}}|<nowiki> - </nowiki>{{#uniquelinkifexists:{{{Section|}}}|{{{SectionLinkText|{{{Section}}}}}}|ref}}}}, campaign level {{#uniquelinkifexists:{{{2|{{{Level}}}}}}|{{{3|{{{LevelLinkText|{{{2|{{{Level}}}}}}}}}}}}|ref}}{{#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>}}
}}<!--{{Ref/Game|{{{1|{{{Game}}}}}}|campaign level {{#uniquelinkifexists:{{{2|{{{Level}}}}}}|{{{LevelLinkText|{{{2|{{{Level}}}}}}}}}|ref}}|{{{3|{{{Section|}}}}}}|Id={{{Id|}}}|GameLinkText={{{GameLinkText|}}}|Detail={{{Detail|}}}|Quote={{{Quote|}}}|Quotee={{{Quotee|}}}}}--></includeonly><noinclude>
|name={{{Id}}}
 
}}
==Usage==
|<!-- REF LACKS ID -->{{#tag:ref
This template is used to cite particular levels in a game.
|''{{#uniquelinkifexists:{{#acronym:game|{{{1|{{{Game}}}}}}|page|{{{1|{{{Game}}}}}}}}|{{{GameLinkText|{{#acronym:game|{{{1|{{{Game}}}}}}|title|{{{1|{{{Game}}}}}}}}}}}|ref}}''{{#if:{{{Section|}}}|<nowiki> - </nowiki>{{#uniquelinkifexists:{{{Section|}}}|{{{SectionLinkText|{{{Section}}}}}}|ref}}}}, campaign level {{#uniquelinkifexists:{{{2|{{{Level}}}}}}|{{{3|{{{LevelLinkText|{{{2|{{{Level}}}}}}}}}}}}|ref}}{{#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>}}
</noinclude>
}}
}}</includeonly><noinclude>{{Documentation}} [[Category:Reference templates]]</noinclude>

Revision as of 08:06, June 18, 2020