1,133
edits
imported>Errorage (1 revision) |
m (Fixed typo in documentation) |
||
(18 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{|width="600px" cellspacing="0" cellpadding="2" style="border: 1px solid black;" | ||
|bgcolor = "{{{name_bg|#C7DCEC}}}" align="center" colspan=2|<font color="{{{name_font|#000000}}}">'''{{{name|N/A}}}'''</font> | |||
{|width="600px" cellspacing="0" cellpadding="2" | |||
|bgcolor = "# | |||
|- | |- | ||
|width = 100 align=center bgcolor="# | |width = 100 align=center bgcolor="{{{foundat_bg|#d4ebf2}}}"|{{#if:{{{icon|}}}| [[File:{{{icon|}}}|48px]] | N/A}} | ||
|bgcolor="# | |bgcolor="{{{foundat_bg|#d4ebf2}}}"|<font color="{{{foundat_font|#000000}}}">'''Found at:''' {{{area|N/A}}}</font> | ||
|- | |- | ||
|bgcolor="# | |bgcolor="{{{sells_bg|#F0E68C}}}" align="center" colspan=2|<font color="{{{sells_font|#000000}}}">'''Sells '''{{{sellscost| }}}</font> | ||
|- | |- | ||
|bgcolor="# | |bgcolor="{{{sells_bg|#FFEFD5}}}" align="left" colspan=2|<font color="{{{sells_font|#000000}}}">{{{items|N/A}}}</font> | ||
|- | |- | ||
|bgcolor="# | |bgcolor="{{{hacked_bg|#6495ED}}}" align="center" colspan=2|<font color="{{{hacked_font|#000000}}}">'''Hacked '''{{{hackedcost| }}}</font> | ||
|- | |- | ||
|bgcolor="# | |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 '''{{{premiumcost| }}}</font> | |||
|- | |||
|bgcolor="{{{premium_bg|#DCDCDC}}}" align="left" colspan=2|<font color="{{{premium_font|#000000}}}">{{{premiumitems|N/A}}}</font> | |||
|}</includeonly><noinclude> | |||
== About == | |||
Short details of the contents and prices of a vending machine, intended use in [[Vending machines]]. | |||
== Parameter-Usage == | |||
{| class="wikitable" | |||
!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 can 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 == | ||
name=Whatever | | === Bare === | ||
icon=Rack.png | | <pre>{{vendingmachine}}</pre> | ||
area=Medical, Kitchen | | {{vendingmachine}} | ||
items=Pliers<br>Knife | | |||
hackeditems=Zippo<br>Matches | === Simple === | ||
}}</ | <pre>{{vendingmachine | ||
|name=VendSec | |||
{{vendingmachine | | |icon=Vendsec.gif | ||
name=Whatever | | |area=Security | ||
icon=Rack.png | | |sellscost=($5) | ||
area=Medical, Kitchen | | |items=8x Handcuffs<br>2x Flashbang<br>5x Flash<br>12x Donut | ||
items=Pliers<br>Knife | | |hackeditems=2x Sunglasses<br>2x Donut Box | ||
hackeditems=Zippo<br>Matches | |hackedcost=($2) | ||
}}</pre> | |||
{{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) | |||
}} | |||
=== Full === | |||
<pre>{{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 | |||
}}</pre> | |||
{{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 | |||
}} | }} | ||
[[category:templates]] | [[category:templates]] | ||
</noinclude> | </noinclude> |
edits