Template:Term/Documentation: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
Line 8: Line 8:
{{NoWikiTemp|Normal|<game>|<topic>|link|display{{=}}}}
{{NoWikiTemp|Normal|<game>|<topic>|link|display{{=}}}}


{{Parameter|<game>      |The game from which to fetch the term of the given topic.|Required}}
{{Parameter|<game>      |The game from which to fetch the term of the given topic. Defaults to <code>Series</code>.|Required}}
{{Parameter|<topic>    |The name of the page of said topic. (ex: <code>Boss Key</code> for <code>Nightmare Key</code> and <code>Big Key</code>)|Required}}
{{Parameter|<topic>    |The name of the page of said topic. (ex: <code>Boss Key</code> for <code>Nightmare Key</code> and <code>Big Key</code>)|Required}}
{{Parameter|link        |Entering anything in this field will output the result as a link. (Enter <code>link</code> for standardization)|Optional}}
{{Parameter|link        |Entering anything in this field will output the result as a link. (Enter <code>link</code> for standardization)|Optional}}

Revision as of 01:20, 27 April 2019

Purpose

Returns the proper singular form of a term for any given topic in The Legend of Zelda series. Terms are stored using Template:Term/Store.

Note: To return the plural form of a term, see Template:Plural.

Usage

    {{Term/Documentation|<game> |<topic> |link |display= }}

  • <game> — The game from which to fetch the term of the given topic. Defaults to Series.
  • <topic> — The name of the page of said topic. (ex: Boss Key for Nightmare Key and Big Key)
  • link — Entering anything in this field will output the result as a link. (Enter link for standardization)
  • display= — Alternative display return value. See below.

Example

Input Output
{{Term|Series|Big Key}} Nightmare Key
{{Term|Series|Big Key|link}} Nightmare Key
{{Term|ALttP|Big Key}} Big Key
{{Term|ALttP|Big Key|link}} Big Key
{{Term|LA|Big Key}} Nightmare Key
{{Term|LA|Big Key|link}} Nightmare Key
{{Term|LADX|Big Key}} Nightmare Key
{{Term|LADX|Big Key|link}} Nightmare Key
{{Term|TP|Big Key}} Big Key
{{Term|TP|Big Key|link}} Big Key
{{Term|TPHD|Big Key|display= Key}} Key
{{Term|TPHD|Big Key|link|display= Key}}}} Key
This is the documentation page, it should be transcluded into the main template page. See here for more information.