Template:Infobox item: Difference between revisions

m Reverted edits by 124.107.85.117 (Talk) to last revision by Dabigbozz42
m 199 revisions imported
 
(190 intermediate revisions by 48 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding="4" style="width: 22em; font-size: 90%; float:right;"
{{#invoke:infobox|infobox
| align="center" colspan=2 bgcolor="#CCCCCC" style="font-size:120%; " | '''{{{name}}}'''
| defaultimagesize = 160px
|-
| defaultimageclass = pixel-image
| align="center" colspan="2" |[[image:{{{image}}}|center]]
| invimage = title
|- valign="top"
| rows =
| align="center" colspan="2" | [[image:{{{recipe}}}|center]]
{{infobox row|class=list-style-none|label={{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Rarity|Rarity]]|[[Rarity|Rarity color]]}}|field={{{rarity|Common}}} }}
|- valign="top"
{{#if: {{{durability|}}} | {{infobox row|label=[[Durability]]|field={{{durability}}} }} }}<includeonly>
|-
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing renewability]]}} }} }}
| style="white-space: nowrap;" | '''Type'''
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing stackability]]}} }} }}</includeonly>
| style="width:14em" | {{{type}}}
{{ #if: {{{heals|}}} | {{infobox row|label=[[Food|Restores]]|field={{{heals}}} }} }}
|- valign="top"
{{ #if: {{{effects|}}} | {{infobox row|label=[[Status effect]]s|field={{{effects}}} }} }}
| style="white-space: nowrap;" | '''Durability'''
}}<noinclude>
| {{{durability}}}
<!-- categories/interwikis on the /doc subpage, not here -->
|- valign="top"
{{Documentation}}
| style="white-space: nowrap;" | '''Ammo'''
</noinclude>
| {{{ammo}}}
|-
|colspan="2+ |
|}
 
<noinclude><font color="#997070">
==Usage==
'''These usage notes will not be included in articles bearing this template.'''<p></p>
This template provides a uniform design for useable item pages.<pre>
{{Useable Items
|name={{{name}}}
|image={{{image}}}
|recipe={{{recipe}}}
|type={{{type}}}
|durability={{{durability}}}
|ammo={{{ammo}}}
}}</pre></font><br/><br/>[[Category:Templates]]</noinclude>