Template:Infobox cooked item: Difference between revisions

From He is Coming Official Wiki
No edit summary
No edit summary
Line 4: Line 4:


{{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 4 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
| image = Explosive Roast 16x.png
| basestats = [[File:Icon health.png]] 5
| effect = Battle Start: Deal 1 damage 4 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]]
}}
</pre>
</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:354px;"
|-
|-
! colspan="2" style="text-align:center; padding:0;" |
! colspan="3" style="text-align:center; padding:0; background-color:#241319;" |
[[File:{{{image}}}|256x256px|center]]
[[File:{{{image}}}|256x256px|center]]
|-
|-
! Base Stats
! Base Stats
| style="text-align:center;" | {{{basestats}}}
| colspan="2" style="text-align:center;" | {{{basestats}}}
|-
|-
! Effect
! Effect
| style="text-align:center;" | {{{effect}}}
| colspan="2" style="text-align:center;" | {{{effect}}}
|-
|-
! Tags
! Tags
| style="text-align:center;" | {{{tags}}}
| colspan="2" style="text-align:center;" | {{{tags}}}
|-
! Rarity
| style="text-align:center;" | {{{rarity}}}
|-
|-
! Ingredients
! Ingredients
| style="text-align:center;" | {{{ingredient1}}}
| style="text-align:center;" | {{{ingredient1}}} || style="text-align:center;" | {{{ingredient2}}}
|-
| style="text-align:center;" | {{{ingredient2}}}
|-
|-
! Regions
! Regions
| style="text-align:center;" | {{{region1}}}
| style="text-align:center;" | {{{region1}}} || style="text-align:center;" | {{{region2}}}
|-
| style="text-align:center;" | {{{region2}}}
|}
|}
</includeonly>
</includeonly>

Revision as of 14:49, 2 August 2025

Example

The following is a sample output of this template:



Base Stats 5
Effect Battle Start: Deal 1 damage 4 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 4 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]]
}}