Template:Death infobox: Difference between revisions
Appearance
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;" | {{{death}}} |- | colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}|100px]] |- ! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description''' |- ! colspan="2" style="background:#ffffff; text-align:left; padding:4px; bor..." |
No edit summary |
||
Line 5: | Line 5: | ||
|- | |- | ||
| colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}|100px]] | | colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}|100px]] | ||
|- | |||
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Cause''' | |||
|- | |||
! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{cause}}} | |||
|- | |- | ||
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description''' | ! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description''' | ||
|- | |- | ||
! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{description}}} | ! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{description}}} | ||
|- | |- | ||
! style="background:#ececec; text-align:left; padding:4px;" | Rarity | ! style="background:#ececec; text-align:left; padding:4px;" | Rarity |
Revision as of 12:19, 27 March 2025
This template creates an infobox for Death types in inZOI with Semantic MediaWiki annotations.
Parameters
- death - Name of the death type (e.g., Death from Starvation)
- icon – Filename for the death type's icon (e.g., Starvation icon.png)
- cause - The specific trigger or condition causing the death
- description - Brief description of the death type
- rarity - How common or rare the death type is in gameplay (e.g., Common, Rare, Uncommon)
Usage
{{Death infobox | death = | icon = | cause = | description = | rarity = }}
Example Usage
{{Death infobox | death = Death from Starvation | icon = Starvation icon.png | cause = Prolonged failure to consume sufficient food | description = Occurs when a Zoi's hunger need is ignored, leading to health deterioration and death. | rarity = Common }}