Template:Acronym/LongName: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}
<includeonly>{{#acronym:all|{{{1}}}|titlelong|{{Internal/Error/InvalidParam|No such acronym "{{{1}}}"!}}}}</includeonly><noinclude>
<!-- ####### OFFICIAL ###### -->
| HP    = Halopedia
<!-- ####### GAMES ####### -->
| CE    = Halo: Combat Evolved
| HCE    = Halo: Combat Evolved
| H1    = Halo: Combat Evolved
| H1C    = Halo: Combat Evolved
| H1X    = Halo: Combat Evolved
| PC    = Halo: Combat Evolved for PC
| HPC    = Halo: Combat Evolved for PC
| CuEd  = Halo Custom Edition
| H2    = Halo 2
| H2C    = Halo 2
| H2X    = Halo 2
| H2V    = Halo 2 for Windows Vista
| H2PC  = Halo 2 for Windows Vista
| H3    = Halo 3
| HW    = Halo Wars
| ODST  = Halo 3: ODST
| H3ODST = Halo 3: ODST
| H3M    = Halo 3: Mythic
| HR    = Halo: Reach
| HA    = Halo: Combat Evolved Anniversary
| CEA    = Halo: Combat Evolved Anniversary
| HCEA  = Halo: Combat Evolved Anniversary
| KotH  = Halo 4: King of the Hill Fueled by Mountain Dew
| H4KotH = Halo 4: King of the Hill Fueled by Mountain Dew
| H4    = Halo 4
| SA    = Halo: Spartan Assault
| HSA    = Halo: Spartan Assault
| MCC    = Halo: The Master Chief Collection
| HMCC  = Halo: The Master Chief Collection
| TMCC  = Halo: The Master Chief Collection
| HTMCC  = Halo: The Master Chief Collection
| H2A    = Halo 2: Anniversary
| SS    = Halo: Spartan Strike
| HSS    = Halo: Spartan Strike
| H5    = Halo 5: Guardians
| H5G    = Halo 5: Guardians
| H5F    = Halo 5: Forge
| HWDE  = Halo Wars: Definitive Edition
| HW2    = Halo Wars 2
| FTR    = Halo: Fireteam Raven
| HFR    = Halo: Fireteam Raven
| HFTR  = Halo: Fireteam Raven
| HI    = Halo Infinite
| HInf  = Halo Infinite
<!-- ####### NOVELS ####### -->
| TFoR  = Halo: The Fall of Reach
<!-- ####### DEFAULT ###### -->
| #default = '''TEMPLATE ERROR:''' No such acronym "{{{1}}}"!
}}</includeonly><noinclude>
==Usage==
==Usage==
This template converts one of Halopedia's two-to-six character long [[Halopedia:Acronyms|acronyms]] into the full name of the topic that corresponds to the acronym. For instance, <code><nowiki>{{Acronym/ToPage|CE}}</nowiki></code> produces "{{Acronym/ToPage|CE}}".
This template converts one of Halopedia's two-to-six character long [[Halopedia:Acronyms|acronyms]] into the full name of the topic that corresponds to the acronym, including all subtitles. For instance, <code><nowiki>{{Acronym/LongName|CE}}</nowiki></code> produces "{{Acronym/LongName|CE}}" and <code><nowiki>{{Acronym/LongName|SiSto}}</nowiki></code> produces "{{Acronym/LongName|SiSto}}".


However, '''be warned:''' what this template returns is ''not'' guaranteed to be a valid page name on Halopedia! If you're looking to link to a page using an acronym, the template you're looking for is [[Template:Acronym/ToPage]]!
However, '''be warned:''' what this template returns is ''not'' guaranteed to be a valid page name on Halopedia! If you're looking to link to a page using an acronym, the template you're looking for is [[Template:Acronym/PageName]]!
</noinclude>
</noinclude>

Latest revision as of 19:32, June 17, 2020

Usage

This template converts one of Halopedia's two-to-six character long acronyms into the full name of the topic that corresponds to the acronym, including all subtitles. For instance, {{Acronym/LongName|CE}} produces "Halo: Combat Evolved" and {{Acronym/LongName|SiSto}} produces "Halo: Silent Storm – A Master Chief Story".

However, be warned: what this template returns is not guaranteed to be a valid page name on Halopedia! If you're looking to link to a page using an acronym, the template you're looking for is Template:Acronym/PageName!