Template:OoA: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
No edit summary
(Undid revision 698198 by TriforceTony (Talk))
Tag: Undo
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#switch:{{{1}}}
{{#switch:{{lc:{{{1}}}}}
|-        = ''Oracle of Ages''
|himekawa = {{#if: {{{3|}}} | ''Oracle of Ages'' (Himekawa)| [[The Legend of Zelda: Oracle of Ages (Himekawa)|''Oracle of Ages'' {{#if:{{{2|}}}|(Himekawa)|manga}}]] {{#if:{{{2|}}}||by [[Akira Himekawa]]}} }}
|wessel  = [[The Legend of Zelda: Oracle of Ages (Wessel)|''Oracle of Ages'' {{#if:{{{2|}}}|(Wessel)|book}}]] {{#if:{{{2|}}}||by Craig Wessel}}
|#default = ''[[The Legend of Zelda: Oracle of Ages|Oracle of Ages]]''}}<noinclude>


|manga
==Purpose==
|Manga=[[The Legend of Zelda: Oracle of Ages (Manga)|''Oracle of Ages'' {{#if:{{{2|}}}||manga}}]]
Including a correctly formatted link to products named {{OoA|-}}.
 
|wessel
|Wessel=[[The Legend of Zelda: Oracle of Ages (Wessel)|''Oracle of Ages'' {{#if:{{{2|}}}||book}}]]
 
|#default=
''[[The Legend of Zelda: Oracle of Ages{{#if:{{{1|}}}|&nbsp;({{{1}}})|}}|Oracle of Ages]]''}}<noinclude>


==Usage==
==Usage==
This template is used as a shortcut for using a correctly formatted link to the ''Oracle of Ages'' game, manga or book. To use this template, type:
{{NoWikiTemp|Normal|Page|-}}
 
{{NoWikiTemp|Normal|Page|Title Only}}
 
All fields are ''optional'':


{{parameter|Page|Entering the type of page will output a correctly formatted link. Can be "Manga" or "Wessel".}}
{{Parameter|Page|Entering the type of page will output a correctly formatted link. See options below.                   |Optional}}
{{parameter|Title Only|Any text entered here omits the word "manga" and outputs only the title.}}
{{Parameter||Entering <code>-</code> here formats the output differently. Useful in some contexts. See outputs below.|Optional}}


===Examples===
===Examples===
<code><nowiki>{{OoA|Manga}}</nowiki></code> = [[The Legend of Zelda: Oracle of Ages (Manga)|''Oracle of Ages'' manga]]
{| class="wikitable"
 
! Input
<code><nowiki>{{OoA|Wessel}}</nowiki></code> = [[The Legend of Zelda: Oracle of Ages (Wessel)|''Oracle of Ages'' book]]
! Output
 
|-
<code><nowiki>{{OoA|Manga|-}}</nowiki></code> = [[The Legend of Zelda: Oracle of Ages (Manga)|''Oracle of Ages'']]
| <code><nowiki>{{OoA}}</nowiki></code>
| {{OoA}}
|-
| <code><nowiki>{{OoA|-}}</nowiki></code>
| {{OoA|-}}
|-
| <code><nowiki>{{OoA|Himekawa}}</nowiki></code>
| {{OoA|Himekawa}}
|-
| <code><nowiki>{{OoA|Himekawa|-}}</nowiki></code>
| {{OoA|Himekawa|-}}
|-
| <code><nowiki>{{OoA|Himekawa|-|-}}</nowiki></code>
| {{OoA|Himekawa|-|-}}
|-
| <code><nowiki>{{OoA|Wessel}}</nowiki></code>
| {{OoA|Wessel}}
|-
| <code><nowiki>{{OoA|Wessel|-}}</nowiki></code>
| {{OoA|Wessel|-}}
|}


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

Latest revision as of 05:01, 2 April 2019

Oracle of Ages

Purpose

Including a correctly formatted link to products named Oracle of Ages.

Usage

    {{OoA|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
{{OoA}} Oracle of Ages
{{OoA|-}} Oracle of Ages
{{OoA|Himekawa}} Oracle of Ages manga by Akira Himekawa
{{OoA|Himekawa|-}} Oracle of Ages (Himekawa)
{{OoA|Himekawa|-|-}} Oracle of Ages (Himekawa)
{{OoA|Wessel}} Oracle of Ages book by Craig Wessel
{{OoA|Wessel|-}} Oracle of Ages (Wessel)