Difference between revisions of "Template:FurnitureList"

From SpiralKnights

Jump to: navigation, search
m (Usage)
m (Usage)
Line 40: Line 40:
 
==Usage==
 
==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.
 
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:
 
Example:
 +
 +
  
 
<nowiki>
 
<nowiki>
Line 56: Line 60:
 
{{Table/end}}
 
{{Table/end}}
 
</nowiki>
 
</nowiki>
 +
 +
  
 
Produces:  
 
Produces:  
 +
 +
  
 
{{FurnitureList/start}}
 
{{FurnitureList/start}}
Line 69: Line 77:
 
|group = Birdsong Emporium
 
|group = Birdsong Emporium
 
|type = Bed
 
|type = Bed
 +
}}
 +
 +
{{Table/end}}
 +
 +
{{clearleft}}
 +
 +
 +
 +
Example:
 +
 +
 +
 +
<nowiki>
 +
{{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}}
 +
</nowiki>
 +
 +
 +
 +
Produces:
 +
 +
 +
 +
{{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
 
}}
 
}}
  

Revision as of 15:19, 17 November 2014

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: ???


|}


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