Template:Acronym/LongLink: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{Acronym/Exists|{{{1|}}}}} | <includeonly>{{#if:{{Acronym/Exists|{{{1|}}}}} | ||
|[[{{Acronym/ | |[[{{Acronym/PageName|{{{1|}}}}}|{{Acronym/LongName|{{{1|}}}}}]] | ||
| | |{{Internal/Error|No such acronym "{{{1}}}"!}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This template is used to create a link to a page corresponding to a given [[Halopedia:Acronyms|acronym]]. So, for instance, <code><nowiki>{{Acronym/ | This template is used to create a link to a page corresponding to a given [[Halopedia:Acronyms|acronym]], using the full version of the topic's name. So, for instance, <code><nowiki>{{Acronym/LongLink|CE}}</nowiki></code> would produce "{{Acronym/LongLink|CE}}". 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". | ||
</noinclude> | </noinclude> |
Latest revision as of 19:12, June 1, 2020
Usage
This template is used to create a link to a page corresponding to a given acronym, using the full version of the topic's name. So, for instance, {{Acronym/LongLink|CE}}
would produce "Halo: Combat Evolved". 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".