Template:Infobox effect: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Added "type".
No edit summary
Line 5: Line 5:
{{infobox row|label=Particle|field={{#if: {{{particle|}}} | {{{particle}}} | ? }} }}
{{infobox row|label=Particle|field={{#if: {{{particle|}}} | {{{particle}}} | ? }} }}
{{infobox row|label=Type|field={{#if: {{{type|}}} | {{{type}}} | ? }} }}
{{infobox row|label=Type|field={{#if: {{{type|}}} | {{{type}}} | ? }} }}
{{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{data value|{{{data}}} }} }} }}
{{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]<br>(deprec., transfer to ID table)|field={{data value|{{{data}}} }} }} }}
{{#ifeq: {{lc: {{{nameid}}} }} | none
{{#ifeq: {{lc: {{{nameid}}} }} | none
|
|
| {{infobox row|label=[[Namespaced ID]]|field={{
| {{infobox row|label=[[Namespaced ID]]<br>(deprec., transfer to ID table)|field={{
   #if: {{{nameid|{{{id|}}}}}}
   #if: {{{nameid|{{{id|}}}}}}
   | <div style="word-break:break-all">{{{nameid|{{{id}}}}}}</div>
   | <div style="word-break:break-all">{{{nameid|{{{id}}}}}}</div>

Revision as of 02:30, 1 March 2020

[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.