Difference between revisions of "Template:FurnitureInfo"
From SpiralKnights
m |
m (fix) |
||
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{SKWindow | + | <includeonly>{{SKWindow |
| width = 300px | | width = 300px | ||
| align = right | | align = right | ||
| margin = 0px 0px 20px 20px | | margin = 0px 0px 20px 20px | ||
− | | | + | | icon = Furniture-{{{name|Unknown}}}{{{fixicon|}}}_icon.png |
+ | | title = {{{name|Furniture}}} | ||
| body = | | body = | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|[[File:Furniture- | + | {{SKWindow/Cell|[[File:Furniture-{{{name|Unknown}}}.png|center]] |
+ | {{SKWindow/NewRow}} | ||
+ | {{SKWindow/Cell|1='''Acquisition''' | ||
+ | <br/><br/><div style="text-align:center">{{{acquisition}}}</div> | ||
+ | }}<br/> | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
{{SKWindow/Cell|1='''Dimensions''' | {{SKWindow/Cell|1='''Dimensions''' | ||
Line 18: | Line 23: | ||
|NSWE = [[File:WikiTable-Rotation NSWE icon.png|36px|center|This item can only be rotated to the North, 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.]] | |ALL = [[File:WikiTable-Rotation ALL icon.png|36px|center|This item can be rotated in any direction.]] | ||
− | |||
}}<br/> | }}<br/> | ||
}}}}}} | }}}}}} | ||
{{#switch: {{{promotional}}} | {{#switch: {{{promotional}}} | ||
| yes = [[Category:Promotional items]] | | yes = [[Category:Promotional items]] | ||
− | | #default =}}[[Category:Furniture]]<noinclude>[[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>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. |