Template:Ref/Game: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
-->{{#if:{{#vardefineecho:template-ref-game-acronym|{{Acronym/Game|{{{1|{{{Game}}}}}}|NoPassthrough=yes}}}}<!-- | -->{{#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) --><!-- | --><!-- 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}}}}|{{{ | -->|{{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 --><!-- | --><!-- 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}}}}}}}}}}}<!-- | -->|{{Internal/Ref/Link|{{{1|{{{Game}}}}}}|{{{GameLinkText|{{{1|{{{Game}}}}}}}}}}}<!-- |