Difference between revisions of "Template:Vendingmachine"
From NSV13
Jump to navigationJump to searchimported>Errorage |
Bokkiewokkie (talk | contribs) m (adds revision tag) |
||
(12 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude>{{Needs revision | reason = looks like garbage}}</noinclude> | ||
<includeonly> | <includeonly> | ||
− | + | {|width="320px" cellspacing="0" cellpadding="2" | |
− | {|width=" | + | |bgcolor = "{{{name_bg|#C7DCEC}}}" align="center" colspan=2|<font color="{{{name_font|#000000}}}">'''{{{name|N/A}}}'''</font> |
− | |bgcolor = "# | ||
|- | |- | ||
− | |width = 100 align=center bgcolor="# | + | |width = 100 align=center bgcolor="{{{foundat_bg|#FFEDD4}}}"|{{#if:{{{icon|}}}| [[File:{{{icon|}}}|64px]] | N/A}} |
− | |bgcolor="# | + | |bgcolor="{{{foundat_bg|#FFEDD4}}}"|<font color="{{{foundat_font|#000000}}}">'''Found at:''' {{{area|N/A}}}</font> |
|- | |- | ||
− | |bgcolor="# | + | |bgcolor="{{{sells_bg|#FFF3D4}}}" align="center" colspan=2|<font color="{{{sells_font|#000000}}}">'''Sells'''</font> |
|- | |- | ||
− | |bgcolor="# | + | |bgcolor="{{{sells_bg|#FFF3D4}}}" align="left" colspan=2|<font color="{{{sells_font|#000000}}}">{{{items|N/A}}}</font> |
|- | |- | ||
− | |bgcolor="# | + | |bgcolor="{{{hacked_bg|#CBD1EE}}}" align="center" colspan=2|<font color="{{{hacked_font|#000000}}}">'''Hacked'''</font> |
|- | |- | ||
− | |bgcolor="# | + | |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> | ||
Example would be: | Example would be: | ||
− | < | + | <pre>{{vendingmachine | |
name=Whatever | | name=Whatever | | ||
+ | name_bg=#C7DCEC | | ||
+ | name_font=black| | ||
icon=Rack.png | | icon=Rack.png | | ||
+ | foundat_bg=#FFEDD4 | | ||
+ | foundat_font=black | | ||
area=Medical, Kitchen | | area=Medical, Kitchen | | ||
+ | sells_bg=#FFF3D4 | | ||
+ | sells_font=black | | ||
items=Pliers<br>Knife | | items=Pliers<br>Knife | | ||
− | hackeditems=Zippo<br>Matches | + | hacked_bg=#CBD1EE | |
− | }}</ | + | hacked_font=red | |
+ | hackeditems=Zippo<br>Matches | | ||
+ | premium_bg=#EEF2F2 | | ||
+ | premium_font=blue | | ||
+ | premiumitems=Pulse Rifle<br>Antag Token | ||
+ | }}</pre> | ||
+ | |||
which turns into | which turns into | ||
+ | |||
{{vendingmachine | | {{vendingmachine | | ||
name=Whatever | | name=Whatever | | ||
+ | name_bg=#C7DCEC | | ||
+ | name_color=black| | ||
icon=Rack.png | | icon=Rack.png | | ||
− | area=Medical, Kitchen | | + | foundat_bg=#FFEDD4 | |
+ | foundat_font=black | | ||
+ | area=Medical, Kitchen, Engineering, Captain's Quarters | | ||
+ | sells_bg=#FFF3D4 | | ||
+ | sells_font=black | | ||
items=Pliers<br>Knife | | items=Pliers<br>Knife | | ||
− | hackeditems=Zippo<br>Matches | + | hacked_bg=#CBD1EE | |
+ | hacked_font=red | | ||
+ | hackeditems=Zippo<br>Matches | | ||
+ | premium_bg=#EEF2F2 | | ||
+ | premium_font=blue | | ||
+ | premiumitems=Pulse Rifle<br>Antag Token | ||
+ | }} | ||
+ | |||
+ | Simple version: | ||
+ | |||
+ | <pre>{{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 | ||
+ | }}}</pre> | ||
+ | |||
+ | which turns into | ||
+ | |||
+ | {{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 | ||
}} | }} | ||
[[category:templates]] | [[category:templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 16:30, 6 October 2020
This page needs revising! The following page is out of date and/or needs to be revised. If the page's guide needs revision, see here for an example. The revision reason is: "looks like garbage" |
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, Engineering, Captain's Quarters | |
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 |