Template:Infobox effect/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Created page with "{{documentation header}} <!-- Documentation here --> == Usage == {{Effect}} This template is used on pages which contain information about effects. <pre width="30px">{{Ef..."
 
 
(12 intermediate revisions by 9 users not shown)
Line 2: Line 2:
<!-- Documentation here -->
<!-- Documentation here -->
== Usage ==
== Usage ==
{{Effect}}
This template is used on pages which contain information about [[effect]]s.
This template is used on pages which contain information about [[effect]]s.


<pre width="30px">{{Effect
<pre style="display:table">
{{Effect
| imagesize=  
| imagesize=  
| sources=  
| sources=  
| particle=  
| particle=  
| type=
| 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 =
}}</pre>
}}</pre>


{| style="background-color: transparent;"
{| class="wikitable"
! Parameter
! Parameter
! Function
! Function
! Default value
! Default value
|-
|-
| {{cd|imagesize}} || Image/icon of the effect (default 150px) || {{cd|<nowiki>{{{title}}}.png</nowiki>}} if it exists.
| <code>imagesize</code> || Image/icon of the effect (default 180px) || <code><nowiki>{{{title}}}.png</nowiki></code> if it exists.
|-
|-
| {{cd|sources}} || Where/what can cause the effect to be obtained || ?
| <code>sources</code> || Where/what can cause the effect to be obtained || ?
|-
|-
| {{cd|particle}} || The color of the particle when the effect is active || ?
| <code>particle</code> || The color of the particle when the effect is active || ?
|-
|-
| {{cd|type}} || The type of effect it is || ?
| <code>type</code> || The type of effect it is || ?
|-
| {{cd|group}} || Group (tab) under which to put the image || ''None''
|-
| {{cd|group''N''}} || Other tabs present || ''None''
|-
| {{cd|1-''n''}} || ''n''th image under the first (default) tab || ''None''
|-
| {{cd|''N''-''n''}} || ''n''th image under the ''N''th tab || ''None''
|}
|}


Line 32: Line 56:
<includeonly>
<includeonly>
<!-- Template categories/interwikis here -->
<!-- Template categories/interwikis here -->
[[Category:Infobox templates]]
[[fr:Modèle:Effet]]
[[pt:Predefinição:Efeito]]
[[uk:Шаблон:Ефект]]
[[zh:Template:Effect]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<!-- Documentation categories/interwikis here -->
<!-- Documentation categories/interwikis here -->
[[fr:Modèle:Effet/doc]]
[[pt:Predefinição:Efeito/doc]]
[[uk:Шаблон:Ефект/док]]
[[zh:Template:Effect/doc]]
</noinclude>
</noinclude>

Latest revision as of 15:40, 25 May 2024

This is the documentation page. It should be transcluded into Template:Infobox effect. See Template:Documentation for more information.

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/doc pt:Predefinição:Efeito/doc uk:Шаблон:Ефект/док zh:Template:Effect/doc