Template:Infobox enchantment/doc: Difference between revisions
Documentation and templatedata |
m interwiki JA |
||
| (10 intermediate revisions by 8 users not shown) | |||
| Line 2: | Line 2: | ||
This template provides a uniform design for the infobox on the [[Enchanting]] page. | This template provides a uniform design for the infobox on the [[Enchanting]] page. | ||
<pre> | <pre style="display:table"> | ||
{{Enchantment | {{Enchantment | ||
| title = | | title = | ||
| Line 13: | Line 13: | ||
| secondaryitems = | | secondaryitems = | ||
| weight = | | weight = | ||
| id = | |||
| incompat = | | incompat = | ||
| overleveling = | | overleveling = | ||
| Line 25: | Line 26: | ||
| <code>1</code>, <code>title</code> | | <code>1</code>, <code>title</code> | ||
| The enchantment's name | | The enchantment's name | ||
| | | <code><nowiki>{{BASEPAGENAME}}</nowiki></code> | ||
|- | |- | ||
| <code>maxlevel</code> || The enchantment's maximum level || — | | <code>maxlevel</code> || The enchantment's maximum level || — | ||
| Line 42: | Line 43: | ||
|- | |- | ||
| <code>weight</code> || The enchantment's relative probability of being offered || | | <code>weight</code> || The enchantment's relative probability of being offered || | ||
|- | |||
| <code>id</code>, <code>namespace</code>, <code>namespacedid</code> || The resource location of the enchantment || | |||
|- | |- | ||
| <code>incompat</code> || Other enchantments incompatible with this one || | | <code>incompat</code> || Other enchantments incompatible with this one || | ||
| Line 47: | Line 50: | ||
| <code>overleveling</code> || The behavior the enchantment takes when scaled greater than normal using commands || | | <code>overleveling</code> || The behavior the enchantment takes when scaled greater than normal using commands || | ||
|} | |} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 143: | Line 134: | ||
"example": "{{End date|2011|12|19}}", | "example": "{{End date|2011|12|19}}", | ||
"type": "date" | "type": "date" | ||
}, | |||
"id": { | |||
"aliases": [ | |||
"namespace", | |||
"namespacedid" | |||
], | |||
"label": "Resource location", | |||
"description": "The resource location of the enchantment.", | |||
"example": "strength", | |||
"type": "string", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
| Line 157: | Line 159: | ||
"secondaryitems", | "secondaryitems", | ||
"weight", | "weight", | ||
"id", | |||
"incompat", | "incompat", | ||
"overleveling" | "overleveling" | ||
| Line 162: | Line 165: | ||
} | } | ||
</templatedata> | </templatedata> | ||
==See also== | |||
{{infobox see also}} | |||
<includeonly> | |||
<!-- template categories/interwikis here --> | |||
[[es:Plantilla:Encantamiento]] | |||
[[ja:テンプレート:Infobox enchantment]] | |||
[[ko:틀:Enchantment]] | |||
[[uk:Шаблон:Чари]] | |||
[[Category:Infobox templates]] | |||
</includeonly> | |||
<noinclude> | |||
<!-- doc categories/interwikis here --> | |||
[[es:Plantilla:Encantamiento/doc]] | |||
[[ja:テンプレート:Infobox enchantment/doc]] | |||
[[ko:틀:Enchantment/doc]] | |||
[[uk:Шаблон:Чари/док]] | |||
</noinclude> | |||