Template:Exp Game: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#vardefine:game1|<span class="explain" title="{{Zelda|{{{1}}}|subtitle}}" style="color:yellow">{{GameCase|{{{1}}}}}</span>}}<!--
<includeonly>{{#invoke:Exp Game|Main}}</includeonly><noinclude>{{Documentation}}</noinclude>
-->{{#vardefine:game2|{{#if:{{{2|}}}|, <span class="explain" title="{{Zelda|{{{2}}}|subtitle}}" style="color:yellow">{{GameCase|{{{2}}}}}</span>}}}}<!--
-->{{#vardefine:game3|{{#if:{{{3|}}}|, <span class="explain" title="{{Zelda|{{{3}}}|subtitle}}" style="color:yellow">{{GameCase|{{{3}}}}}</span>}}}}<!--
-->{{#vardefine:game4|{{#if:{{{4|}}}|, <span class="explain" title="{{Zelda|{{{4}}}|subtitle}}" style="color:yellow">{{GameCase|{{{4}}}}}</span>}}}}<!--
-->{{#vardefine:game5|{{#if:{{{5|}}}|, <span class="explain" title="{{Zelda|{{{5}}}|subtitle}}" style="color:yellow">{{GameCase|{{{5}}}}}</span>}}}}<!--
-->{{#vardefine:game6|{{#if:{{{6|}}}|, <span class="explain" title="{{Zelda|{{{6}}}|subtitle}}" style="color:yellow">{{GameCase|{{{6}}}}}</span>}}}}<!--
-->{{#vardefine:game7|{{#if:{{{7|}}}|, <span class="explain" title="{{Zelda|{{{7}}}|subtitle}}" style="color:yellow">{{GameCase|{{{7}}}}}</span>}}}}<!--
 
 
--><small>({{#var:game1}}{{#var:game2}}{{#var:game3}}{{#var:game4}}{{#var:game5}}{{#var:game6}}{{#var:game7}})</small><noinclude>
__NOTOC__
== Purpose ==
Use this template in [[:Category:Infobox Templates|infoboxes]] and [[Template:Names|Names in Other Regions]] tables to specify when information is true for a certain game only, in order to avoid misleading readers. The template adds the game's acronym between parentheses, in small text. The game's full title is displayed in a {{dict|tooltip}} by way of explanation (for users who don't know the acronyms).
 
For example, the "cost" field of the [[Hylian Shield]] article's infobox must use this template to indicate that the shield costs 80 Rupees specifically in ''Ocarina of Time'' and 200 in ''Twilight Princess''. Further down in the Names in Other Regions table, ExpGame also used to distinguish which names come from which games.
 
===ExpGame vs [[Template:Exp|Exp]]===
This template is intended to replace instances of [[Template:Exp]] that occupy this same function. Both templates are essentially the same, only Exp displays a little Triforce {{exp|this is an example of the 'Exp' template}} rather than a game's acronym. ExpGame is advantageous because game acronyms are meaningful, whereas little golden triangles are not. Therefore, the information is immediately available without necessarily having to hover over the triangle. This is essential as a large fraction of Zelda Wiki readership uses touch-screen mobile devices that cannot "hover."
 
==Usage==
To use this template type:
 
{{NoWikiTemp|Normal|Game Acronym}}
 
For a complete list of usable game acronyms, see [[Template:Zelda]]. Acronyms are not case sensitive and are [[Template:GameCase|standardized]]. Currently, up to seven acronyms can be added. (If a statement is true for more than seven games, ExpGame is probably not needed at all.)
 
==Examples==
* '''<nowiki>{{ExpGame|OoT}}</nowiki>'''
** {{ExpGame|OoT}}
* '''<nowiki>{{ExpGame|FS|FSA|TMC}}</nowiki>'''
** {{ExpGame|FS|FSA|TMC}}
* '''<nowiki>{{ExpGame|ALttP}}</nowiki>''' or '''<nowiki>{{ExpGame|ALTTP}}</nowiki>'''
** {{ExpGame|ALttP}}
 
 
[[Category:Formatting Templates]]</noinclude>

Latest revision as of 14:47, 13 November 2022


Purpose

Use this template in infoboxes and Names in Other Regions tables to specify when information is true for a certain game only, in order to avoid misleading readers. The template adds the game's acronym between parentheses, in small text. The game's full title is displayed in a tooltip by way of explanation (for users who don't know the acronyms).

For example, the "cost" field of the Hylian Shield article's infobox must use this template to indicate that the shield costs 80 Rupees specifically in Ocarina of Time and 200 in Twilight Princess. Further down in the Names in Other Regions table, Exp Game also used to distinguish which names come from which games.

Exp Game vs Exp

This template is intended to replace instances of Template:Exp that occupy this same function. Both templates are essentially the same, only Exp displays a little Triforce Triforce piece.png rather than a game's acronym. Exp Game is advantageous because game acronyms are meaningful, whereas little golden triangles are not. Therefore, the information is immediately available without necessarily having to hover over the triangle. This is essential as a large fraction of Zelda Wiki readership uses touch-screen mobile devices that cannot "hover."

Usage

SyntaxBoilerplate
{{Exp Game|game1, game2, ..., gameN}}
{{Exp Game|}}
ParameterStatusDescriptionAccepted values
1gamesrequiredA comma-separated list of one or more game codes.See Data:Franchise

Indicates for which game(s) a particular statement is true, when that statement is not true for all games.

Template parameters

ParameterDescriptionTypeStatus
games1

A comma-separated list of one or more [[Data:Franchise|game codes]].

Stringrequired
__

Dummy parameter. Do not use.

Unknownoptional

Examples

#InputOutputCategories added
1{{Exp Game|OoT}} (OoT)
2{{Exp Game|Series, OoT, MM}} (Series | OoT | MM)
3{{Exp Game|MM, OoT, MM, OoT}} (OoT | MM)
4{{Exp Game}}
5{{Exp Game|}}
6{{Exp Game|fakeGame}}
7{{Exp Game|OoT, fakeGame, MM}} (OoT | MM)
The above documentation is transcluded from Template:Exp Game/Documentation. (edit | history)