Template:Vendingmachine: Difference between revisions
Jump to navigation
Jump to search
imported>Spike68 (Attempting to make backgrounds and font colors individually editable through the template) |
imported>Thundercoot (premium bg is nice silvery color) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
|- | |- | ||
|width = 100 align=center bgcolor="{{{foundat_bg|#FFEDD4}}}"|{{#if:{{{icon|}}}| [[File:{{{icon|}}}|48px]] | N/A}} | |width = 100 align=center bgcolor="{{{foundat_bg|#FFEDD4}}}"|{{#if:{{{icon|}}}| [[File:{{{icon|}}}|48px]] | N/A}} | ||
|bgcolor="{{{foundat_bg|#FFEDD4 | |bgcolor="{{{foundat_bg|#FFEDD4}}}"|<font color="{{{foundat_font|#000000}}}">'''Found at:''' {{{area|N/A}}}</font> | ||
|- | |- | ||
|bgcolor="{{{sells_bg|#FFF3D4}}}" align="center" colspan=2|<font color="{{{sells_font|#000000}}}">'''Sells'''</font> | |bgcolor="{{{sells_bg|#FFF3D4}}}" align="center" colspan=2|<font color="{{{sells_font|#000000}}}">'''Sells'''</font> | ||
Line 13: | Line 13: | ||
|- | |- | ||
|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|#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> | |||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 30: | Line 34: | ||
hacked_bg=#CBD1EE | | hacked_bg=#CBD1EE | | ||
hacked_font=red | | hacked_font=red | | ||
hackeditems=Zippo<br>Matches | hackeditems=Zippo<br>Matches | | ||
premium_bg=#EEF2F2 | | |||
premium_font=blue | | |||
premiumitems=Pulse Rifle<br>Antag Token | |||
}}</pre> | }}</pre> | ||
Line 48: | Line 55: | ||
hacked_bg=#CBD1EE | | hacked_bg=#CBD1EE | | ||
hacked_font=red | | hacked_font=red | | ||
hackeditems=Zippo<br>Matches | hackeditems=Zippo<br>Matches | | ||
premium_bg=#EEF2F2 | | |||
premium_font=blue | | |||
premiumitems=Pulse Rifle<br>Antag Token | |||
}} | }} | ||
Line 54: | Line 64: | ||
<pre>{{vendingmachine | | <pre>{{vendingmachine | | ||
name= | name=VendSec | | ||
icon= | icon=Vendsec.gif | | ||
area= | area=Security | | ||
items= | items=8x Handcuffs<br>2x Flashbang<br>5x Flash<br>12x Donut | | ||
hackeditems= | hackeditems=2x Sunglasses<br>2x Donut Box | ||
}}</pre> | }}}</pre> | ||
which turns into | which turns into | ||
Line 67: | Line 77: | ||
icon=Vendsec.gif | | icon=Vendsec.gif | | ||
area=Security | | area=Security | | ||
items=8x Handcuffs<br> | items=8x Handcuffs<br>2x Flashbang<br>5x Flash<br>12x Donut | | ||
2x Flashbang<br> | hackeditems=2x Sunglasses<br>2x Donut Box | ||
5x Flash<br> | |||
12x Donut | | |||
hackeditems=2x Sunglasses<br> | |||
2x Donut Box | |||
}} | }} | ||
[[category:templates]] | [[category:templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 00:22, 8 October 2016
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 | hacked_bg=#CBD1EE | hacked_font=red | 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 | |
Pliers Knife | |
Hacked | |
Zippo Matches | |
Premium items | |
Pulse Rifle Antag Token |
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 | |
Found at: Security | |
Sells | |
8x Handcuffs 2x Flashbang 5x Flash 12x Donut | |
Hacked | |
2x Sunglasses 2x Donut Box | |
Premium items | |
N/A |