Difference between revisions of "Template:FurnitureInfo"

From SpiralKnights

Jump to: navigation, search
(test)
m (fix)
 
(23 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{SKWindow
+
<includeonly>{{SKWindow
 
| width = 300px
 
| width = 300px
 
| align = right
 
| align = right
Line 9: Line 9:
 
{{SKWindow/Cell|[[File:Furniture-{{{name|Unknown}}}.png|center]]
 
{{SKWindow/Cell|[[File:Furniture-{{{name|Unknown}}}.png|center]]
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/Cell|'''Acquisition'''  
+
{{SKWindow/Cell|1='''Acquisition'''
*{{{acquisition}}}
+
<br/><br/><div style="text-align:center">{{{acquisition}}}</div>
}}
+
}}<br/>
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/Cell|1='''Dimensions'''  
 
{{SKWindow/Cell|1='''Dimensions'''  
Line 27: Line 27:
 
{{#switch: {{{promotional}}}
 
{{#switch: {{{promotional}}}
 
| yes = [[Category:Promotional items]]
 
| yes = [[Category:Promotional items]]
| #default =}}[[Category:Furniture]]</includeonly><noinclude>{{documentation}} [[Category:Furniture Templates]]</noinclude>
+
| #default =}}[[Category:Furniture]]</includeonly><noinclude>{{documentation}} [[Category:Furniture Templates]] [[Category:Infobox templates|{{PAGENAME}}]] </noinclude>
<includeonly>The {{{name}}} is a [[Furniture|furniture]] item that can be placed in a [[Guild Hall]].</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] [purge] 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


Furniture-Replica Royal Jelly icon.png
Replica Royal Jelly
Furniture-Replica Royal Jelly.png
Acquisition


Dimensions
3x3

Rotation
This item can only be rotated to the North, South, West, or East.

The Replica Royal Jelly is a furniture item that can be placed in a Guild Hall.

Personal tools