Template:Infobox item: Difference between revisions

mNo edit summary
m 199 revisions imported
 
(195 intermediate revisions by 51 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding="4" style="width: 22em; font-size: 90%; float:right;"
{{#invoke:infobox|infobox
 
| defaultimagesize = 160px
| align="center" colspan=2 bgcolor="#CCCCCC" style="font-size:120%; " | '''{{{name}}}'''
| defaultimageclass = pixel-image
|- valign="top"
| invimage = title
|-  
| rows =
| style="white-space: nowrap;" | '''Construction'''
{{infobox row|class=list-style-none|label={{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Rarity|Rarity]]|[[Rarity|Rarity color]]}}|field={{{rarity|Common}}} }}
| style="width:14em" | {{{construction}}}
{{#if: {{{durability|}}} | {{infobox row|label=[[Durability]]|field={{{durability}}} }} }}<includeonly>
|-
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing renewability]]}} }} }}
| align="center" colspan="2" |[[image:{{{image}}}|center]]
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing stackability]]}} }} }}</includeonly>
|- valign="top"
{{ #if: {{{heals|}}} | {{infobox row|label=[[Food|Restores]]|field={{{heals}}} }} }}
| style="white-space: nowrap;" | '''Crafting Recipe'''
{{ #if: {{{effects|}}} | {{infobox row|label=[[Status effect]]s|field={{{effects}}} }} }}
| [[image:{{{recipe}}}|center]]
}}<noinclude>
|- valign="top"
<!-- categories/interwikis on the /doc subpage, not here -->
| style="white-space: nowrap;" | '''Durability'''
{{Documentation}}
| {{{durability}}}
</noinclude>
|- valign="top"
| style="white-space: nowrap;" | '''Use'''
| {{{use}}}
|- valign="top"
| style="white-space: nowrap;" | '''Ammo'''
| {{{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}}}
|construction={{{construction}}}
|recipe={{{recipe}}}
|durability={{{durability}}}
|use={{{use}}}
|ammo={{{ammo}}}
}}</pre></font><br/><br/></noinclude>