Template:Infobox item: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<onlyinclude><infobox> | <onlyinclude><infobox> | ||
<title source="title"> | |||
<default>{{BASEPAGENAME}}</default> | |||
</title> | |||
<image source="image"><default>{{ | |||
#if: {{PROTECTIONEXPIRY:edit|File:{{BASEPAGENAME}}.png}} <!-- Don't use #ifexist, because it creates red links --> | #if: {{PROTECTIONEXPIRY:edit|File:{{BASEPAGENAME}}.png}} <!-- Don't use #ifexist, because it creates red links --> | ||
| File:{{BASEPAGENAME}}.png | | File:{{BASEPAGENAME}}.png | ||
}}</default></image> | |||
<image source="image2"/> | |||
<navigation>{{#if: {{{extratext|}}} | {{{extratext}}} | }}</navigation> | |||
<group collapse="open"> | |||
<header>Description</header> | |||
<data source="rarity"><label>[[Rarity]]</label><default>Common</default></data> | |||
<data source="durability"><label>[[Item durability|Durability]]</label><format>{{{durability}}}{{article other|[[Category:Tools]]}}</format></data> | |||
<data source="renewable"><label>[[Renewable resource|Renewable]]</label><default>? {{#if:{{{nocat<includeonly>|</includeonly>}}}||[[Category:Missing renewability]]}}</default></data> | |||
<data source="stackable"><label>Stackable</label><default>? {{#if:{{{nocat<includeonly>|</includeonly>}}}||[[Category:Missing stackability]]}}</default></data> | |||
<data source="heals"><label>[[Food|Restores]]</label></data> | |||
<data source="effects"><label>[[Status effect]]s</label></data> | |||
</group> | |||
</infobox></onlyinclude><noinclude> | </infobox></onlyinclude><noinclude> | ||
<!-- Put categories/interwiki on the documentation page --> | <!-- Put categories/interwiki on the documentation page --> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||