Template:Infobox effect: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Added group compatibility
mNo edit summary
Line 28: Line 28:
</section>
</section>
</panel>
</panel>
<image source="image"><default>{{
#if: {{PROTECTIONEXPIRY:edit|File:{{BASEPAGENAME}}.png}} <!-- Don't use #ifexist, because it creates red links -->
| {{#if:{{{group|}}}||File:{{BASEPAGENAME}}.png}}
}}</default></image>
<navigation>{{{extratext|}}}</navigation>
<navigation>{{{extratext|}}}</navigation>
<data source="sources"><label>Sources</label></data>
<data source="sources"><label>Sources</label></data>

Revision as of 18:55, 5 June 2023

<infobox> <title source="title"><default>Infobox effect</default></title> <image source="image" /> <panel>

<label>{{{group}}}</label> <image source="1-1" /> <image source="1-2" /> <image source="1-3" />
<label>{{{group2}}}</label> <image source="2-1" /> <image source="2-2" /> <image source="2-3" />
<label>{{{group3}}}</label> <image source="3-1" /> <image source="3-2" /> <image source="3-3" />
<label>{{{group4}}}</label> <image source="4-1" /> <image source="4-2" /> <image source="4-3" />

</panel> <image source="image"><default></default></image> <navigation></navigation> <label>Sources</label> <label>Particle</label> <label>Type</label> <label>Overleveling behaviour</label>

</infobox>

[view] [edit] [history] [refresh]Documentation

Usage

This template is used on pages which contain information about effects.

{{Effect
| imagesize= 
| sources= 
| particle= 
| type=
| group = 
| 1-1 = 
| 1-2 = 
| 1-3 = 
| group2 = 
| 2-1 = 
| 2-2 = 
| 2-3 = 
| group3 = 
| 3-1 = 
| 3-2 = 
| 3-3 = 
| group4 = 
| 4-1 = 
| 4-2 = 
| 4-3 = 
}}
Parameter Function Default value
imagesize Image/icon of the effect (default 180px) {{{title}}}.png if it exists.
sources Where/what can cause the effect to be obtained ?
particle The color of the particle when the effect is active ?
type The type of effect it is ?
group Group (tab) under which to put the image None
groupN Other tabs present None
1-n nth image under the first (default) tab None
N-n nth image under the Nth tab None

See also

Minecraft
Minecraft Earth
Minecraft Dungeons
Minecraft Legends
Minecraft Story Mode
Other
Meta

fr:Modèle:Effet pt:Predefinição:Efeito uk:Шаблон:Ефект zh:Template:Effect

[view] [edit] [history] [refresh]The above documentation is transcluded from Template:Infobox effect/doc.