Template:Need infobox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
| style="padding:4px;" | {{#arraymap:{{{improvement|}}}|,|x|x}} | | style="padding:4px;" | {{#arraymap:{{{improvement|}}}|,|x|x}} | ||
|- | |- | ||
! style="background:#ececec; text-align:left; padding:4px;" | | ! style="background:#ececec; text-align:left; padding:4px;" | Priority | ||
| style="padding:4px;" | {{{ | | style="padding:4px;" | {{{priority}}} | ||
|- | |- | ||
! style="background:#ececec; text-align:left; padding:4px;" | Related Objects | ! style="background:#ececec; text-align:left; padding:4px;" | Related Objects | ||
Line 29: | Line 29: | ||
{{#set:Description={{{description|}}} }} | {{#set:Description={{{description|}}} }} | ||
{{#set:Improvement={{{improvement|}}} |+sep}} | {{#set:Improvement={{{improvement|}}} |+sep}} | ||
{{#set: | {{#set:Priority={{{priority|}}} }} | ||
{{#set:Related Objects={{{related objects|}}} |+sep}} | {{#set:Related Objects={{{related objects|}}} |+sep}} | ||
{{#set:Related Interactions={{{related interactions|}}} |+sep}} | {{#set:Related Interactions={{{related interactions|}}} |+sep}} | ||
Line 43: | Line 43: | ||
* '''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 | ||
* ''' | * '''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) | ||
* '''related interactions''' - Actions or interactions tied to the need (comma-separated) | * '''related interactions''' - Actions or interactions tied to the need (comma-separated) | ||
Line 54: | Line 54: | ||
| description = | | description = | ||
| improvement = | | improvement = | ||
| | | priority = | ||
| related objects = | | related objects = | ||
| related interactions = | | related interactions = | ||
Line 66: | Line 66: | ||
| 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 | ||
| | | priority = Essential for survival and energy. | ||
| related objects = Food, Plate, Stove | | related objects = Food, Plate, Stove | ||
| related interactions = Eating, Cooking | | related interactions = Eating, Cooking |
Revision as of 05:48, 27 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 }}