Jump to content

Template:Need infobox: Difference between revisions

From inZOI Wiki
No edit summary
No edit summary
Line 12: Line 12:
! style="background:#ececec; text-align:left; padding:4px;" | Improvement
! style="background:#ececec; text-align:left; padding:4px;" | Improvement
| style="padding:4px;" | {{#arraymap:{{{improvement|}}}|,|x|x}}
| style="padding:4px;" | {{#arraymap:{{{improvement|}}}|,|x|x}}
|-
! style="background:#ececec; text-align:left; padding:4px;" | Negative Consequences
| style="padding:4px;" | {{#arraymap:{{{negative consequences|}}}|,|x|[[x]]}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Priority
! style="background:#ececec; text-align:left; padding:4px;" | Priority
Line 29: Line 32:
{{#set:Description={{{description|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Improvement={{{improvement|}}} |+sep}}
{{#set:Improvement={{{improvement|}}} |+sep}}
{{#set:Related Objects={{{negative consequences|}}} |+sep}}
{{#set:Priority={{{priority|}}} }}
{{#set:Priority={{{priority|}}} }}
{{#set:Related Objects={{{related objects|}}} |+sep}}
{{#set:Related Objects={{{related objects|}}} |+sep}}
Line 43: Line 47:
* '''description''' - General description of the need
* '''description''' - General description of the need
* '''improvement''' - Methods or actions to satisfy or address the need
* '''improvement''' - Methods or actions to satisfy or address the need
* '''negative consequences''' -
* '''priority''' - Brief description of the need's significance or role
* '''priority''' - Brief description of the need's significance or role
* '''related objects''' - Items or objects associated with the need (comma-separated)
* '''related objects''' - Items or objects associated with the need (comma-separated)
Line 54: Line 59:
| description =  
| description =  
| improvement =  
| improvement =  
| negative consequences =
| priority =  
| priority =  
| related objects =  
| related objects =  
Line 66: Line 72:
| description = The physical sensation and requirement for food intake.
| description = The physical sensation and requirement for food intake.
| improvement = Eat food, cook meals
| improvement = Eat food, cook meals
| negative consequences = ???
| priority = Essential for survival and energy.
| priority = Essential for survival and energy.
| related objects = Food, Plate, Stove
| related objects = Food, Plate, Stove

Revision as of 05:46, 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
  • negative consequences -
  • 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 = 
| negative consequences = 
| 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
| negative consequences = ???
| priority = Essential for survival and energy.
| related objects = Food, Plate, Stove
| related interactions = Eating, Cooking
}}