Jump to content

Template:Need infobox: Difference between revisions

From inZOI Wiki
No edit summary
No edit summary
Line 4: Line 4:
! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{Need}}}
! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{Need}}}
|-
|-
| 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}}}|300px]]
|-
|-
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description'''
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description'''

Revision as of 05:34, 28 March 2025


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

Parameters

  • Need - name of the Need (e.g. Hunger)
  • icon – Filename for the need's icon (e.g. Hunger icon.png)
  • description - General description of the need
  • improvement - Methods or actions to satisfy or address the need
  • priority - Brief description of the need's significance or role
  • related objects - Items or objects associated with the need (comma-separated)
  • related interactions - Actions or interactions tied to the need (comma-separated)

Usage

{{Need infobox
| Need = 
| icon = 
| description = 
| improvement = 
| priority = 
| related objects = 
| related interactions = 
}}

Example Usage

{{Need infobox
| Need = Hunger
| icon = Hunger icon.png
| description = The physical sensation and requirement for food intake.
| improvement = Eat food, cook meals
| priority = Essential for survival and energy.
| related objects = Food, Plate, Stove
| related interactions = Eating, Cooking
}}