Template:Item infobox: Difference between revisions

From Zoo Wiki
Created page with "{| class="infobox wikitable" style="box-sizing:content-box;clear:right;float:right;margin:0 0 1em 1em;width:calc(240px + (2 * 0.4em →‎td padding horizontal: ) + (2 * 0.2em →‎table border-spacing: ));" |+ |colspan="2"|<div style="text-align:center;font-size:larger;font-weight:bold;">{{{1|{{PAGENAME}}}}}</div> |- |colspan="2"|<div style="display:flex;justify-content:center;">[[File:{{{1|{{PAGENAME}}}}}.png|72x72px]]</div> |- |colspan="2"|<div style="text-align:center;f..."
 
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 8: Line 8:
|-
|-
|Quality
|Quality
|(WIP)
|{{Item quality|{{{1|{{PAGENAME}}}}}}}<!--
|-
-->{{#if:{{Mechanic upgrade|{{{1|{{PAGENAME}}}}}}}|
|Type
{{!}}+
|(WIP)
!colspan=2{{!}}[[The Mechanic|Mechanic]] upgrade
|-
{{!}}-
|[[The Mechanic|Upgraded form]]
{{!}}colspan=2 style="text-align:center;"{{!}}{{Mechanic upgrade|{{{1|{{PAGENAME}}}}}}}}}<!--
|(WIP)
-->{{#if:{{Mechanic quote|{{{1|{{PAGENAME}}}}}}}|&nbsp;<!-- it doesn't work without this nobreak space. don't ask me why -->
|}
{{!}}-
</div>
{{!}}colspan=2{{!}}<!-- font-size and line-height stolen from discord embeds --><div style="font-size:.875rem;line-height:1.125;font-style:italic;">[[File:Murphy.webp|16px|noframe|float=inline-start|alt=|link=Murphy]] {{Mechanic quote|{{{1|{{PAGENAME}}}}}}}</div>}}
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Items]]{{#switch:{{{1|{{PAGENAME}}}}}|Ace|Backpack|Battery|Blank Card|Booster Cookie|Cake Slice|Canoe|Chains|Cocktail|Coupon|Cracked Mystery Egg|Egg|Eyedropper|Fixed Clock|Fortune Cookie|Goggles|Green Tea|Hatched Mystery Egg|Loot Box|Lotus|Magic Mirror|Mystery Chick|Mystery Meat|Needle|Pineapple|Rice Ball|Rice Cracker|Screwdriver|Telescope|Unstable Wand|Very Cracked Mystery Egg=[[Category:Upgraded items]]|=}}}}</includeonly>
<noinclude>
<noinclude>
{{Item infobox|Cookie}}
<templatedata>
<templatedata>
{
{
Line 27: Line 27:
"example": "Coffee",
"example": "Coffee",
"type": "string"
"type": "string"
},
"nocat": {
"description": "Do not add [[:Category:Items]] or [[:Category:Upgraded items]]",
"type": "boolean",
"suggested": true
}
}
}
}

Latest revision as of 20:03, 5 June 2024

Item infobox
“”
Quality Cannot show quality of unknown item: Item infobox[citation needed]

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Item1

Item to show information on (defaults to page title)

Example
Coffee
Stringoptional
nocatnocat

Do not add [[:Category:Items]] or [[:Category:Upgraded items]]

Booleansuggested