Template:GameAbbrTag: Difference between revisions

From Step Mods | Change The Game
(Created page with "<includeonly><abbr title="{{{1}}}">{{#switch:{{{1|}}} | BeyondSkyrim | BYS = Beyond Skyrim | Fallout3 | FO3 = Fallout 3 | Fallout4 | FO4 = Fallout 4 | FalloutNV | FNV = Fallou...")
 
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><abbr title="{{{1}}}">{{#switch:{{{1|}}}
<includeonly><abbr title="{{#switch:{{{1|}}}
| BeyondSkyrim | BYS = Beyond Skyrim
| BeyondSkyrim | BYS = Beyond Skyrim
| Fallout3 | FO3 = Fallout 3
| Fallout3 | FO3 = Fallout 3
| Fallout4 | FO4 = Fallout 4
| Fallout4 | FO4 = Fallout 4
| FalloutNV | FNV = Fallout New Vegas
| FalloutNV | FNV = Fallout New Vegas
| Morroblivion | MOB = Morroblivion
| MMOB = Morroblivion
| Morrowind | MOR = Morrowind
| MOR = Morrowind
| Oblivion | OBL = Oblivion
| OBL = Oblivion
| Skyblivion | SKB = Skyblivion
| SKB = Skyblivion
| SkyrimAE | SAE = Skyrim Anniversary Edition
| SkyrimAE | SAE = Skyrim Anniversary Edition
| SkyrimLE | SLE = Skyrim Legendary Edition
| SkyrimLE | SLE = Skyrim Legendary Edition
| SkyrimSE | SSE = Skyrim Special Edition
| SkyrimSE | SSE = Skyrim Special Edition
| SkyrimVR | SVR = Skyrim VR
| SkyrimVR | SVR = Skyrim VR
| Skywind | SKW = Skywind
| SKW = Skywind
| NoMansSky | NMS = No Man's Sky}}</abbr></includeonly><noinclude>__NOTOC__ [[Category:Helper Templates]]<!--[https://stepmodifications.org/forum/topic/9769-font-color/ '''Forum Topic''']-->
| NoMansSky | NMS = No Man's Sky}}">{{{1}}}</abbr></includeonly><noinclude>__NOTOC__ [[Category:Helper Templates]]<!--[https://stepmodifications.org/forum/topic/9769-font-color/ '''Forum Topic''']-->


==Purpose & Usage==
==Purpose & Usage==
Used to provide common abbreviations for games primarily so that guides and other common markup can be shared across GameSpaces ([[Property:Game]]). This will convert input text into an abbreviation with an HTML tag.
Used to provide HTML <abbr> tags for GameSpace ([[Property:Game]]) abbreviations to provide a mouse-over for the user and help out with SEO.


=== Required Parameters ===
=== Required Parameters ===
Line 30: Line 30:
===Fully Specified===
===Fully Specified===
'''Code:'''
'''Code:'''
<pre>{{Abbreviation|Fallout 3}}</pre>
<pre>{{GameAbbrTag|FO3}}</pre>
'''Result:''' {{Abbreviation|Fallout 3}}
'''Result:''' {{GameAbbrTag|FO3}}


<hr class="my-5">
<hr class="my-5">


'''Code:'''
'''Code:'''
<pre>{{Abbreviation|Fallout3}}</pre>
<pre>{{GameAbbrTag|Fallout3}}</pre>
'''Result:''' {{Abbreviation|Fallout3}}
'''Result:''' {{GameAbbrTag|Fallout3}}


<hr class="my-5">
<hr class="my-5">


'''Code:'''
'''Code:'''
<pre>{{Abbreviation|No Man's Sky}}</pre>
<pre>{{GameAbbrTag|NoMansSky}}</pre>
'''Result:''' {{Abbreviation|No Man's Sky}}
'''Result:''' {{GameAbbrTag|NoMansSky}}


== See Also ==
== See Also ==
* [[:Template:Abbreviation]]
* [[:Template:Abbreviation]]
* [[:Template:AbbreviationTagged]]
* [[:Template:XEditSwitch]]
* [[:Template:XEditSwitch]]



Latest revision as of 21:01, March 10, 2022


Purpose & Usage

Used to provide HTML tags for GameSpace (Property:Game) abbreviations to provide a mouse-over for the user and help out with SEO.

Required Parameters

This template uses a single 'anonymous' parameter.

Optional Parameters

Not applicable.

Examples

Default Call

No applicable

Fully Specified

Code:

{{GameAbbrTag|FO3}}

Result: FO3


Code:

{{GameAbbrTag|Fallout3}}

Result: Fallout3


Code:

{{GameAbbrTag|NoMansSky}}

Result: NoMansSky

See Also