Jump to content

Template:Need infobox: Difference between revisions

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;" | {{{Need}}} |- | colspan="2" style="text-align:center; padding:4px;" | [[File:{{{icon|Placeholder.png}}}|100px]] |- ! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Importance''' |- ! colspan="2" style="background:#ffffff; text-align:left; padding:4px; borde..."
 
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;" | '''Importance'''
|-
! colspan="2" style="background:#ffffff; text-align:left; padding:4px; border-top:1px solid #ddd; font-weight: normal;" | {{{importance}}}
|-
|-
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description'''
! colspan="2" style="background:#ececec; text-align:center; padding:4px;" | '''Description'''
Line 16: 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;" | Importance
| style="padding:4px;" | {{{importance}}}
|-
|-
! style="background:#ececec; text-align:left; padding:4px;" | Related Objects
! style="background:#ececec; text-align:left; padding:4px;" | Related Objects
Line 28: Line 27:
{{#set:Need={{{Need|}}} }}
{{#set:Need={{{Need|}}} }}
{{#set:Icon=File:{{{icon|}}} }}
{{#set:Icon=File:{{{icon|}}} }}
{{#set:Importance={{{importance|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Description={{{description|}}} }}
{{#set:Improvement={{{improvement|}}} |+sep}}
{{#set:Improvement={{{improvement|}}} |+sep}}
{{#set:Importance={{{importance|}}} }}
{{#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 42: Line 41:
* '''Need''' - name of the Need (e.g. Hunger)
* '''Need''' - name of the Need (e.g. Hunger)
* '''icon''' – Filename for the need's icon (e.g. Hunger icon.png)
* '''icon''' – Filename for the need's icon (e.g. Hunger icon.png)
* '''importance''' - Brief description of the need's significance or role
* '''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
* '''importance''' - 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 53: Line 52:
| Need =  
| Need =  
| icon =  
| icon =  
| importance =
| description =  
| description =  
| improvement =  
| improvement =  
| importance =
| related objects =  
| related objects =  
| related interactions =  
| related interactions =  
Line 65: Line 64:
| Need = Hunger
| Need = Hunger
| icon = Hunger icon.png
| icon = Hunger icon.png
| importance = Essential for survival and energy.
| 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
| importance = Essential for survival and energy.
| related objects = Food, Plate, Stove
| related objects = Food, Plate, Stove
| related interactions = Eating, Cooking
| related interactions = Eating, Cooking