Template:Autowiki/VendingMachine: Difference between revisions

From BeeStation Wiki
Jump to navigation Jump to search
imported>Kingofkosmos
(Testing different colors for this template.)
(Copy TG template)
 
(10 intermediate revisions by 4 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 = "#C7DCEC" align="center" colspan=2|<font color="{{{#000000}}}">'''{{{name|N/A}}}'''</font>
|-
|-
|width = 100 align=center bgcolor="#FFEDD4"|{{#if:{{{icon|}}}| [[File:{{{icon|}}}|48px]] | N/A}}
! Products
|bgcolor="#FFEDD4"|'''Found at:''' {{{area|N/A}}}
|-
|-
|bgcolor="#FFF3D4" align="center" colspan=2|<font color="{{{#000000}}}">'''Sells'''</font>
| <ul>{{{products}}}</ul>
|-
|- {{#if: {{{premium}}} | | style="display: none"}}
|bgcolor="#FFF3D4" align="left" colspan=2|<font color="{{{#000000}}}">{{{items|N/A}}}</font>
!style="background-color: hsl(60, 50%, 75%)" | Premium
|-
|- {{#if: {{{premium}}} | | style="display: none"}}
|bgcolor="#CBD1EE" align="center" colspan=2|<font color="{{{#000000}}}">'''Hacked'''</font>
|style="background-color: hsl(60, 50%, 85%)" | <ul>{{{premium}}}</ul>
|-
|- {{#if: {{{contraband}}} | | style="display: none"}}
|bgcolor="#CBD1EE" align="left" colspan=2|<font color="{{{#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:


<code><nowiki>{{vendingmachine |
<noinclude>
name=Whatever |
== Example ==
icon=Rack.png |
 
area=Medical, Kitchen |
{{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}}}}
items=Pliers<br>Knife |
 
hackeditems=Zippo<br>Matches
 
}}</nowiki></code>
{{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=}}
which turns into
 
{{vendingmachine |
name=Whatever |
icon=Rack.png |
area=Medical, Kitchen |
items=Pliers<br>Knife |
hackeditems=Zippo<br>Matches
}}
[[category:templates]]
</noinclude>
</noinclude>

Latest revision as of 19:44, 13 December 2024