Template:Acronym/LongLink: Difference between revisions

From Halopedia, the Halo wiki

(→‎top: Updated - template renamed, replaced: Acronym/ToName → Acronym/LongName)
(→‎top: Updated - template renamed, replaced: Acronym/ToPage → Acronym/PageName)
Line 1: Line 1:
<includeonly>{{#if:{{Acronym/Exists|{{{1|}}}}}
<includeonly>{{#if:{{Acronym/Exists|{{{1|}}}}}
|[[{{Acronym/ToPage|{{{1|}}}}}|{{Acronym/LongName|{{{1|}}}}}]]
|[[{{Acronym/PageName|{{{1|}}}}}|{{Acronym/LongName|{{{1|}}}}}]]
|{{Internal/Error|No such acronym "{{{1}}}"!}}
|{{Internal/Error|No such acronym "{{{1}}}"!}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>

Revision as of 18:45, June 1, 2020

Usage

This template is used to create a link to a page corresponding to a given acronym. So, for instance, {{Acronym/Link|CE}} would produce "Template:Acronym/Link". Be warned, though: it's Halopedia convention to italicise the names of pieces of media. This template does not do that automatically, because it would not be appropriate to do so for certain acronyms - e.g. "HP", which corresponds to "Halopedia".