Jump to content

Template:Donut infobox: Difference between revisions

From inZOI Wiki
Created page with "<includeonly> {| class="infobox" style="font-size:90%; border:1px solid #aaa; background:#fff;" |- ! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{donut}}} |- | colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}|100px]] |- ! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Effect''' |- ! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-t..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Price
! style="background:#ececec; text-align:left; padding:4px;" | Price
| style="padding:4px;" | {{{price|}}}
| style="padding:4px;" | {{{price|}}} [[Meow Coins]]
|-
|-
|}
|}
[[{{PAGENAME}}]] is a [[Donut]] in [[inZOI]].
[[{{PAGENAME}}]] is a [[Donut]] that can be purchased from the [[Meow Store]] for {{{price|}}} [[Meow Coins]] in [[inZOI]].
<div style="display:none;">
<div style="display:none;">
{{#set:Donut={{{donut|}}} }}
{{#set:Donut={{{donut|}}} }}

Latest revision as of 19:24, 27 March 2025


This template creates an infobox for Donuts with Semantic MediaWiki annotations.

Parameters

  • donut - Name of the donut (e.g. Glazed Donut)
  • icon – Filename for the donut's icon (e.g. Glazed Donut icon.png)
  • effect - Effect of consuming the donut (e.g. Boosts energy)
  • price - Cost of the donut in in-game currency (e.g. 5 Meow Coins)

Usage

{{Donut infobox
| donut = 
| icon = 
| effect = 
| price = 
}}

Example Usage

{{Donut infobox
| donut = Glazed Donut
| icon = Glazed Donut icon.png
| effect = Boosts energy for 2 hours
| price = 5 Meow Coins
}}