Template:OoT: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
|-        = ''Ocarina of Time''
|himekawa = [[The Legend of Zelda: Ocarina of Time (Himekawa)|''Ocarina of Time'' {{#if:{{{2|}}}|(Himekawa)|manga}}]] {{#if:{{{2|}}}||by [[Akira Himekawa]]}}
|nintendo power|comic    = [[The Legend of Zelda: Ocarina of Time (Nintendo Power)|''Ocarina of Time'' {{#if:{{{2|}}}|(Nintendo Power)|comic}}]] {{#if:{{{2|}}}||by the German [[Nintendo Power]]}}
|#default = ''[[The Legend of Zelda: Ocarina of Time|Ocarina of Time]]''}}<noinclude>


|himekawa= [[The Legend of Zelda: Ocarina of Time (Himekawa)|''Ocarina of Time'' {{#if:{{{2|}}}|(Himekawa)|manga}}]] {{#if:{{{2|}}}||by [[Akira Himekawa]]}}
==Purpose==
 
Including a correctly formatted link to products named {{OoT|-}}.
|item= [[Ocarina of Time (Item)|Ocarina of Time]]
 
|comic= [[The Legend of Zelda: Ocarina of Time (Comic)|''Ocarina of Time'' {{#if:{{{2|}}}|(Comic)|comic}}]] {{#if:{{{2|}}}||by the German [[Nintendo Power]]}}
 
|#default= ''[[The Legend of Zelda: Ocarina of Time {{#if:{{{1|}}}|&nbsp;({{{1}}})|}}|Ocarina of Time]]''}}<noinclude>


==Usage==
==Usage==
This template is used as a shortcut for using a correctly formatted link to the ''Ocarina of Time' game, item, comic or manga. To use this template, type:
{{NoWikiTemp|Normal|Page|-}}


{{NoWikiTemp|Normal|Author / Item|Title Only}}
{{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|Author / Item|Entering the author of a comic or manga will output a correctly formatted link. Can be "Item", "Comic" or "Himekawa".}}
{{parameter|Title Only|Any text entered here omits the word "manga" or "comic" and outputs only the title.}}


===Examples===
===Examples===
<code><nowiki>{{OoT|Himekawa}}</nowiki></code> = {{OoT|Himekawa}}
{| class="wikitable"
 
! Input
<code><nowiki>{{OoT|Himekawa|-}}</nowiki></code> = {{OoT|Himekawa|-}}
! Output
 
|-
<code><nowiki>{{OoT|Comic}}</nowiki></code> = {{OoT|Comic}}
| <code><nowiki>{{OoT}}</nowiki></code>
 
| {{OoT}}
<code><nowiki>{{OoT|Comic|-}}</nowiki></code> = {{OoT|Comic|-}}
|-
 
| <code><nowiki>{{OoT|-}}</nowiki></code>
<code><nowiki>{{OoT|Item}}</nowiki></code> = {{OoT|Item}}
| {{OoT|-}}
|-
| <code><nowiki>{{OoT|Nintendo Power}}</nowiki></code>
| {{OoT|Nintendo Power}}
|-
| <code><nowiki>{{OoT|Nintendo Power|-}}</nowiki></code>
| {{OoT|Nintendo Power|-}}
|-
| <code><nowiki>{{OoT|Himekawa}}</nowiki></code>
| {{OoT|Himekawa}}
|-
| <code><nowiki>{{OoT|Himekawa|-}}</nowiki></code>
| {{OoT|Himekawa|-}}
|}


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

Latest revision as of 01:30, 14 February 2021

Ocarina of Time

Purpose

Including a correctly formatted link to products named Ocarina of Time.

Usage

    {{OoT|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

Input Output
{{OoT}} Ocarina of Time
{{OoT|-}} Ocarina of Time
{{OoT|Nintendo Power}} Ocarina of Time comic by the German Nintendo Power
{{OoT|Nintendo Power|-}} Ocarina of Time (Nintendo Power)
{{OoT|Himekawa}} Ocarina of Time manga by Akira Himekawa
{{OoT|Himekawa|-}} Ocarina of Time (Himekawa)