Difference between revisions of "Template:FurnitureInfo"
From SpiralKnights
m (fix) |
|||
(39 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{SKWindow | + | <includeonly>{{SKWindow |
| width = 300px | | width = 300px | ||
| align = right | | align = right | ||
Line 7: | Line 7: | ||
| body = | | body = | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/ | + | {{SKWindow/Cell|[[File:Furniture-{{{name|Unknown}}}.png|center]] |
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|''' | + | {{SKWindow/Cell|1='''Acquisition''' |
+ | <br/><br/><div style="text-align:center">{{{acquisition}}}</div> | ||
+ | }}<br/> | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|''' | + | {{SKWindow/Cell|1='''Dimensions''' |
− | }} | + | <div style="text-align:center">{{{dimensions}}}</div> |
− | < | + | }}<br/> |
− | + | {{SKWindow/NewRow}} | |
− | [[ | + | {{SKWindow/Cell|'''Rotation'''{{#switch:{{{rotation}}} |
+ | |MOVING = [[File:WikiTable-Rotation WANDERING icon.png|36px|center|Its cage always faces South. The creature within can wander all over the place in any direction once the hall is published.]] | ||
+ | |S =[[File:WikiTable-Rotation S icon.png|36px|center|This item cannot be rotated and always faces South.]] | ||
+ | |SWE = [[File:WikiTable-Rotation SWE icon.png|36px|center|This item can only be rotated to the South, West, or East.]] | ||
+ | |NSWE = [[File:WikiTable-Rotation NSWE icon.png|36px|center|This item can only be rotated to the North, South, West, or East.]] | ||
+ | |ALL = [[File:WikiTable-Rotation ALL icon.png|36px|center|This item can be rotated in any direction.]] | ||
+ | }}<br/> | ||
+ | }}}}}} | ||
{{#switch: {{{promotional}}} | {{#switch: {{{promotional}}} | ||
| yes = [[Category:Promotional items]] | | yes = [[Category:Promotional items]] | ||
− | | #default = | + | | #default =}}[[Category:Furniture]]</includeonly><noinclude>{{documentation}} [[Category:Furniture Templates]] [[Category:Infobox templates|{{PAGENAME}}]] </noinclude> |
− | }}</includeonly> | + | <includeonly>The '''{{{name}}}''' is a [[Furniture|furniture]] item that can be placed in a [[Guild Hall]].</includeonly> |
Latest revision as of 00:21, 3 October 2015
[edit] [ ] Template documentation
Parameters
Required
- "name"
- The true name of the item as seen in-game. Avoid using {{PAGENAME}} - don't want to deal with disambiguation issues.
- "acquisition"
- Where to obtain the item, and how much it costs, if there is a set price. Items from boxes typically don't have a set price, though we have seen some stability in Supply Depot Sales, it would not be prudent to state prices of this nature in an official manner.
- "dimensions"
- The length by width dimensions. To date, dimensions include:
- 1x1
- 2x1
- 2x2
- 3x1
- 3x3
- "rotation"
- The directions that the item can be rotated in design mode. To date, directions include:
- S
- SWE
- NSWE
- ALL
- WANDERING
Usage
For furniture items that have just a tad more information than a simple chair, warranting their own pages. Typically used for items that have a recipe, like Trophy Furniture.
It is recommended to use __NOTOC__ after this template, since most of the pages this template is used on are very compressed and tidy as a result of this template, rendering a ToC less useful and more in the way.
- Example
{{FurnitureInfo
| name = Replica Royal Jelly
| acquisition = Craft at [[Armero Alchemy Machine]]
| dimensions = 3x3
| rotation = NSWE
}}
- Produces
| ||||
|
The Replica Royal Jelly is a furniture item that can be placed in a Guild Hall.
The above documentation is transcluded from Template:FurnitureInfo/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |