Template:Infobox enchantment: Difference between revisions
This wiki uses American spelling |
Added and removed versions & cleanup |
||
Line 1: | Line 1: | ||
{{#invoke:infobox|infobox | |||
|title={{{1 | |title={{{1|{{BASEPAGENAME}}}}} | ||
|imagearea=none | |imagearea=none | ||
|rows= | |rows= | ||
{{ | {{Infobox row|Maximum level|{{ #if: {{{maxlevel|}}} | {{{maxlevel}}} | — }} }} | ||
}} | {{#if: {{{versionAdded|}}} | {{Infobox row|Version added|{{{versionAdded}}}{{#if: {{{dateAdded|}}} | , {{{dateAdded}}} }} }} }} | ||
{{ | {{#if: {{{versionRemoved|}}} | {{Infobox row|Version removed|{{{versionRemoved}}}{{#if: {{{dateRemoved|}}} | , {{{dateRemoved}}} }} }} }} | ||
{{ | {{Infobox row|{{abbr|Primary items|The items that can receive the enchantment legitimately in Survival mode by using an enchanting table}}|{{{primaryitems|''None''}}} }} | ||
{{ | {{Infobox row|{{abbr|Secondary items|Items which, in Survival mode, cannot receive the enchantment from an enchanting table but can from an enchanted book with an anvil.}}|{{{secondaryitems|''None''}}} }} | ||
{{#if: {{{incompat|}}} | {{ | {{Infobox row|{{abbr|Enchantment weight|Relative chance of the enchantment being offered.}}|{{{weight|—}}} }} | ||
{{#if: {{{overleveling|}}} | {{ | {{#if: {{{incompat|}}} | {{Infobox row|Incompatible with|{{{incompat}}} }} }} | ||
}} | {{#if: {{{overleveling|}}} | {{Infobox row|{{abbr|Overleveling behavior|How the enchantment's behavior scales when exceeding the maximum level via commands or other means.}}|{{{overleveling}}} }} }} | ||
{{documentation}}</noinclude> | }}<noinclude> | ||
{{documentation}} | |||
<!-- Put categories/interwiki on the documentation page --> | |||
</noinclude> |
Revision as of 18:04, 10 July 2021
Maximum level |
— |
---|---|
Template:Abbr |
None |
Template:Abbr |
None |
Template:Abbr |
— |
{ "title": "Infobox enchantment", "rows": [ { "field": "—", "label": "Maximum level" }, { "field": "''None''", "label": "(link to :Template:Abbr article, displayed as :Template:Abbr)" }, { "field": "''None''", "label": "(link to :Template:Abbr article, displayed as :Template:Abbr)" }, { "field": "—", "label": "(link to :Template:Abbr article, displayed as :Template:Abbr)" } ], "invimages": [], "images": [] }
This template provides a uniform design for the infobox on the Enchanting page.
{{Enchantment | title = | addedVersion = | addedDate = | removedVersion = | removedDate = | maxlevel = | primaryitems = | secondaryitems = | weight = | id = | incompat = | overleveling = }}
Parameter | Function | Default value |
---|---|---|
1 , title
|
The enchantment's name | {{BASEPAGENAME}}
|
maxlevel |
The enchantment's maximum level | — |
addedVersion |
The version that added this enchantment | None |
addedDate |
The date that removed this enchantment | None |
removedVersion |
The version that removed the enchantment | None |
removedDate |
The date that removed this enchantment | None |
primaryitems |
Items which can be offered the enchantment by an enchantment table | None |
secondaryitems |
Other legitimate items | None |
weight |
The enchantment's relative probability of being offered | |
id , namespace , namespacedid |
The resource location of the enchantment | |
incompat |
Other enchantments incompatible with this one | |
overleveling |
The behavior the enchantment takes when scaled greater than normal using commands |
Creates an infobox for an enchantment.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Enchantment name | 1 title | The name of the enchantment, if it differs from the title.
| String | optional |
Version added | versionAdded added | The version the enchantment first appeared.
| Unknown | optional |
Date added | dateAdded | The date the enchantment first appeared.
| Date | optional |
Version removed | versionRemoved removed | The version that removed this enchantment
| Unknown | optional |
Date removed | dateRemoved | The date that this enchantment was removed.
| Date | optional |
Maximum level | maxlevel level | The maximum possible level acquirable in survival with no cheats.
| Unknown | suggested |
Primary items | primaryitems primary | Items which can be offered this enchantment in an enchantment table. | Unknown | suggested |
Secondary items | secondaryitems secondary | Other items that this enchantment items can be applied to | Unknown | optional |
Weight | weight | The probability for this enchantment to be offered in an enchanting table. | Number | suggested |
Resource location | id namespace namespacedid | The resource location of the enchantment.
| String | suggested |
Incompatibilities | incompat incompatible incompatibilities | A list of enchantments that are incompatible with this enchantment. | Unknown | suggested |
Overleveling behavior | overleveling | How the enchantment scales when exceeding the maximum normal level. | String | optional |
See also
- Minecraft
{{Infobox biome}}
{{Infobox block}}
{{Infobox command}}
{{Infobox development phase}}
{{Infobox enchantment}}
{{Infobox effect}}
{{Infobox entity}}
{{Infobox fluid}}
{{Infobox item}}
{{Infobox item entity}}
{{Infobox structure}}
- Minecraft Earth
- Minecraft Dungeons
{{Infobox Dungeons cosmetic}}
{{Infobox Dungeons enchantment}}
{{Infobox Dungeons entity}}
{{Infobox Dungeons item}}
{{Infobox Dungeons mission}}
- Minecraft Legends
{{Infobox Legends biome}}
{{Infobox Legends entity}}
{{Infobox Legends resource}}
{{Infobox Legends mode}}
{{Infobox Legends skin}}
{{Infobox Legends structure}}
- Minecraft Story Mode
{{Infobox episode}}
- Other
{{Infobox album}}
{{Infobox book}}
{{Infobox board game}}
{{Infobox company}}
{{Fallback infobox}}
{{Infobox guide}}
{{Infobox mash-up}}
{{Infobox music}}
{{Infobox person}}
{{Infobox profile}}
{{Infobox program}}
{{Infobox screen effect}}
{{Infobox server}}
{{Infobox skin pack}}
{{Infobox theme}}
{{Infobox version}}
{{Infobox video}}
{{Infobox website}}
{{Infobox world}}
- Meta
{{Infobox}}
{{Infobox row}}
{{Infobox header}}
- Module:Infobox
es:Plantilla:Encantamiento
ja:テンプレート:Infobox enchantment
ko:틀:Enchantment
uk:Шаблон:Чари