|
|
(16 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <includeonly><!-- | | <includeonly>{{#invoke:ref|game}}</includeonly><noinclude>{{Doc/Template}} [[Category:Reference templates]]</noinclude> |
| -->{{Ref<!--
| |
| -->|Id={{{Id|}}}<!--
| |
| -->|<!--
| |
| -->{{Ref/Format<!--
| |
| -->|Type=Game<!--
| |
| -->|Subject=<!--
| |
| --><!-- First, check whether the given name matches a Halopedia acronym --><!--
| |
| -->{{#if:{{#vardefineecho:template-ref-game-acronym|{{Acronym/Game|{{{1|{{{Game}}}}}}|NoPassthrough=yes}}}}<!--
| |
| --><!-- If it does, link to the corresponding page (and disable the exists check because we know it will exist) --><!--
| |
| -->|{{Internal/Ref/Link|{{Acronym/PageName|{{#var:template-ref-game-acronym}}}}|{{#if:{{{GameLinkText|}}}|{{{GameLinkText}}}|{{Acronym/ShortName|{{#var:template-ref-game-acronym}}}}}}|NoExistsCheck=true}}<!--
| |
| --><!-- Otherwise, treat the given value as if it were a page title and delegate to the Internal/Ref/Link template --><!--
| |
| -->|{{Internal/Ref/Link|{{{1|{{{Game}}}}}}|{{{GameLinkText|{{{1|{{{Game}}}}}}}}}}}<!--
| |
| -->}}<!--
| |
| -->|Section=<!--
| |
| -->{{#if:{{{3|{{{Section|}}}}}}<!--
| |
| -->|{{Internal/Ref/Link|{{{2|{{{Section}}}}}}|{{{SectionLinkText|{{{2|{{{Section}}}}}}}}}}}<!--
| |
| -->}}<!--
| |
| -->|{{#if:{{{3|}}}|{{{3|{{{Text}}}}}}|{{{2|{{{Text}}}}}}}}<!--
| |
| -->|{{{4|}}}<!--
| |
| -->|{{{5|}}}<!--
| |
| -->|{{{6|}}}<!--
| |
| -->|{{{7|}}}<!--
| |
| -->|Detail={{{Detail|}}}<!--
| |
| -->|Quote={{{Quote|}}}<!--
| |
| -->|Quotee={{{Quotee|}}}<!--
| |
| -->|Suffix={{{Suffix|}}}<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| --></includeonly><noinclude>{{Documentation}}</noinclude>
| |