Template:Term/Documentation: Difference between revisions
Jump to navigation
Jump to search
MannedTooth (talk | contribs) No edit summary |
MannedTooth (talk | contribs) (→Usage) |
||
Line 8: | Line 8: | ||
{{NoWikiTemp|Normal|<game>|<topic>|link|display{{=}}}} | {{NoWikiTemp|Normal|<game>|<topic>|link|display{{=}}}} | ||
{{Parameter|<game> | {{Parameter|<game> |The game from which to fetch the term of the given topic.|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 | {{Parameter|link |Entering anything in this field will output the result as a link. (Enter <code>link</code> for standardization)|Optional}} | ||
{{Parameter|display=|Alternative display return value. See below.|Optional}} | {{Parameter|display{{=}}|Alternative display return value. See below.|Optional}} | ||
===Example=== | ===Example=== |
Revision as of 01:18, 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.
- <topic> — The name of the page of said topic. (ex:
Boss Key
forNightmare Key
andBig 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||Big Key}}
|
Nightmare Key |
{{Term||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.