Template:Infobox enchantment/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Documentation and templatedata |
||
Line 25: | Line 25: | ||
| <code>weight</code> | | <code>weight</code> | ||
| The enchantment's relative probability of being offered | | The enchantment's relative probability of being offered | ||
| | | | ||
|- | |- | ||
| <code>incompat</code> | | <code>incompat</code> | ||
| Other enchantments incompatible with this one | | Other enchantments incompatible with this one | ||
| | | | ||
|- | |||
| <code>overleveling</code> | |||
| The behavior the enchantment takes when scaled greater than normal using commands | |||
| | |||
|} | |} | ||
<includeonly> | <includeonly> | ||
Line 44: | Line 48: | ||
[[ja:テンプレート:Enchantment/doc]] | [[ja:テンプレート:Enchantment/doc]] | ||
</noinclude> | </noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"aliases": [ | |||
"title" | |||
], | |||
"label": "Enchantment name", | |||
"description": "The name of the enchantment, if it differs from the title.", | |||
"example": "Sharpness", | |||
"type": "string" | |||
}, | |||
"maxlevel": { | |||
"aliases": [ | |||
"level" | |||
], | |||
"label": "Maximum level", | |||
"description": "The maximum possible level acquirable in survival with no cheats.", | |||
"example": "4", | |||
"suggested": true | |||
}, | |||
"primaryitems": { | |||
"aliases": [ | |||
"primary" | |||
], | |||
"label": "Primary items", | |||
"description": "Items which can be offered this enchantment in an enchantment table.", | |||
"suggested": true | |||
}, | |||
"secondaryitems": { | |||
"aliases": [ | |||
"secondary" | |||
], | |||
"label": "Secondary items", | |||
"description": "Other items that this enchantment items can be applied to" | |||
}, | |||
"weight": { | |||
"label": "Weight", | |||
"description": "The probability for this enchantment to be offered in an enchanting table.", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"incompat": { | |||
"aliases": [ | |||
"incompatible", | |||
"incompatibilities" | |||
], | |||
"label": "Incompatibilities", | |||
"description": "A list of enchantments that are incompatible with this enchantment.", | |||
"suggested": true | |||
}, | |||
"overleveling": { | |||
"label": "Overleveling behavior", | |||
"description": "How the enchantment scales when exceeding the maximum normal level.", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> |
Revision as of 04:12, 10 July 2021
[refresh]
This is the documentation page. It should be transcluded into Template:Infobox enchantment. See Template:Documentation for more information.Template:Enchantment This template provides a uniform design for the infobox on the Enchanting page.
Parameter | Function | Default value |
---|---|---|
1 or title
|
The enchantment's name | {{BASEPAGENAME}}
|
maxlevel
|
The enchantment's maximum level | — |
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 | |
incompat
|
Other enchantments incompatible with this one | |
overleveling
|
The behavior the enchantment takes when scaled greater than normal using commands |
es:Plantilla:Encantamiento/doc ja:テンプレート:Enchantment/doc
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Enchantment name | 1 title | The name of the enchantment, if it differs from the title.
| String | 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 |
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 |