Template:Furniture infobox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
{{#if:{{{type|}}}|{{!}}- | {{#if:{{{type|}}}|{{!}}- | ||
! style="background:#ececec; text-align:left; padding:4px;" {{!}} Type | ! style="background:#ececec; text-align:left; padding:4px;" {{!}} Type | ||
{{!}} style="padding:4px;" {{!}} {{{type}}} | {{!}} style="padding:4px;" {{!}} [[{{{type}}}]] | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{price|}}}|{{!}}- | {{#if:{{{price|}}}|{{!}}- | ||
Line 24: | Line 20: | ||
{{!}} style="padding:4px;" {{!}} {{{price}}} [[Meow]] | {{!}} style="padding:4px;" {{!}} {{{price}}} [[Meow]] | ||
}} | }} | ||
|- | |||
! 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}}} | |||
|- | |- | ||
{{#if:{{{unlock|}}}|{{!}}- | {{#if:{{{unlock|}}}|{{!}}- | ||
Line 36: | Line 36: | ||
|- | |- | ||
|} | |} | ||
[[{{PAGENAME}}]] is a {{{type|}}} [[Furniture]] available in the [[{{{room|}}}]] | [[{{PAGENAME}}]] is a [[{{{type|}}}]] [[Furniture]] available in the [[{{{room|}}} Furniture|{{{room|}}}]] in [[inZOI]]. | ||
<div style="display:none;"> | <div style="display:none;"> | ||
{{#set:Furniture={{{furniture|}}} }} | {{#set:Furniture={{{furniture|}}} }} | ||
Line 42: | Line 42: | ||
{{#set:Room={{{room|}}} }} | {{#set:Room={{{room|}}} }} | ||
{{#set:Type={{{type|}}} }} | {{#set:Type={{{type|}}} }} | ||
{{#set:Price={{{price|}}} }} | |||
{{#set:Description={{{description|}}} }} | {{#set:Description={{{description|}}} }} | ||
{{#set:Unlock={{{unlock|}}} }} | {{#set:Unlock={{{unlock|}}} }} | ||
{{#set:Release={{{release|}}} }} | {{#set:Release={{{release|}}} }} | ||
Line 50: | Line 50: | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
This template creates an infobox for [[Furniture]] in | This template creates an infobox for [[Furniture]] in [[inZOI]] with Semantic MediaWiki annotations. Rows are only displayed if their corresponding parameters are filled. | ||
==Parameters== | ==Parameters== | ||
Line 57: | Line 57: | ||
* '''room''' - Room where the furniture can be placed (e.g., Living Room) | * '''room''' - Room where the furniture can be placed (e.g., Living Room) | ||
* '''type''' - Type of furniture (e.g., Chair, Table, Bed) | * '''type''' - Type of furniture (e.g., Chair, Table, Bed) | ||
* '''price''' - Cost in [[Meow]] to purchase | |||
* '''description''' - Brief description of the furniture | * '''description''' - Brief description of the furniture | ||
* '''unlock''' - How to unlock this furniture item | * '''unlock''' - How to unlock this furniture item | ||
* '''release''' - When this furniture was released | * '''release''' - When this furniture was released | ||
Line 69: | Line 69: | ||
| room = | | room = | ||
| type = | | type = | ||
| price = | |||
| description = | | description = | ||
| unlock = | | unlock = | ||
| release = | | release = | ||
Line 83: | Line 83: | ||
| room = Living Room | | room = Living Room | ||
| type = Chair | | type = Chair | ||
| price = 500 | |||
| description = A sleek, contemporary chair with minimalist design. | | description = A sleek, contemporary chair with minimalist design. | ||
| unlock = Reach Level 5 | | unlock = Reach Level 5 | ||
| release = Base Game | | release = Base Game | ||
Line 95: | Line 95: | ||
| room = Living Room | | room = Living Room | ||
| type = Chair | | type = Chair | ||
| price = 500 | |||
| description = A sleek, contemporary chair with minimalist design. | | description = A sleek, contemporary chair with minimalist design. | ||
| unlock = Reach Level 5 | | unlock = Reach Level 5 | ||
| release = Base Game | | release = Base Game | ||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 19:52, 6 April 2025
This template creates an infobox for Furniture in inZOI with Semantic MediaWiki annotations. Rows are only displayed if their corresponding parameters are filled.
Parameters
- furniture - Name of the furniture item
- icon - Filename for the furniture's icon (e.g., Modern_Chair_Icon.png)
- room - Room where the furniture can be placed (e.g., Living Room)
- type - Type of furniture (e.g., Chair, Table, Bed)
- price - Cost in Meow to purchase
- description - Brief description of the furniture
- unlock - How to unlock this furniture item
- release - When this furniture was released
Usage
{{Furniture infobox | furniture = | icon = | room = | type = | price = | description = | unlock = | release = }}
Example Usage
{{Furniture infobox | furniture = Modern Chair | icon = Modern_Chair_Icon.png | room = Living Room | type = Chair | price = 500 | description = A sleek, contemporary chair with minimalist design. | unlock = Reach Level 5 | release = Base Game }}
Modern Chair | |
---|---|
File:Modern Chair Icon.png | |
Room | Living Room |
Type | Chair |
Price | 500 Meow |
Description | |
A sleek, contemporary chair with minimalist design. | |
Unlock | Reach Level 5 |
Release | Base Game |
Furniture infobox is a Chair Furniture available in the Living Room in inZOI.