Jump to content

Template:Terminology Infobox: Difference between revisions

From The Petit Planet Wiki
Created page with "<includeonly><infobox> <title source="title"> <default>{{PAGENAME}}</default> </title> <image source="image"> <caption source="caption"/> </image> <data source="type"> <label>Type</label> <format>{{Link List|{{{type}}}}}</format> </data> <data source="group"> <label>Group</label> <format>{{Link List|{{{group}}}}}</format> </data> <data source="description"> <format>'''Description'''<br>{{{description}}}</format> </data> </infobox></includeonly>..."
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><infobox>
<includeonly>{{#invoke:Infobox|main
    <title source="title">
|kind = Terminology
<default>{{PAGENAME}}</default>
|sep = ,
</title>
|title = {{{title|{{{name|{{PAGENAME}}}}}}}}
<image source="image">
|subtitle = {{{subtitle|}}}
<caption source="caption"/>
|image = {{#if:{{{image|}}}|{{Exists|File:{{{image}}}|[[File:{{{image}}}]]|<nowiki />}}}}
</image>
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}}
<data source="type">
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}}
<label>Type</label>
|sections = Information, Description
<format>{{Link List|{{{type}}}}}</format>
 
</data>
|Information_collapsible = Yes
<data source="group">
|Information = Type, Group, Event
<label>Group</label>
|Type = <!--
<format>{{Link List|{{{group}}}}}</format>
-->{{#if:{{#explode:{{{type}}}|;|1}}|<!--
</data>
  -->{{Array|{{{type}}}|;|* [[{item}]]{newline} }}|<!--
<data source="description">
  -->{{#if:{{{type|}}}|[[{{{type}}}]]}}<!--
<format>'''Description'''<br>{{{description}}}</format>
-->}}
</data>
|Group = <!--
</infobox></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>
-->{{#if:{{#explode:{{{group}}}|;|1}}|<!--
  -->{{Array|{{{group}}}|;|* [[{item}]]{newline} }}|<!--
  -->{{#if:{{{group|}}}|[[{{{group}}}]]}}<!--
-->}}
|Event = <!--
-->{{#if:{{#explode:{{{event}}}|;|1}}|<!--
  -->{{Array|{{{event}}}|;|* [[{item}]]{newline} }}|<!--
  -->{{#if:{{{event|}}}|[[{{{event}}}]]}}<!--
-->}}
 
|Description_collapsible = Yes
|Description = DescriptionText
|DescriptionText_wide = Yes
|DescriptionText = {{{description|}}}
}}<!--
 
-->{{Namespace|main=<!--
-->[[Category:Terminology]]<!--
  Type and Group
-->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}}}<!--
-->{{#if:{{{group|}}}|{{Array|{{{group}}}|;|[[Category:{item}]]}}}}<!--
  Event
-->{{#if:{{{event|}}}|[[Category:Event Terminology]]{{Array|{{{event}}}|;|[[Category:{item} Terminology]]}}}}<!--
-->}}<!--
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>

Latest revision as of 23:33, 21 February 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.

Example[edit source]

Something
{{Terminology Infobox
|title        = Something
|image        = Petit Planet Icon.png
|type         = HoYoverse
}}

Infobox for Terminology.

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
titletitle

no description

Unknownsuggested
imageimage

no description

Unknownsuggested
captioncaption

no description

Unknownoptional
typetype

no description

Unknownsuggested
type2type2

no description

Unknownoptional
type3type3

no description

Unknownoptional
type4type4

no description

Unknownoptional
type5type5

no description

Unknownoptional