Template:Vendingmachine

Revision as of 19:52, 21 April 2020 by Helpful Herbert (talk | contribs) (Tidied up documentation. Trimmed linebreaks at start and end of includeonly-tag. Added a border around the whole box.)

About

Short details of the contents and prices of a vending machine, intended use in Vending machines.

Parameter-Usage

Parameter Default value Description
name_font #000000 Font-color of the vending machines name
name_bg #C7DCEC Background-color of the vending machines name
name N/A Name of the vending machine
icon N/A Name of the vending machines icon
area N/A Areas in which the vending machine can be found
foundat_font #000000 Font-color of the main section
foundat_bg #d4ebf2 Background-color of the main section
sells_font #000000 Font-color of the 'sells'-section
sells_bg #F0E68C Background-color of the 'sells'-section
sellscost Price of normal items like '$5'
items N/A List of normal items which can be bought without hacking. Use HTML-Linebreaks to separate.
hacked_font #000000 Font-color of the 'hacked'-section
hacked_bg #6495ED Background-color of the 'hacked'-section
hackedcost Price of items listed in the 'hacked'-section like '$10'
hackeditems N/A List of items which only be bought at a hacked machine. Use HTML-Linebreaks to separate.
premium_font #000000 Font-color of the 'premium'-section
premium_bg #C0C0C0 Background-color of the 'premium'-section
premiumcost Price of premium items like '$30'
premiumitems N/A List of items listed as premium

Examples

Bare

{{vendingmachine}}
N/A
N/A Found at: N/A
Sells
N/A
Hacked
N/A
Premium items
N/A

Simple

{{vendingmachine
|name=VendSec
|icon=Vendsec.gif
|area=Security
|sellscost=($5)
|items=8x Handcuffs<br>2x Flashbang<br>5x Flash<br>12x Donut 
|hackeditems=2x Sunglasses<br>2x Donut Box
|hackedcost=($2)
}}
VendSec
Vendsec.gif Found at: Security
Sells ($5)
8x Handcuffs
2x Flashbang
5x Flash
12x Donut
Hacked ($2)
2x Sunglasses
2x Donut Box
Premium items
N/A

Full

{{vendingmachine
|name=Whatever
|name_bg=#C7DCEC
|name_color=black
|icon=Rack.png
|foundat_bg=#FFEDD4
|foundat_font=black
|area=Medical, Kitchen
|sells_bg=#FFF3D4
|sells_font=black
|sellscost=($5)
|items=Pliers<br>Knife
|hacked_bg=#CBD1EE
|hacked_font=red
|hackedcost=($2)
|hackeditems=Zippo<br>Matches
|premium_bg=#EEF2F2
|premium_font=blue
|premiumcost=($50)
|premiumitems=Pulse Rifle<br>Antag Token
}}
Whatever
Rack.png Found at: Medical, Kitchen
Sells ($5)
Pliers
Knife
Hacked ($2)
Zippo
Matches
Premium items ($50)
Pulse Rifle
Antag Token