Template:Terminology Infobox: Difference between revisions

Khaslana (talk | contribs)
SORRY MISTAKE
Tag: Undo
Kuhlau (talk | contribs)
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>[[{{{type}}}]]{{#if:{{{type2|}}}|<br>[[{{{type2}}}]]}}{{#if:{{{type3|}}}|<br>[[{{{type3}}}]]}}{{#if:{{{type4|}}}|<br>[[{{{type4}}}]]}}{{#if:{{{type5|}}}|<br>[[{{{type5}}}]]}}</format>
<format>{{Array|{{{type}}}|;|[[{item}]]|<br />}}</format>
</data>
</data>
<data source="group">
<data source="group">
<label>Group</label>
<label>Group</label>
<format>[[{{{group}}}]]{{#if:{{{group2|}}}|<br>[[{{{group2}}}]]}}{{#if:{{{group3|}}}|<br>[[{{{group3}}}]]}}{{#if:{{{group4|}}}|<br>[[{{{group4}}}]]}}{{#if:{{{group5|}}}|<br>[[{{{group5}}}]]}}</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>[[{{{region}}}]]{{#if:{{{region2|}}}|<br>[[{{{region2|}}}]]|}}{{#if:{{{region3|}}}|<br>[[{{{region3|}}}]]|}}{{#if:{{{region4|}}}|<br>[[{{{region4|}}}]]|}}{{#if:{{{region5|}}}|<br>[[{{{region5|}}}]]|}}{{#if:{{{region6|}}}|<br>[[{{{region6|}}}]]|}}{{#if:{{{region7|}}}|<br>[[{{{region7|}}}]]|}}{{#if:{{{region8|}}}|<br>[[{{{region8|}}}]]|}}{{#if:{{{region9|}}}|<br>[[{{{region9|}}}]]|}}</format>
<format>{{Array|{{{region}}}|;|[[{item}]]|<br />}}</format>
</data>
</data>
<data source="subregion">
<data source="subregion">
<label>Subregion</label>
<label>Subregion</label>
<format>[[{{{subregion}}}]]{{#if:{{{subregion2|}}}|<br>[[{{{subregion2|}}}]]|}}{{#if:{{{subregion3|}}}|<br>[[{{{subregion3|}}}]]|}}{{#if:{{{subregion4|}}}|<br>[[{{{subregion4|}}}]]|}}{{#if:{{{subregion5|}}}|<br>[[{{{subregion5|}}}]]|}}{{#if:{{{subregion6|}}}|<br>[[{{{subregion6|}}}]]|}}{{#if:{{{subregion7|}}}|<br>[[{{{subregion7|}}}]]|}}{{#if:{{{subregion8|}}}|<br>[[{{{subregion8|}}}]]|}}{{#if:{{{subregion9|}}}|<br>[[{{{subregion9|}}}]]|}}</format>
<format>{{Array|{{{subregion}}}|;|[[{item}]]|<br />}}</format>
</data>
</data>
<data source="area">
<data source="area">
<label>Area</label>
<label>Area</label>
<format>[[{{{area}}}]]{{#if:{{{area2|}}}|<br>[[{{{area2|}}}]]|}}{{#if:{{{area3|}}}|<br>[[{{{area3|}}}]]|}}{{#if:{{{area4|}}}|<br>[[{{{area4|}}}]]|}}{{#if:{{{area5|}}}|<br>[[{{{area5|}}}]]|}}{{#if:{{{area6|}}}|<br>[[{{{area6|}}}]]|}}{{#if:{{{area7|}}}|<br>[[{{{area7|}}}]]|}}{{#if:{{{area8|}}}|<br>[[{{{area8|}}}]]|}}{{#if:{{{area9|}}}|<br>[[{{{area9|}}}]]|}}</format>
<format>{{Array|{{{area}}}|;|[[{item}]]|<br />}}</format>
</data>
</data>
<data source="subarea">
<data source="subarea">
<label>Subarea</label>
<label>Subarea</label>
<format>[[{{{subarea}}}]]</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>[[{{{poi}}}]]</format>
<format>{{Array|{{{poi}}}|;|[[{item}]]|<br />}}</format>
</data>
</data>
<data source="domain">
<data source="domain">
<label>Domain</label>
<label>Domain</label>
<format>[[{{{domain}}}]]{{#if:{{{domain2|}}}|<br>[[{{{domain2|}}}]]|}}{{#if:{{{domain3|}}}|<br>[[{{{domain3|}}}]]|}}{{#if:{{{domain4|}}}|<br>[[{{{domain4|}}}]]|}}{{#if:{{{domain5|}}}|<br>[[{{{domain5|}}}]]|}}{{#if:{{{domain6|}}}|<br>[[{{{domain6|}}}]]|}}{{#if:{{{domain7|}}}|<br>[[{{{domain7|}}}]]|}}{{#if:{{{domain8|}}}|<br>[[{{{domain8|}}}]]|}}{{#if:{{{domain9|}}}|<br>[[{{{domain9|}}}]]|}}</format>
<format>{{Array|{{{domain}}}|;|[[{item}]]|<br />}}</format>
</data>
</data>
<data source="event">
<data source="event">
<label>Event</label>
<label>Event</label>
<format>[[{{{event}}}]]{{#if:{{{event2|}}}|<br>[[{{{event2|}}}]]|}}{{#if:{{{event3|}}}|<br>[[{{{event3|}}}]]|}}{{#if:{{{event4|}}}|<br>[[{{{event4|}}}]]|}}{{#if:{{{event5|}}}|<br>[[{{{event5|}}}]]|}}{{#if:{{{event6|}}}|<br>[[{{{event6|}}}]]|}}{{#if:{{{event7|}}}|<br>[[{{{event7|}}}]]|}}{{#if:{{{event8|}}}|<br>[[{{{event8|}}}]]|}}{{#if:{{{event9|}}}|<br>[[{{{event9|}}}]]|}}</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="source1">
<data source="source">
<label>Source 1</label>
<label>Source</label>
                                        <format>{{#if:{{{day1|}}}|[[{{{source1|}}}]]<br>({{{day1|}}}/{{{day2|}}}/{{{day3|}}})|{{{source1|}}}}}</format>
                    <format>{{#if:{{#pos:{{{source}}}|;<!--
</data>
                        -->|<ul>{{Array|{{{source}}}|;|<li>[[{item}]]</li>|}}</ul><!--
<data source="source2">
                        -->|[[{{{source}}}]]<!--
<label>Source 2</label>
                        -->}}<!--
</data>
                --></format>
<data source="source3">
<label>Source 3</label>
</data>
<data source="source4">
<label>Source 4</label>
</data>
<data source="source5">
<label>Source 5</label>
</data>
<data source="source6">
<label>Source 6</label>
</data>
<data source="source7">
<label>Source 7</label>
</data>
<data source="source8">
<label>Source 8</label>
</data>
<data source="source9">
<label>Source 9</label>
</data>
<data source="source10">
<label>Source 10</label>
</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|}}}|[[Category:{{{type|}}}]]}}<!--
-->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{type2|}}}|[[Category:{{{type2|}}}]]}}<!--
-->{{#if:{{{group|}}}|{{Array|{{{group}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{type3|}}}|[[Category:{{{type3|}}}]]}}<!--
-->{{#if:{{{type4|}}}|[[Category:{{{type4|}}}]]}}<!--
-->{{#if:{{{type5|}}}|[[Category:{{{type5|}}}]]}}<!--
-->{{#if:{{{group|}}}|[[Category:{{{group|}}}]]}}<!--
-->{{#if:{{{group2|}}}|[[Category:{{{group2|}}}]]}}<!--
-->{{#if:{{{group3|}}}|[[Category:{{{group3|}}}]]}}<!--
-->{{#if:{{{group4|}}}|[[Category:{{{group4|}}}]]}}<!--
-->{{#if:{{{group5|}}}|[[Category:{{{group5|}}}]]}}<!--
-->{{#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|}}}|[[Category:{{{region}}} Terminology]]}}<!--
-->{{#if:{{{region|}}}|{{Array|{{{region}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{region2|}}}|[[Category:{{{region2}}} Terminology]]}}<!--
-->{{#if:{{{subregion|}}}|{{Array|{{{subregion}}}|;|[[Category:{item}]]}}}<!--
-->{{#if:{{{region3|}}}|[[Category:{{{region3}}} Terminology]]}}<!--
-->{{#if:{{{area|}}}|{{Array|{{{area}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{region4|}}}|[[Category:{{{region4}}} Terminology]]}}<!--
-->{{#if:{{{subarea|}}}|{{Array|{{{subarea}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{region5|}}}|[[Category:{{{region5}}} Terminology]]}}<!--
-->{{#if:{{{poi|}}}|{{Array|{{{poi}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{region6|}}}|[[Category:{{{region6}}} Terminology]]}}<!--
-->{{#if:{{{domain|}}}|{{Array|{{{domain}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{region7|}}}|[[Category:{{{region7}}} Terminology]]}}<!--
-->{{#if:{{{event|}}}|{{Array|{{{event}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{region8|}}}|[[Category:{{{region8}}} Terminology]]}}<!--
-->{{#if:{{{region9|}}}|[[Category:{{{region9}}} Terminology]]}}<!--
-->{{#if:{{{subregion|}}}|[[Category:{{{subregion}}} Terminology]]}}<!--
-->{{#if:{{{subregion2|}}}|[[Category:{{{subregion2}}} Terminology]]}}<!--
-->{{#if:{{{subregion3|}}}|[[Category:{{{subregion3}}} Terminology]]}}<!--
-->{{#if:{{{subregion4|}}}|[[Category:{{{subregion4}}} Terminology]]}}<!--
-->{{#if:{{{subregion5|}}}|[[Category:{{{subregion5}}} Terminology]]}}<!--
-->{{#if:{{{subregion6|}}}|[[Category:{{{subregion6}}} Terminology]]}}<!--
-->{{#if:{{{subregion7|}}}|[[Category:{{{subregion7}}} Terminology]]}}<!--
-->{{#if:{{{subregion8|}}}|[[Category:{{{subregion8}}} Terminology]]}}<!--
-->{{#if:{{{subregion9|}}}|[[Category:{{{subregion9}}} Terminology]]}}<!--
-->{{#if:{{{area|}}}|[[Category:{{{area}}} Terminology]]}}<!--
-->{{#if:{{{area2|}}}|[[Category:{{{area2}}} Terminology]]}}<!--
-->{{#if:{{{area3|}}}|[[Category:{{{area3}}} Terminology]]}}<!--
-->{{#if:{{{area4|}}}|[[Category:{{{area4}}} Terminology]]}}<!--
-->{{#if:{{{area5|}}}|[[Category:{{{area5}}} Terminology]]}}<!--
-->{{#if:{{{area6|}}}|[[Category:{{{area6}}} Terminology]]}}<!--
-->{{#if:{{{area7|}}}|[[Category:{{{area7}}} Terminology]]}}<!--
-->{{#if:{{{area8|}}}|[[Category:{{{area8}}} Terminology]]}}<!--
-->{{#if:{{{area9|}}}|[[Category:{{{area9}}} Terminology]]}}<!--
-->{{#if:{{{subarea|}}}|[[Category:{{{subarea}}} Terminology]]}}<!--
-->{{#if:{{{poi|}}}|[[Category:{{{poi}}} Terminology]]}}<!--
-->{{#if:{{{domain|}}}|[[Category:{{{domain}}} Terminology]]}}<!--
-->{{#if:{{{domain2|}}}|[[Category:{{{domain2}}} Terminology]]}}<!--
-->{{#if:{{{domain3|}}}|[[Category:{{{domain3}}} Terminology]]}}<!--
-->{{#if:{{{domain4|}}}|[[Category:{{{domain4}}} Terminology]]}}<!--
-->{{#if:{{{domain5|}}}|[[Category:{{{domain5}}} Terminology]]}}<!--
-->{{#if:{{{domain6|}}}|[[Category:{{{domain6}}} Terminology]]}}<!--
-->{{#if:{{{domain7|}}}|[[Category:{{{domain7}}} Terminology]]}}<!--
-->{{#if:{{{domain8|}}}|[[Category:{{{domain8}}} Terminology]]}}<!--
-->{{#if:{{{domain9|}}}|[[Category:{{{domain9}}} Terminology]]}}<!--
-->{{#if:{{{event|}}}|[[Category:{{{event}}} Terminology]][[Category:Event Terminology]]}}<!--
-->{{#if:{{{event2|}}}|[[Category:{{{event2}}} Terminology]]}}<!--
-->{{#if:{{{event3|}}}|[[Category:{{{event3}}} Terminology]]}}<!--
-->{{#if:{{{event4|}}}|[[Category:{{{event4}}} Terminology]]}}<!--
-->{{#if:{{{event5|}}}|[[Category:{{{event5}}} Terminology]]}}<!--
-->{{#if:{{{event6|}}}|[[Category:{{{event6}}} Terminology]]}}<!--
-->{{#if:{{{event7|}}}|[[Category:{{{event7}}} Terminology]]}}<!--
-->{{#if:{{{event8|}}}|[[Category:{{{event8}}} Terminology]]}}<!--
-->{{#if:{{{event9|}}}|[[Category:{{{event9}}} Terminology]]}}<!--
-->{{#if:{{{day1|}}}|[[Category:{{{source1}}} Rewards]]}}<!--
-->{{#if:{{{day1|}}}|[[Category:{{{day1}}} Terminology]]}}<!--
-->{{#if:{{{day2|}}}|[[Category:{{{day2}}} Terminology]]}}<!--
-->{{#if:{{{day3|}}}|[[Category:{{{day3}}} Terminology]]}}<!--
-->{{#if:{{{day4|}}}|[[Category:{{{day4}}} Terminology]]}}<!--
-->{{#if:{{{day5|}}}|[[Category:{{{day5}}} Terminology]]}}<!--
-->{{#if:{{{day6|}}}|[[Category:{{{day6}}} Terminology]]}}<!--
-->{{#if:{{{day7|}}}|[[Category:{{{day7}}} Terminology]]}}<!--
-->{{#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>