Template:Autowiki/VendingMachine: Difference between revisions

From BeeStation Wiki
Jump to navigation Jump to search
imported>Jordie0608
(Created page with "<includeonly> {|width="600px" cellspacing="0" cellpadding="2" |bgcolor = "{{{name_bg|#C7DCEC}}}" align="center" colspan=2|<font color="{{{name_font|#000000}}}">'''{{{name|N/A}...")
(Copy TG template)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
{| class="wikitable"
{|width="600px" cellspacing="0" cellpadding="2"
|[[File:Autowiki-{{{name}}}.png|50px]] <b>{{{name}}}</b>
|bgcolor = "{{{name_bg|#C7DCEC}}}" align="center" colspan=2|<font color="{{{name_font|#000000}}}">'''{{{name|N/A}}}'''</font>
|-
|-
|width = 100 align=center bgcolor="{{{foundat_bg|#FFEDD4}}}"|{{#if:{{{icon|}}}| [[File:{{{icon|}}}|48px]] | N/A}}
! Products
|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>
| <ul>{{{products}}}</ul>
|-
|- {{#if: {{{premium}}} | | style="display: none"}}
|bgcolor="{{{sells_bg|#FFF3D4}}}" align="left" colspan=2|<font color="{{{sells_font|#000000}}}">{{{items|N/A}}}</font>
!style="background-color: hsl(60, 50%, 75%)" | Premium
|-
|- {{#if: {{{premium}}} | | style="display: none"}}
|bgcolor="{{{hacked_bg|#CBD1EE}}}" align="center" colspan=2|<font color="{{{hacked_font|#000000}}}">'''Hacked'''</font>
|style="background-color: hsl(60, 50%, 85%)" | <ul>{{{premium}}}</ul>
|-
|- {{#if: {{{contraband}}} | | style="display: none"}}
|bgcolor="{{{hacked_bg|#CBD1EE}}}" align="left" colspan=2|<font color="{{{hacked_font|#000000}}}">{{{hackeditems|N/A}}}</font>
!style="background-color: hsl(0, 50%, 60%)" | Contraband
|- {{#if: {{{contraband}}} | | style="display: none"}}
|style="background-color: hsl(0, 50%, 70%)" | <ul>{{{contraband}}}</ul>
|}
|}
</includeonly><noinclude>
Example would be:
<pre>{{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
}}</pre>
which turns into


{{vendingmachine |
<noinclude>
name=Whatever |
== Example ==
name_bg=#C7DCEC |
name_color=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
}}


Simple version:
{{Autowiki/VendingMachine|icon=Getmore Chocolate Corp|name=Getmore Chocolate Corp|products={{Autowiki/VendingMachineProduct|name=Space Twinkie|amount=6}}{{Autowiki/VendingMachineProduct|name=Cheesie Honkers|amount=6}}{{Autowiki/VendingMachineProduct|name=Candy|amount=6}}{{Autowiki/VendingMachineProduct|name=Chips|amount=6}}{{Autowiki/VendingMachineProduct|name=Shrimp chips|amount=6}}{{Autowiki/VendingMachineProduct|name=Scaredy's Private Reserve Beef Jerky|amount=6}}{{Autowiki/VendingMachineProduct|name=4no raisins|amount=6}}{{Autowiki/VendingMachineProduct|name=Gallery's peanuts|amount=6}}{{Autowiki/VendingMachineProduct|name=Gallery's every-flavour peanuts|amount=3}}{{Autowiki/VendingMachineProduct|name=C&Ds|amount=6}}{{Autowiki/VendingMachineProduct|name=Mystery filled C&Ds|amount=3}}{{Autowiki/VendingMachineProduct|name=Semki Sunflower Seeds|amount=6}}{{Autowiki/VendingMachineProduct|name=Cup ramen|amount=3}}{{Autowiki/VendingMachineProduct|name=Bubblegum packet|amount=3}}{{Autowiki/VendingMachineProduct|name=High-power energy bars|amount=6}}|contraband={{Autowiki/VendingMachineProduct|name=Syndi-Cakes|amount=6}}{{Autowiki/VendingMachineProduct|name=Gallery's peanuts Ban Appel mix|amount=3}}{{Autowiki/VendingMachineProduct|name=South Bronx Paradise bar|amount=1}}|premium={{Autowiki/VendingMachineProduct|name=Spacer's Sidekick mints|amount=3}}{{Autowiki/VendingMachineProduct|name=Sweetie's Pistachios|amount=3}}}}


<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
{{Autowiki/VendingMachine|icon=ViroDrobe|name=ViroDrobe|products={{Autowiki/VendingMachineProduct|name=Virologist's jumpsuit|amount=2}}{{Autowiki/VendingMachineProduct|name=Virologist's jumpskirt|amount=2}}{{Autowiki/VendingMachineProduct|name=Medical beret|amount=2}}{{Autowiki/VendingMachineProduct|name=White shoes|amount=2}}{{Autowiki/VendingMachineProduct|name=Virologist labcoat|amount=2}}{{Autowiki/VendingMachineProduct|name=Virology winter coat|amount=2}}{{Autowiki/VendingMachineProduct|name=Sterile mask|amount=2}}{{Autowiki/VendingMachineProduct|name=Virology backpack|amount=2}}{{Autowiki/VendingMachineProduct|name=Virologist satchel|amount=2}}{{Autowiki/VendingMachineProduct|name=Virologist's duffel bag|amount=2}}|contraband=|premium=}}


{{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]]
</noinclude>
</noinclude>

Latest revision as of 19:44, 13 December 2024