Template:Locker

Revision as of 09:14, 24 April 2020 by Helpful Herbert (talk | contribs) (Added details to documentation. Added TODO-note about default-parameters. Added border to box for better design)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Pen.png This page needs revising!

The following page is out of date and/or needs to be revised. If the page's guide needs revision, see here for an example.
The revision reason is: "Fix missing parameters and empty parameters to behave the same. Also 'sells_bg' should be split"
Marked by: "Helpful Herbert (talk) 09:14, 24 April 2020 (UTC)"



About

Short details of standard lockers and their conents, intended use in Lockers.

Parameter-Usage

Parameter Default Description
name N/A Name of the lockertype
name_bg #C7DCEC Background-color of the name
name_font #000000 Font-color of the name
icon N/A Name of the imagefile of the locker
foundat_bg #d4ebf2 Background-color of the general info
foundat_font #000000 Font-color of the general info
area N/A Areas in which the lockertype can be found
access N/A Required authorisation to access the lockertype
sells_bg #F0E68C and #FFEFD5 ??? Background-color of the contents
sells_font #000000 Font-color of the contents
items N/A

Examples

Bare 1

{{locker}}
N/A
N/A Found at: N/A
Access Required: N/A
Items
N/A


Bare 2

{{locker
|name=
|icon=
|area=
|access=
|items=
}}
'
N/A Found at:
Access Required:
Items


Normal

{{locker
|name=Boxing Gloves
|icon=Closet.png
|area=Dormitory
|access=None
|items=[[File:Boxingblue.png]]Blue boxing gloves<br>[[File:Boxinggreen.png]]Green boxing gloves<br>[[File:Boxingyellow.png]]Yellow boxing gloves<br>[[File:Boxing.png]]Red boxing gloves
}}
Boxing Gloves
Closet.png Found at: Dormitory
Access Required: None
Items
Boxingblue.pngBlue boxing gloves
Boxinggreen.pngGreen boxing gloves
Boxingyellow.pngYellow boxing gloves
Boxing.pngRed boxing gloves


Full

{{locker
|name=Whatever
|name_bg=#C7DCEC
|name_font=black
|icon=Rack.png
|foundat_bg=#FFEDD4
|foundat_font=black
|area=Medical, Kitchen
|access=Cook
|sells_bg=#FFF3D4
|sells_font=black
|items=Pliers<br>Knife
}}
Whatever
Rack.png Found at: Medical, Kitchen
Access Required: Cook
Items
Pliers
Knife