Template:Term/Documentation: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
Line 13: Line 13:
{{Parameter|display{{=}}|Alternative display return value. See below.|Optional}}
{{Parameter|display{{=}}|Alternative display return value. See below.|Optional}}


===Example===
===Examples===
{| class="wikitable"
{| class="wikitable"
! Input
! Input

Revision as of 02:27, 1 June 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.

Examples

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.