Template:Infobox item: Difference between revisions
added image3 |
Merged sandbox because no opposition |
||
Line 1: | Line 1: | ||
<onlyinclude><infobox> | <onlyinclude> | ||
{{#if:{{{aligned|}}} | |||
|<infobox> | |||
<title source="title"> | |||
<default>{{BASEPAGENAME}}</default> | |||
</title> | |||
<panel> | |||
<section> | |||
<label>{{{group}}}</label> | |||
<image source="1-1" /> | |||
<image source="1-2" /> | |||
<image source="1-3" /> | |||
</section> | |||
<section> | |||
<label>{{{group2}}}</label> | |||
<image source="2-1" /> | |||
<image source="2-2" /> | |||
<image source="2-3" /> | |||
</section> | |||
<section> | |||
<label>{{{group3}}}</label> | |||
<image source="3-1" /> | |||
<image source="3-2" /> | |||
<image source="3-3" /> | |||
</section> | |||
<section> | |||
<label>{{{group4}}}</label> | |||
<image source="4-1" /> | |||
<image source="4-2" /> | |||
<image source="4-3" /> | |||
</section> | |||
</panel> | |||
<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> | |||
|<infobox> | |||
<title source="title"> | <title source="title"> | ||
<default>{{BASEPAGENAME}}</default> | <default>{{BASEPAGENAME}}</default> | ||
</title> | </title> | ||
<image source="image"><default>{{ | <image source="image"><default>{{ | ||
#if: {{PROTECTIONEXPIRY:edit|File:{{BASEPAGENAME}}.png}} <!-- Don't use #ifexist, because it creates red links --> | |||
| File:{{BASEPAGENAME}}.png}} | |||
</default></image> | |||
<image source="image2"/> | <image source="image2"/> | ||
<image source="image3"/> | <image source="image3"/> | ||
<navigation>{{#if: {{{extratext|}}} | {{{extratext}}} | }}</navigation> | <navigation>{{#if: {{{extratext|}}} | {{{extratext}}} | }}</navigation> | ||
<group collapse="open"> | <group collapse="open"> | ||
Line 19: | Line 62: | ||
<data source="effects"><label>[[Status effect]]s</label></data> | <data source="effects"><label>[[Status effect]]s</label></data> | ||
</group> | </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> |