Template:Vendingmachine: Difference between revisions
Jump to navigation
Jump to search
m (nicer blue background) |
(added a slot for cost) |
||
Line 6: | Line 6: | ||
|bgcolor="{{{foundat_bg|#d4ebf2}}}"|<font color="{{{foundat_font|#000000}}}">'''Found at:''' {{{area|N/A}}}</font> | |bgcolor="{{{foundat_bg|#d4ebf2}}}"|<font color="{{{foundat_font|#000000}}}">'''Found at:''' {{{area|N/A}}}</font> | ||
|- | |- | ||
|bgcolor="{{{sells_bg|#F0E68C}}}" align="center" colspan=2|<font color="{{{sells_font|#000000}}}">'''Sells'''</font> | |bgcolor="{{{sells_bg|#F0E68C}}}" align="center" colspan=2|<font color="{{{sells_font|#000000}}}">'''Sells '''{{{sellscost| }}}</font> | ||
|- | |- | ||
|bgcolor="{{{sells_bg|#FFEFD5}}}" align="left" colspan=2|<font color="{{{sells_font|#000000}}}">{{{items|N/A}}}</font> | |bgcolor="{{{sells_bg|#FFEFD5}}}" align="left" colspan=2|<font color="{{{sells_font|#000000}}}">{{{items|N/A}}}</font> | ||
|- | |- | ||
|bgcolor="{{{hacked_bg|#6495ED}}}" align="center" colspan=2|<font color="{{{hacked_font|#000000}}}">'''Hacked'''</font> | |bgcolor="{{{hacked_bg|#6495ED}}}" align="center" colspan=2|<font color="{{{hacked_font|#000000}}}">'''Hacked '''{{{hackedcost| }}}</font> | ||
|- | |- | ||
|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> | ||
Line 31: | Line 31: | ||
sells_bg=#FFF3D4 | | sells_bg=#FFF3D4 | | ||
sells_font=black | | sells_font=black | | ||
sellscost=testamount | | |||
items=Pliers<br>Knife | | items=Pliers<br>Knife | | ||
hacked_bg=#CBD1EE | | hacked_bg=#CBD1EE | | ||
hacked_font=red | | hacked_font=red | | ||
hackedcost=$2| | |||
hackeditems=Zippo<br>Matches | | hackeditems=Zippo<br>Matches | | ||
premium_bg=#EEF2F2 | | premium_bg=#EEF2F2 | | ||
Line 52: | Line 54: | ||
sells_bg=#FFF3D4 | | sells_bg=#FFF3D4 | | ||
sells_font=black | | sells_font=black | | ||
sellscost=($5) | | |||
items=Pliers<br>Knife | | items=Pliers<br>Knife | | ||
hacked_bg=#CBD1EE | | hacked_bg=#CBD1EE | | ||
hacked_font=red | | hacked_font=red | | ||
hackedcost=($2)| | |||
hackeditems=Zippo<br>Matches | | hackeditems=Zippo<br>Matches | | ||
premium_bg=#EEF2F2 | | premium_bg=#EEF2F2 | | ||
Line 67: | Line 71: | ||
icon=Vendsec.gif | | icon=Vendsec.gif | | ||
area=Security | | area=Security | | ||
sellscost=($5) | | |||
items=8x Handcuffs<br>2x Flashbang<br>5x Flash<br>12x Donut | | items=8x Handcuffs<br>2x Flashbang<br>5x Flash<br>12x Donut | | ||
hackeditems=2x Sunglasses<br>2x Donut Box | hackeditems=2x Sunglasses<br>2x Donut Box| | ||
hackedcost=($2)| | |||
}}}</pre> | }}}</pre> | ||
Line 77: | Line 83: | ||
icon=Vendsec.gif | | icon=Vendsec.gif | | ||
area=Security | | area=Security | | ||
sellscost=($5) | | |||
items=8x Handcuffs<br>2x Flashbang<br>5x Flash<br>12x Donut | | items=8x Handcuffs<br>2x Flashbang<br>5x Flash<br>12x Donut | | ||
hackeditems=2x Sunglasses<br>2x Donut Box | hackeditems=2x Sunglasses<br>2x Donut Box| | ||
hackedcost=($2)| | |||
}} | }} | ||
[[category:templates]] | [[category:templates]] | ||
</noinclude> | </noinclude> |
Revision as of 07:55, 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 | premiumitems=Pulse Rifle<br>Antag Token }}
which turns into
Whatever | |
Found at: Medical, Kitchen | |
Sells ($5) | |
Pliers Knife | |
Hacked ($2) | |
Zippo Matches | |
Premium items | |
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 | |
Found at: Security | |
Sells ($5) | |
8x Handcuffs 2x Flashbang 5x Flash 12x Donut | |
Hacked ($2) | |
2x Sunglasses 2x Donut Box | |
Premium items | |
N/A |