Difference between revisions of "Template:Infobox plop"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (image1 backward compat)
 
(470 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template should be used for '''ALL''' articles about ploppable lots.
+
{{pp-template}}
==Syntax==
+
 
<pre>{{infobox plop
+
{{documentation}}
|img =
 
|dl =
 
|author =
 
|size =
 
|menu =
 
|jobs =
 
|plop-cost =
 
|monthly-cost =
 
|bulldoze-cost
 
|park-mag =
 
|park-spr =
 
|landmark-mag =
 
|landmark-spr =
 
|fire =
 
|power =
 
|water =
 
|air-mag =
 
|air-spr =
 
|water-mag =
 
|water-spr =
 
|garbage-mag =
 
|garbage-spr =
 
}}</pre>
 
*'''type''': The type of plugin it is.
 
*'''img''': An image or logo.
 
*'''dl''': The {{[[Template:download|download]]}} templates for this plugin.
 
*'''author''': The creator of this.*'''size''' ([a]x[b]):  Lot size a tiles long by b tiles wide.
 
*'''menu''': The menu the lot resides in.
 
*'''jobs''': The number of jobs the lot supplies (can be formatted with $'s if the lot supplies multiple wealth jobs).
 
*'''plop-cost''': The number of Simoleons (without the § sign as that is already there) the building costs to build.
 
*'''bulldoze-cost''': The number of Simoleons (without the § sign as that is already there) the building costs to demolish.
 
*'''park-mag''': The magnitude of Park Effect over '''park-spr''' tiles.
 
*'''landmark-mag''': The magnitude of Landmark Effect over '''landmark-spr''' tiles.
 
*'''fire''': The maximum fire stage, if the lot reaches this stage in a fire it will be destroyed.
 
*'''power''': The amount of electrical power consumed by the lot, in MWh/month.
 
*'''water''': The amount of water consumed by the lot, in Gallons/month.
 
*'''air-mag''': The magnitued of Air Pollution over '''air-spr''' tiles.
 
*'''water-mag''': The magnitude of Water Pollution over '''water-spr''' tiles.
 
*'''garbage-mag''': The magnitude of Garbage Pollution over '''garbage-spr''' tiles.
 
*'''''credits'''''
 
*'''''support''''': Where to go if your stuck.
 
*'''''depend''''': These plugins are needed for this to work.
 
*'''''useby''''': Things that this plugin is used by.
 
*'''''language''''': The languages the plugin supports (default english).*'''size''' ([a]x[b]) -  Lot size a tiles long by b tiles wide.
 
*'''''tag1''''', '''''tag2''''', '''''tag3''''', '''''tag4''''': tags for what this thing is.
 
 
==Example==
 
==Example==
</noinclude>{| align=right
+
</noinclude>{{Infobox plop/table
|-
+
|type = {{{type|}}}
|
+
|size = {{{size}}}
{| class="toccolours" border="1" cellpadding="4" style="float: right; width: 300px; margin: 0 0 1em 1em; border-collapse: collapse; font-size: 95%;"
+
|menu = {{{menu|}}}
|-
+
|plop-cost = {{{plop-cost}}}
! style="background-color:#c0c0c0; font-size: larger; margin-left: inherit;" colspan="2" | <big><big>'''Lot Stats'''</big></big>
+
|monthly-cost = {{{monthly-cost}}}
|-
+
|bulldoze-cost ={{{bulldoze-cost}}}
 
+
|jobs = {{{jobs|}}}
{{row|{{{size|}}}}|'''Lot Size'''
+
|park-mag = {{{park-mag|}}}
{{!}}{{{size}}}}}
+
|park-spr = {{{park-spr}}}
{{row|{{{menu|}}}}|'''Position'''
+
|landmark-mag = {{{landmark-mag|}}}
{{!}}{{{menu}}}}}
+
|landmark-spr = {{{landmark-spr|}}}
{{row|{{{jobs|}}}|'''Jobs'''
+
|caprelief = {{{caprelief|}}}
{{!}}{{{jobs}}}}}
+
|patient-mag = {{{patient-mag|}}}
{{row|{{{plop-cost|}}}|'''Plop Cost'''
+
|hq-mag = {{{hq-mag|}}}
{{!}}§ {{{plop-cost}}}}}
+
|eq-mag = {{{eq-mag|}}}
{{row|{{{monthly-cost|}}}|'''Monthly Cost'''
+
|police-mag = {{{police-mag|}}}
{{!}}{{{monthly-cost}}}}}
+
|police-spr = {{{police-spr}}}
{{row|{{{bulldoze-cost|}}}|'''Bulldoze Cost'''
+
|police-capacity = {{{police-capacity|}}}
{{!}}{{{bulldoze-cost}}}}}
+
|police-cars = {{{police-cars|}}}
{{row|{{{park-mag|}}}|'''Park Effect'''
+
|police-helicopters = {{{police-helicopters|}}}
{{!}}{{{park-mag}}} over {{{park-spr}}} tiles}}
+
|hcoverage-pattern = {{{hcoverage-pattern|}}}
{{row|{{{landmark-mag|}}}|'''Landmark&nbsp;Effect'''
+
|hcoverage-spr = {{{hcoverage-spr|}}}
{{!}}{{{landmark-mag}}} over {{{landmark-spr}}} tiles}}
+
|hcoverage-age = {{{hcoverage-age|}}}
{{row|{{{fire|}}}|'''Fire Stage'''
+
|fcoverage-spr = {{{fcoverage-spr|}}}
{{!}}{{{fire}}}}}
+
|fcoverage-trucks = {{{fcoverage-trucks|}}}
{{row|{{{power|}}}|'''Power Cons.'''
+
|fcoverage-planes = {{{fcoverage-planes|}}}
{{!}}{{{power}}} MWh}}
+
|scoverage-spr = {{{scoverage-spr|}}}
{{row|{{{water|}}}|'''Water Cons.'''
+
|scoverage-cap = {{{scoverage-cap|}}}
{{!}}{{{water}}} Gallon}}
+
|scoverage-age = {{{scoverage-age|}}}
{{row|{{{air-mag|}}}|'''Air Pol.'''
+
|scoverage-pattern = {{{scoverage-pattern|}}}
{{!}}{{{air-mag}}} over {{{air-spr}}} tiles}}
+
|scoverage-wealth = {{{scoverage-wealth|}}}
{{row|{{{water-mag|}}}|'''Water Pol.'''
+
|fire = {{{fire|}}}
{{!}}{{{water-mag}}} over {{{water-spr}}} tiles}}
+
|flammability = {{{flammability|}}}
{{row|{{{garbage-mag|}}}|'''Garbage Pol.'''
+
|tswitch-cap = {{{tswitch-cap|}}}
{{!}}{{{garbage-mag}}} over {{{garbage-spr}}} tiles}}
+
|tswitch-types = {{{tswitch-types|}}}
|}
+
|tswitch-fare = {{{tswitch-fare|}}}
|}
+
|freight-cap = {{{freight-cap|}}}
 +
|power = {{{power|}}}
 +
|water = {{{water|}}}
 +
|power-produced = {{{power-produced|}}}
 +
|water-produced = {{{water-produced|}}}
 +
|garbage-consumed = {{{garbage-consumed|}}}
 +
|recycle-pop = {{{recycle-pop|}}}
 +
|recycle-percent = {{{recycle-percent|}}}
 +
|air-mag = {{{air-mag|}}}
 +
|air-spr = {{{air-spr}}}
 +
|water-mag = {{{water-mag|}}}
 +
|water-spr = {{{water-spr}}}
 +
|garbage-mag = {{{garbage-mag|}}}
 +
|garbage-spr = {{{garbage-spr}}}
 +
|radiation-mag = {{{radiation-mag|}}}
 +
|radiation-spr = {{{radiation-spr}}}
 +
|nuclearexplosion-mag = {{{nuclearexplosion-mag|}}}
 +
|nuclearexplosion-spr = {{{nuclearexplosion-spr}}}
 +
|mayor-mag = {{{mayor-mag|}}}
 +
|mayor-spr = {{{mayor-spr}}}
 +
|crime-mag = {{{crime-mag|}}}
 +
|crime-spr = {{{crime-spr}}}
 +
|goofy-stat = {{{goofy-stat|}}}
 +
|udi = {{{udi|}}}
 +
|triggers = {{{triggers|}}}
 +
|occupantgroups = {{{occupantgroups|}}}
 +
}}
 
{{infobox plugin
 
{{infobox plugin
 
|type =Ploppable Lot
 
|type =Ploppable Lot
 
|img ={{{image1|{{{img|[[Image:Wiki_no_image.png|300px]]}}}}}}
 
|img ={{{image1|{{{img|[[Image:Wiki_no_image.png|300px]]}}}}}}
|dl = {{{downloads|{{{dl|}}}}}}
+
|dl = {{{downloads|{{{dl}}}}}}
 
|author = {{{author|}}}
 
|author = {{{author|}}}
 
|credits ={{{credits|}}}
 
|credits ={{{credits|}}}

Latest revision as of 11:24, 14 September 2022


[create] Documentation icon Template documentation

Example

v  d  e
Lot Stats
Lot Size {{{size}}}
Plop Cost §{{{plop-cost}}}
Monthly Cost §{{{monthly-cost}}}
Bulldoze Cost §{{{bulldoze-cost}}}
Ploppable Lot
Wiki no image.png
Download Here
{{{dl}}}
General Information
Support {{{support}}}