Template:Terminology Infobox: Difference between revisions
Jump to navigation
Jump to search
it is 2025 lets arrayify this. only not sure about affiliation might need to cook smth |
No edit summary |
||
| Line 20: | Line 20: | ||
<data source="affiliation"> | <data source="affiliation"> | ||
<label>Affil­i­a­tion</label> | <label>Affil­i­a­tion</label> | ||
<format>{{ | <format>{{Array|{{{affiliation}}}|;|<!-- | ||
-->²{Exists¦²{#explode:{item}¦§¦0}²¦[[²{#explode:{item}¦§¦0}²]]¦²{#explode:{item}¦§¦0}²}²<!-- | |||
-->²{#if:²{#explode:{item}¦§¦1}²¦ (²{Trim¦²{#explode:{item}¦§¦1}²}²)}²<!-- | |||
-->|<br /><!-- | |||
-->|template=²<!-- | |||
-->}}<!-- | |||
--></format> | |||
</data> | </data> | ||
<data source="world"> | <data source="world"> | ||
| Line 97: | Line 96: | ||
-->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}}}<!-- | -->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}}}<!-- | ||
-->{{#if:{{{group|}}}|{{Array|{{{group}}}|;|[[Category:{item}]]}}}}<!-- | -->{{#if:{{{group|}}}|{{Array|{{{group}}}|;|[[Category:{item}]]}}}}<!-- | ||
-->{{#if:{{{affiliation|}}}| | -->{{#if:{{{affiliation|}}}|{{{affiliation|}}}|;|Category:²{Trim¦²{#explode:{item}¦§¦0}²}²|template=1}}}}<!-- | ||
-->{{#if:{{{world|}}}|[[Category:{{{world}}} Terminology]]}}}}<!-- | -->{{#if:{{{world|}}}|[[Category:{{{world}}} Terminology]]}}}}<!-- | ||
-->{{#if:{{{region|}}}|{{Array|{{{region}}}|;|[[Category:{item}]]}}}}<!-- | -->{{#if:{{{region|}}}|{{Array|{{{region}}}|;|[[Category:{item}]]}}}}<!-- | ||
Revision as of 13:20, 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
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 |