Template:Vendingmachine: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
imported>Spike68
(Attempting to make backgrounds and font colors individually editable through the template)
imported>Spike68
(Forgot a ")
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"}}}|<font color="{{{foundat_font|#000000}}}">'''Found at:''' {{{area|N/A}}}</font>
|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>

Revision as of 22:58, 14 October 2013

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

which turns into


Whatever
Rack.png Found at: Medical, Kitchen
Sells
Pliers
Knife
Hacked
Zippo
Matches


Simple version:

{{vendingmachine |
name=Whatever |
icon=Rack.png |
area=Medical, Kitchen |
items=Pliers<br>Knife |
hackeditems=Zippo<br>Matches
}}

which turns into


VendSec
Vendsec.gif Found at: Security
Sells
8x Handcuffs

2x Flashbang
5x Flash
12x Donut

Hacked
2x Sunglasses

2x Donut Box