Template:Acronym/LongLink: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{Acronym/Exists|{{{1|}}}}} | <includeonly>{{#if:{{Acronym/Exists|{{{1|}}}}} | ||
|[[{{Acronym/ToPage|{{{1|}}}}}|{{Acronym/ToName|{{{1|}}}}}]] | |[[{{Acronym/ToPage|{{{1|}}}}}|{{Acronym/ToName|{{{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/Link|CE}}</nowiki></code> would produce "{{Acronym/Link|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". | This template is used to create a link to a page corresponding to a given [[Halopedia:Acronyms|acronym]]. So, for instance, <code><nowiki>{{Acronym/Link|CE}}</nowiki></code> would produce "{{Acronym/Link|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> |
Revision as of 19:51, May 31, 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".