Template:Vendingmachine: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
(added a slot for cost)
m (+ premium)
Line 14: Line 14:
|bgcolor="{{{hacked_bg|#B0C4DE}}}" align="left" colspan=2|<font color="{{{hacked_font|#000000}}}">{{{hackeditems|N/A}}}</font>
|bgcolor="{{{hacked_bg|#B0C4DE}}}" align="left" colspan=2|<font color="{{{hacked_font|#000000}}}">{{{hackeditems|N/A}}}</font>
|-
|-
|bgcolor="{{{premium_bg|#C0C0C0}}}" align="center" colspan=2|<font color="{{{premium_font|#000000}}}">'''Premium items'''</font>
|bgcolor="{{{premium_bg|#C0C0C0}}}" align="center" colspan=2|<font color="{{{premium_font|#000000}}}">'''Premium items '''{{{premiumcost| }}}</font>
|-
|-
|bgcolor="{{{premium_bg|#DCDCDC}}}" align="left" colspan=2|<font color="{{{premium_font|#000000}}}">{{{premiumitems|N/A}}}</font>
|bgcolor="{{{premium_bg|#DCDCDC}}}" align="left" colspan=2|<font color="{{{premium_font|#000000}}}">{{{premiumitems|N/A}}}</font>
Line 39: Line 39:
premium_bg=#EEF2F2 |
premium_bg=#EEF2F2 |
premium_font=blue |
premium_font=blue |
premiumcost=($50) |
premiumitems=Pulse Rifle<br>Antag Token
premiumitems=Pulse Rifle<br>Antag Token
}}</pre>
}}</pre>
Line 62: Line 63:
premium_bg=#EEF2F2 |
premium_bg=#EEF2F2 |
premium_font=blue |
premium_font=blue |
premiumcost=($50) |
premiumitems=Pulse Rifle<br>Antag Token
premiumitems=Pulse Rifle<br>Antag Token
}}
}}

Revision as of 07:58, 18 October 2019

Example would be:

{{vendingmachine |
name=Whatever |
name_bg=#C7DCEC |
name_font=black|
icon=Rack.png |
foundat_bg=#FFEDD4 |
foundat_font=black |
area=Medical, Kitchen |
sells_bg=#FFF3D4 |
sells_font=black |
sellscost=testamount |
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
}}

which turns into


Whatever
Rack.png Found at: Medical, Kitchen
Sells ($5)
Pliers
Knife
Hacked ($2)
Zippo
Matches
Premium items ($50)
Pulse Rifle
Antag Token


Simple version:

{{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)|
}}}

which turns into


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