Difference between revisions of "Template:FurnitureInfo"
From SpiralKnights
m (add flexibility for naming and icons - test) |
m (fix) |
||
(16 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
| align = right | | align = right | ||
| margin = 0px 0px 20px 20px | | margin = 0px 0px 20px 20px | ||
− | | icon | + | | icon = Furniture-{{{name|Unknown}}}{{{fixicon|}}}_icon.png |
− | + | ||
| title = {{{name|Furniture}}} | | title = {{{name|Furniture}}} | ||
| body = | | body = | ||
Line 28: | 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. |