Template:FurnitureList

From SpiralKnights

Revision as of 14:52, 17 November 2014 by Novaster (Talk | contribs)

Jump to: navigation, search

Parameters

Required

page link = allows cleaner linking to specific pages. Often goes through a redirect for furniture that is simplistic, having no recipe or other special properties.

group link = allows cleaner linking to ideal pages of lists.

example icon = the filename of the item's icon image

example image = the filename of the item's tooltip or overworld image

general name = Bed

group = the community/slang term used to describe the collection, usually named after the box they come from.

type = unofficial terminology used to describe the furniture.

"placed" simply means that the image is of the item in the overworld. We usually want the "placed" version for Creatures, since the tooltip view for creatures is a cage, and that's not very informative. Other furniture items use the tooltip. This is useful because information about the scale of the item is incorporated into the tooltip images of furniture.

Usage

For the main furniture page. Keeps things neat, organized, and informative. The number of variable plug-n-chug aspects is due to the large number of disambiguation pages in relation to furniture and other token/gear/etc. items, as well as whether or not the editor wishes to show a tooltip or overworld view, officially.

Example:

{{FurnitureList/start}} {{FurnitureList |page link = Spiral Blue Bed |group link = Birdsong Emporium Furniture |example icon = Spiral Blue Bed |example image = Spiral Blue Bed |general name = Bed |group = Birdsong Emporium |type = Bed }} {{Table/end}}

Produces:

- fixed capital letter in "Start" (consistency with template naming like SKWindow/NewRow etc.)

|- valign="middle" | style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align="center" | [[{{{link}}}|Bed]]

| style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" |

| style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align = "center" valign = "middle" | Bed

| style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align = "center" valign = "middle" | Birdsong Emporium

| style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" valign = "top" | Interactive: ???


|}

Template

[[File:Furniture-{{{example icon}}}_icon.png|36px|left|link={{{page link}}}]] [[{{{page link}}}|{{{general name}}}]] [[{{{group link}}}|{{{group}}}]] {{{type}}} [[File:Furniture-{{{example image}}}.png|100px|link={{{page link}}}]]|}
Personal tools