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
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{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>


|himekawa= [[The Legend of Zelda: Oracle of Ages (Himekawa)|''Oracle of Ages'' {{#if:{{{2|}}}|(Himekawa)|manga}}]] {{#if:{{{2|}}}||by [[Akira Himekawa]]}}
==Purpose==
 
Including a correctly formatted link to products named {{OoA|-}}.
|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 {{#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, comic or manga. To use this template, type:
{{NoWikiTemp|Normal|Page|-}}
 
{{NoWikiTemp|Normal|Author|Title Only}}


All fields are ''optional'':
{{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}}
{{parameter|Author|Entering the author of a comic or manga will output a correctly formatted link. Can be "Himekawa" or "Wessel".}}
{{parameter|Title Only|Any text entered here omits the word "manga" or "comic" and outputs only the title.}}


===Examples===
===Examples===
<code><nowiki>{{OoA|Himekawa}}</nowiki></code> = {{OoA|Himekawa}}
{| class="wikitable"
 
! Input
<code><nowiki>{{OoA|Himekawa|-}}</nowiki></code> = {{OoA|Himekawa|-}}
! Output
 
|-
<code><nowiki>{{OoA|Wessel}}</nowiki></code> = {{OoA|Wessel}}
| <code><nowiki>{{OoA}}</nowiki></code>
 
| {{OoA}}
<code><nowiki>{{OoA|Wessel|-}}</nowiki></code> = {{OoA|Wessel|-}}
|-
| <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)