Difference between revisions of "Template:FurnitureInfo"
From SpiralKnights
m (test) |
m (fix) |
||
(26 intermediate revisions by one other user not shown) | |||
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''' |
− | + | <br/><br/><div style="text-align:center">{{{acquisition}}}</div> | |
− | }} | + | }}<br/> |
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|'''Dimensions''' | + | {{SKWindow/Cell|1='''Dimensions''' |
− | {{{dimensions | + | <div style="text-align:center">{{{dimensions}}}</div> |
− | }} | + | }}<br/> |
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
{{SKWindow/Cell|'''Rotation'''{{#switch:{{{rotation}}} | {{SKWindow/Cell|'''Rotation'''{{#switch:{{{rotation}}} | ||
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] [ ] 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. |