Template:Abbreviation: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><abbr title="{{{1}}}">{{#switch:{{{1|}}}
<includeonly>{{#switch:{{{1|}}}
| BeyondSkyrim | Beyond Skyrim = BYS
| BeyondSkyrim | Beyond Skyrim = BYS
| Fallout3 | Fallout 3 = FO3
| Fallout3 | Fallout 3 = FO3
Line 13: Line 13:
| SkyrimVR | Skyrim VR = SVR
| SkyrimVR | Skyrim VR = SVR
| Skywind | Skywind = SKW
| Skywind | Skywind = SKW
| NoMansSky | No Man's Sky = NMS}}</abbr></includeonly><noinclude>__NOTOC__ [[Category:Helper Templates]]<!--[https://stepmodifications.org/forum/topic/9769-font-color/ '''Forum Topic''']-->
| Starfield | Starfield = STF
| NoMansSky | No Man's Sky = NMS}}</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 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. To include the HTML tagged abbreviation, use [[:Template:AbbreviationTagged]] (not suitable for use in URLs!).


=== Required Parameters ===
=== Required Parameters ===
Line 46: Line 47:


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






</noinclude>
</noinclude>

Latest revision as of 18:10, August 29, 2023


Purpose & Usage[edit source]

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. To include the HTML tagged abbreviation, use Template:AbbreviationTagged (not suitable for use in URLs!).

Required Parameters[edit source]

This template uses a single 'anonymous' parameter.

Optional Parameters[edit source]

Not applicable.

Examples[edit source]

Default Call[edit source]

No applicable

Fully Specified[edit source]

Code:

{{Abbreviation|Fallout 3}}

Result: FO3


Code:

{{Abbreviation|Fallout3}}

Result: FO3


Code:

{{Abbreviation|No Man's Sky}}

Result: NMS

See Also[edit source]