Шаблон:Vendingmachine: различия между версиями

imported>Thundercoot
(Attempted to add premium items section)
imported>SpaceSmithers
(Swaps premium and hacked sections to avoid confusion.)
 
(не показаны 2 промежуточные версии 1 участника)
Строка 9: Строка 9:
|-
|-
|bgcolor="{{{sells_bg|#FFF3D4}}}" align="left" colspan=2|<font color="{{{sells_font|#000000}}}">{{{items|N/A}}}</font>
|bgcolor="{{{sells_bg|#FFF3D4}}}" align="left" colspan=2|<font color="{{{sells_font|#000000}}}">{{{items|N/A}}}</font>
|-
|bgcolor="{{{premium_bg|#EEF2F2}}}" align="center" colspan=2|<font color="{{{premium_font|#000000}}}">'''Premium items'''</font>
|-
|bgcolor="{{{premium_bg|#EEF2F2}}}" align="left" colspan=2|<font color="{{{premium_font|#000000}}}">{{{premiumitems|N/A}}}</font>
|-
|-
|bgcolor="{{{hacked_bg|#CBD1EE}}}" align="center" colspan=2|<font color="{{{hacked_font|#000000}}}">'''Hacked'''</font>
|bgcolor="{{{hacked_bg|#CBD1EE}}}" align="center" colspan=2|<font color="{{{hacked_font|#000000}}}">'''Hacked'''</font>
|-
|-
|bgcolor="{{{hacked_bg|#CBD1EE}}}" align="left" colspan=2|<font color="{{{hacked_font|#000000}}}">{{{hackeditems|N/A}}}</font>
|bgcolor="{{{hacked_bg|#CBD1EE}}}" align="left" colspan=2|<font color="{{{hacked_font|#000000}}}">{{{hackeditems|N/A}}}</font>
|-
|bgcolor="{{{premium_bg|#FFD700}}}" align="center" colspan=2|<font color="{{{premium_font|#000000}}}">'''Premium items'''</font>
|-
|bgcolor="{{{premium_bg|#FFD700}}}" align="left" colspan=2|<font color="{{{premium_font|#000000}}}">{{{premiumitems|N/A}}}</font>
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
Строка 32: Строка 32:
sells_font=black |
sells_font=black |
items=Pliers<br>Knife |
items=Pliers<br>Knife |
premium_bg=#EEF2F2 |
premium_font=blue |
premiumitems=Pulse Rifle<br>Antag Token|
hacked_bg=#CBD1EE |
hacked_bg=#CBD1EE |
hacked_font=red |
hacked_font=red |
hackeditems=Zippo<br>Matches |
hackeditems=Zippo<br>Matches
premium_bg=#FFD700 |
premium_font=blue |
premiumitems=Pulse Rifle<br>Antag Token
}}</pre>
}}</pre>


Строка 45: Строка 45:
name=Whatever |
name=Whatever |
name_bg=#C7DCEC |
name_bg=#C7DCEC |
name_color=black|
name_font=black|
icon=Rack.png |
icon=Rack.png |
foundat_bg=#FFEDD4 |
foundat_bg=#FFEDD4 |
Строка 53: Строка 53:
sells_font=black |
sells_font=black |
items=Pliers<br>Knife |
items=Pliers<br>Knife |
premium_bg=#EEF2F2 |
premium_font=blue |
premiumitems=Pulse Rifle<br>Antag Token |
hacked_bg=#CBD1EE |
hacked_bg=#CBD1EE |
hacked_font=red |
hacked_font=red |
hackeditems=Zippo<br>Matches |
hackeditems=Zippo<br>Matches
premium_bg=#FFD700 |
premium_font=blue |
premiumitems=Pulse Rifle<br>Antag Token
}}
}}



Текущая версия от 04:50, 11 мая 2022

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 |
items=Pliers<br>Knife |
premium_bg=#EEF2F2 |
premium_font=blue |
premiumitems=Pulse Rifle<br>Antag Token|
hacked_bg=#CBD1EE |
hacked_font=red |
hackeditems=Zippo<br>Matches
}}

which turns into


Whatever
Rack.png Found at: Medical, Kitchen
Sells
Pliers
Knife
Premium items
Pulse Rifle
Antag Token
Hacked
Zippo
Matches


Simple version:

{{vendingmachine |
name=VendSec |
icon=Vendsec.gif |
area=Security |
items=8x Handcuffs<br>2x Flashbang<br>5x Flash<br>12x Donut  |
hackeditems=2x Sunglasses<br>2x Donut Box 
}}}

which turns into


VendSec
Vendsec.gif Found at: Security
Sells
8x Handcuffs
2x Flashbang
5x Flash
12x Donut
Premium items
N/A
Hacked
2x Sunglasses
2x Donut Box