Template:FurnitureList/doc

From SpiralKnights

Revision as of 20:48, 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 = the simplest form of a name. We have bolted vees, and then we have regal bolted vees, toasty bolted vees, and so on. Furniture items have recolors too.

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.

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. There will seem to be many unneeded repeats, but considering every furniture item (especially boss trophies and creatures like Snipes) their use becomes clear.


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 = Spiral 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}}}|Spiral 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: ???


|}



Example:


{{FurnitureList/start}} {{FurnitureList |page link = Blue Flying Snipe |group link = Snipe (Furniture) |example icon = Blue Flying Snipe |example image = Blue Flying Snipe-Placed |general name = Flying Snipe |group = Snipe (Haven) |type = Creature }} {{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}}}|Flying Snipe]]

| 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" | Creature

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

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


|}


Personal tools