Template:Infobox cooked item: Difference between revisions

From He is Coming Official Wiki
Created page with "<noinclude> == Example == The following is a sample output of this template: {{Infobox_cooked_item | image = CookedApple.png | basestats = +10 HP, +5 Speed | effect = Heals over time | tags = Fruit, Recovery | rarity = ★★☆☆☆ | ingredient1 = Apple | ingredient2 = Honey | region1 = Forest | region2 = Plains }} <!-- {{Infobox_cooked_item | image = CookedApple.png | basestats = +10 HP, +5 Speed | effect = Heals over time | tags = Fruit, Recovery | r..."
 
Benjiminio (talk | contribs)
mNo edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 3: Line 3:
The following is a sample output of this template:
The following is a sample output of this template:


{{Infobox_cooked_item
{{Infobox cooked item
  | image = CookedApple.png
  | image = Explosive Roast 16x.png
  | basestats = +10 HP, +5 Speed
  | basestats = [[File:Icon health.png]] 5
  | effect = Heals over time
  | effect = [[Battle Start]]: Deal 1 damage 3 times
  | tags = Fruit, Recovery
  | tags = [[ItemTypes/Food|Food]] [[ItemTypes/Bomb|Bomb]]
| rarity = ★★☆☆☆
  | ingredient1 = [[Cherry Bomb]]
  | ingredient1 = Apple
  | ingredient2 = [[Redwood Roast]]
  | ingredient2 = Honey
  | region1 = [[Woodland_items|Woodland]] [[File:Banner wood red.png]]
  | region1 = Forest
  | region2 = [[Woodland_items|Woodland]] [[File:Banner wood red.png]]
  | region2 = Plains
}}
}}
 
<pre>
<!--
{{Infobox cooked item
{{Infobox_cooked_item
  | image = Explosive Roast 16x.png
  | image = CookedApple.png
  | basestats = [[File:Icon health.png]] 5
  | basestats = +10 HP, +5 Speed
  | effect = Battle Start: Deal 1 damage 3 times
  | effect = Heals over time
  | tags = [[ItemTypes/Food|Food]] [[ItemTypes/Bomb|Bomb]]
  | tags = Fruit, Recovery
  | ingredient1 = [[Cherry Bomb]]
| rarity = ★★☆☆☆
  | ingredient2 = [[Redwood Roast]]
  | ingredient1 = Apple
  | region1 = [[Woodland_items|Woodland]] [[File:Banner wood red.png]]
  | ingredient2 = Honey
  | region2 = [[Woodland_items|Woodland]] [[File:Banner wood red.png]]
  | region1 = Forest
  | region2 = Plains
}}
}}
-->
</pre>
 
{{Documentation}}
</noinclude>
</noinclude>


<includeonly>
<includeonly>
{| class="wikitable infobox-item" style="float:right; clear:right; margin:0 0 1em 1em; width:324px;"
{| class="wikitable infobox-item" style="float:right; clear:right; margin:0 0 1em 1em; width:350px;"
|-
|-
! colspan="2" style="text-align:center; padding:0; background-color:#241319;" |
! colspan="3" style="text-align:center; padding:0; background-color:#241319;" |
[[File:{{{image|}}}|256x256px|center]]
[[File:{{{image}}}|256x256px|center]]
{{#if:{{{basestats|}}}|
|-
|-
! Base Stats
! style="width:30%" | Base Stats
| style="text-align:center;" | {{{basestats}}}
| colspan="2" style="text-align:center;" | {{{basestats}}}
}}
{{#if:{{{effect|}}}|
|-
|-
! Effect
! Effect
| style="text-align:center;" | {{{effect}}}
| colspan="2" style="text-align:center;" | <span style="display:inline;">{{{effect}}}</span>
}}
{{#if:{{{tags|}}}|
|-
|-
! Tags
! Tags
| style="text-align:center;" | {{{tags}}}
| colspan="2" style="text-align:center;" | {{{tags}}}
}}
{{#if:{{{rarity|}}}|
|-
! Rarity
| style="text-align:center;" | {{{rarity}}}
}}
 
{{#if:{{{ingredient1|}}}|
|-
|-
! Ingredients
! Ingredients
| style="text-align:center;" | {{{ingredient1}}}
| style="text-align:center;" | {{{ingredient1}}} || style="text-align:center;" | {{{ingredient2}}}
}}
{{#if:{{{ingredient2|}}}|
|-
| style="text-align:center;" | {{{ingredient2}}}
}}
 
{{#if:{{{region1|}}}|
|-
|-
! Regions
! Regions
| style="text-align:center;" | {{{region1}}}
| style="text-align:center; width:35%" | {{{region1}}} || style="text-align:center;" | {{{region2}}}
}}
{{#if:{{{region2|}}}|
|-
| style="text-align:center;" | {{{region2}}}
}}
|}
|}
</includeonly>
</includeonly>

Latest revision as of 10:30, 15 July 2026

Example

The following is a sample output of this template:



Base Stats 5
Effect Battle Start: Deal 1 damage 3 times
Tags Food Bomb
Ingredients Cherry Bomb Redwood Roast
Regions Woodland Woodland
{{Infobox cooked item
 | image = Explosive Roast 16x.png
 | basestats = [[File:Icon health.png]] 5
 | effect = Battle Start: Deal 1 damage 3 times
 | tags = [[ItemTypes/Food|Food]] [[ItemTypes/Bomb|Bomb]]
 | ingredient1 = [[Cherry Bomb]]
 | ingredient2 = [[Redwood Roast]]
 | region1 = [[Woodland_items|Woodland]] [[File:Banner wood red.png]]
 | region2 = [[Woodland_items|Woodland]] [[File:Banner wood red.png]]
}}