Template:Terminology Infobox: Difference between revisions
SORRY MISTAKE Tag: Undo |
it is 2025 lets arrayify this. only not sure about affiliation might need to cook smth |
||
| Line 9: | Line 9: | ||
<data source="type"> | <data source="type"> | ||
<label>Type</label> | <label>Type</label> | ||
<format> | <format>{{Array|{{{type}}}|;|[[{item}]]|<br />}}</format> | ||
</data> | </data> | ||
<data source="group"> | <data source="group"> | ||
<label>Group</label> | <label>Group</label> | ||
<format> | <format>{{Array|{{{group}}}|;|[[{item}]]|<br />}}</format> | ||
</data> | </data> | ||
<data source="description"> | <data source="description"> | ||
| Line 35: | Line 35: | ||
<data source="region"> | <data source="region"> | ||
<label>Region</label> | <label>Region</label> | ||
<format> | <format>{{Array|{{{region}}}|;|[[{item}]]|<br />}}</format> | ||
</data> | </data> | ||
<data source="subregion"> | <data source="subregion"> | ||
<label>Subregion</label> | <label>Subregion</label> | ||
<format> | <format>{{Array|{{{subregion}}}|;|[[{item}]]|<br />}}</format> | ||
</data> | </data> | ||
<data source="area"> | <data source="area"> | ||
<label>Area</label> | <label>Area</label> | ||
<format> | <format>{{Array|{{{area}}}|;|[[{item}]]|<br />}}</format> | ||
</data> | </data> | ||
<data source="subarea"> | <data source="subarea"> | ||
<label>Subarea</label> | <label>Subarea</label> | ||
<format> | <format>{{Array|{{{subarea}}}|;|[[{item}]]|<br />}}</format> | ||
</data> | </data> | ||
<data source="poi"> | <data source="poi"> | ||
<label>Point of Interest</label> | <label>Point of Interest</label> | ||
<format> | <format>{{Array|{{{poi}}}|;|[[{item}]]|<br />}}</format> | ||
</data> | </data> | ||
<data source="domain"> | <data source="domain"> | ||
<label>Domain</label> | <label>Domain</label> | ||
<format> | <format>{{Array|{{{domain}}}|;|[[{item}]]|<br />}}</format> | ||
</data> | </data> | ||
<data source="event"> | <data source="event"> | ||
<label>Event</label> | <label>Event</label> | ||
<format> | <format>{{Array|{{{event}}}|;|[[{item}]]|<br />}}</format> | ||
</data> | </data> | ||
<data source="pronunciation"> | <data source="pronunciation"> | ||
| Line 78: | Line 78: | ||
<label>{{{recipe_type|Recipe}}}</label> | <label>{{{recipe_type|Recipe}}}</label> | ||
</data> | </data> | ||
<data source=" | <data source="source"> | ||
<label>Source | <label>Source</label> | ||
<format>{{#if:{{#pos:{{{source}}}|;<!-- | |||
-->|<ul>{{Array|{{{source}}}|;|<li>[[{item}]]</li>|}}</ul><!-- | |||
-->|[[{{{source}}}]]<!-- | |||
-->}}<!-- | |||
--></format> | |||
</data> | </data> | ||
</section> | </section> | ||
| Line 118: | Line 95: | ||
-->{{#if:{{{title|}}}{{{displaytitle|}}}|{{#ifeq:{{PAGENAME}}|{{{title}}}||{{#ifeq:{{lc:{{{displaytitle|}}}}}|no||{{DISPLAYTITLE:{{{displaytitle|{{{title}}}}}}|noreplace}}}}}}}}<!-- | -->{{#if:{{{title|}}}{{{displaytitle|}}}|{{#ifeq:{{PAGENAME}}|{{{title}}}||{{#ifeq:{{lc:{{{displaytitle|}}}}}|no||{{DISPLAYTITLE:{{{displaytitle|{{{title}}}}}}|noreplace}}}}}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{type|}}}| | -->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}}}<!-- | ||
-->{{#if:{{{group|}}}|{{Array|{{{group}}}|;|[[Category:{item}]]}}}}<!-- | |||
-->{{#if:{{{ | |||
-->{{#if:{{{affiliation|}}}|{{Exists|Category:{{{affiliation|}}}|[[Category:{{{affiliation}}}]]}}}}<!-- | -->{{#if:{{{affiliation|}}}|{{Exists|Category:{{{affiliation|}}}|[[Category:{{{affiliation}}}]]}}}}<!-- | ||
-->{{#if:{{{affiliation2|}}}|{{Exists|Category:{{{affiliation2|}}}|[[Category:{{{affiliation2}}}]]}}}}<!-- | -->{{#if:{{{affiliation2|}}}|{{Exists|Category:{{{affiliation2|}}}|[[Category:{{{affiliation2}}}]]}}}}<!-- | ||
| Line 136: | Line 105: | ||
-->{{#if:{{{affiliation7|}}}|{{Exists|Category:{{{affiliation7|}}}|[[Category:{{{affiliation7}}}]]}}}}<!-- | -->{{#if:{{{affiliation7|}}}|{{Exists|Category:{{{affiliation7|}}}|[[Category:{{{affiliation7}}}]]}}}}<!-- | ||
-->{{#if:{{{affiliation8|}}}|{{Exists|Category:{{{affiliation8|}}}|[[Category:{{{affiliation8}}}]]}}}}<!-- | -->{{#if:{{{affiliation8|}}}|{{Exists|Category:{{{affiliation8|}}}|[[Category:{{{affiliation8}}}]]}}}}<!-- | ||
-->{{#if:{{{world|}}}|[[Category:{{{world}}} Terminology]]}} | -->{{#if:{{{world|}}}|[[Category:{{{world}}} Terminology]]}}}}<!-- | ||
-->{{#if:{{{region|}}}|{{Array|{{{region}}}|;|[[Category:{item}]]}}}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{subregion|}}}|{{Array|{{{subregion}}}|;|[[Category:{item}]]}}}<!-- | ||
-->{{#if:{{{area|}}}|{{Array|{{{area}}}|;|[[Category:{item}]]}}}}<!-- | |||
-->{{#if:{{{subarea|}}}|{{Array|{{{subarea}}}|;|[[Category:{item}]]}}}}<!-- | |||
-->{{#if:{{{poi|}}}|{{Array|{{{poi}}}|;|[[Category:{item}]]}}}}<!-- | |||
-->{{#if:{{{domain|}}}|{{Array|{{{domain}}}|;|[[Category:{item}]]}}}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{event|}}}|{{Array|{{{event}}}|;|[[Category:{item}]]}}}}<!-- | ||
-->{{#if:{{{ | |||
-->{{#if:{{{ | |||
-->{{#if:{{{ | |||
-->{{#if:{{{domain|}}}| | |||
-->{{#if:{{{ | |||
-->{{#if:{{{recipe|}}}|[[Category:Terminology with {{{recipe_type|Recipe}}}]]}}<!-- | -->{{#if:{{{recipe|}}}|[[Category:Terminology with {{{recipe_type|Recipe}}}]]}}<!-- | ||
-->{{#if:{{{pronunciation|}}}|[[Category:Pronunciation Included]]}}<!-- | -->{{#if:{{{pronunciation|}}}|[[Category:Pronunciation Included]]}}<!-- | ||
-->}}<!--line break required for styling purposes--> | -->}}<!--line break required for styling purposes--> | ||
</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | </includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||
Revision as of 12:54, 22 October 2025
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Infobox for game terminology.
Syntax
{{Terminology Infobox
|title =
|secondarytitle =
|image =
|caption =
|type =
|group =
|description =
|affiliation =
|plane =
|continent =
|town =
|event =
|pronunciation =
|related =
|recipe =
|recipe_type =
|source =
}}
Examples
{{Terminology Infobox|||}}
Template Data
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | no description | Unknown | optional |
| displaytitle | displaytitle | no description | Unknown | optional |
| secondary_title | secondary_title | no description | Unknown | optional |
| type | type | Type(s), written as an array
| String | suggested |
| group | group | Group(s), as an array | String | suggested |
| affiliation | affiliation | Affiliation(s), written as an array. Notes can be specified using §.
| String | optional |
| plane | plane | Plane(s), written as an array | String | optional |
| continent | continent | Continent(s), written as an array | String | optional |
| town | town | Town(s), written as an array | String | optional |
| event | event | Event(s), written as an array | String | optional |
| pronunciation | pronunciation | Pronunciation based on official English VO's | String | optional |
| related | related | Related term(s), written as an array | Unknown | optional |
| recipe | recipe | Recipe source | String | optional |
| recipe_type | recipe_type | no description | Unknown | optional |
| source | source | Source(s), written as an array | String | suggested |