Template:Term/Store: Difference between revisions
Jump to navigation
Jump to search
MannedTooth (talk | contribs) No edit summary |
MannedTooth (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_store: | <includeonly>{{#cargo_store: | ||
_table | _table = Terminologies | ||
| | |pagename= {{#getdisplaytitle:{{FULLPAGENAME}}}} | ||
|lang | |lang = {{#if:{{{langcode|}}}|{{{langcode|}}}|en}} | ||
|games | |games = {{{3|}}} | ||
|term | |term = {{{1|}}} | ||
|plural = {{{2|}}} | |plural = {{{2|}}} | ||
}}'''{{#if:{{{4|}}}|{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}} }}|{{{1|}}} }}'''</includeonly><noinclude> | }}'''{{#if:{{{4|}}}|{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}} }}|{{{1|}}} }}'''</includeonly><noinclude> | ||
{{#cargo_declare: | {{#cargo_declare: | ||
_table | _table = Terminologies | ||
| | |pagename= String | ||
|lang | |lang = String | ||
|games | |games = List (,) of String | ||
|term | |term = String | ||
|plural = String | |plural = String | ||
}} | }} | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 23:03, 4 July 2019
This template defines the table "Terminologies". View table.
Purpose
Used in article leads to store terms, for use by Template:Term and other modules.
Usage
SyntaxBoilerplate
{{Term/Store|<singularTerm>|<pluralTerm>|<games>|<plural>}}
{{Term/Store|||}}
Parameter | Status | Description | Accepted values | |
---|---|---|---|---|
1 | singularTerm | required | The singular form of the term. | |
2 | pluralTerm | required | The plural form of the term. Leave empty for characters or other terms where no plural form applies. | |
3 | games | required | Comma-separated list of games to which the term applies. For example, OoT, SS, BotW . | See Data:Franchise |
4 | plural | optional | Entering plural here will make the template output the plural term instead of the singular. | |
redirectTarget | optional | A hidden parameter added by Template:Synonym to indicate that the storing page redirects to another page. |
Example
{{Term/Store|Big Key|Big Keys|ALttP, TWW, TMC, TP, ALBW|plural}}
The above documentation is transcluded from Template:Term/Store/Documentation. (edit | history)