Template:ST: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
No edit summary
(updated doc)
Line 1: Line 1:
{{#switch:{{{1}}}
{{#switch:{{lc:{{{1}}}}}
|-        = ''Spirit Tracks''
|object  = [[Spirit Tracks (Object)|Spirit Tracks]]
|#default = ''[[The Legend of Zelda: Spirit Tracks{{#if:{{{1|}}}|&nbsp;({{{1}}})|}}|Spirit Tracks]]''}}<noinclude>


|object
==Purpose==
|Object = [[Spirit Tracks (Object)|Spirit Tracks]]
Including a correctly formatted link to products named {{ST|-}}.
 
|-      = ''Spirit Tracks''
 
|#default=
''[[The Legend of Zelda: Spirit Tracks{{#if:{{{1|}}}|&nbsp;({{{1}}})|}}|Spirit Tracks]]''}}<noinclude>


==Usage==
==Usage==
This template is used as a shortcut for using a correctly formatted link to the ''Spirit Tracks'' game or object. To use this template, type:
{{NoWikiTemp|Normal|Page|-}}


{{NoWikiTemp|Normal|Option}}
{{Parameter|Page|Entering the type of page will output a correctly formatted link. See options below.                    |Optional}}
 
{{Parameter||Entering <code>-</code> here formats the output differently. Useful in some contexts. See outputs below.|Optional}}
All fields are ''optional'':
 
{{Parameter|Option|Entering <code>Object</code> here will output a correctly formatted link to the object. Entering <code>-</code> will output the name of the game italicized.}}


===Examples===
===Examples===
Line 25: Line 20:
| <code><nowiki>{{ST}}</nowiki></code>
| <code><nowiki>{{ST}}</nowiki></code>
| {{ST}}
| {{ST}}
|-
| <code><nowiki>{{ST|-}}</nowiki></code>
| {{ST|-}}
|-
|-
| <code><nowiki>{{ST|Object}}</nowiki></code>
| <code><nowiki>{{ST|Object}}</nowiki></code>
| {{ST|Object}}
| {{ST|Object}}
|-
| <code><nowiki>{{ST|-}}</nowiki></code>
| {{ST|-}}
|}
|}


[[Category:Game Links]]
[[Category:Game Links]]
</noinclude>
</noinclude>

Revision as of 19:42, 25 February 2018

Spirit Tracks

Purpose

Including a correctly formatted link to products named Spirit Tracks.

Usage

    {{ST|Page |- }}

  • Page — Entering the type of page will output a correctly formatted link. See options below.
  • - — Entering - here formats the output differently. Useful in some contexts. See outputs below.

Examples

Code Output
{{ST}} Spirit Tracks
{{ST|-}} Spirit Tracks
{{ST|Object}} Spirit Tracks