User:Kingerman88/Sandbox
Jump to navigation
Jump to search
Info Sheet
Variables:
{{#vardefine:variableName| thing here }}
Can be used via
{{#var:name}}
─────────────
Arguments:
They can be DEFINED in TEMPLATES
defined by three curly brackets and closed by three "{{{" argument "}}}"
{{{ 1 }}} (first argument)
{{{ 1| }}} (First argument or substitute argument "")
{{{ 1| default argument value}}} (First argument or substitute "default argument value")
Arguments can be defined as names
{{{ argName| defaultValue}}}
You can call them like this
{{template| argName=something | argName2=something}}
Keywords
Surround by {{ }}
Name | Description | Arguments | Example | Result |
---|---|---|---|---|
formatnum: | Formats the number | 1: number to be formatted | {{formatnum: 134512.5}} |
134,512.5 |
#expr | Represents an expression to do math on | 1: Expression to do | {{#expr:1.125*5 round 2}} |
5.63 |
#ifexpr | Simple if, else structure | 1: Condition | 2: True | 3: False | {{#ifexpr: {{#expr: 105 / 1}} > 100 | 100 | {{#expr: 105 / 1}} }} |
100 |
#switch: | Switch statement | {{#switch: {{{x}}} |1=one |2=two |3|4|5=range 3–5 |other}} |
(replace x with "2") two |
Template Mess
User:Kingerman88/Sandbox/AnimalTemplate
User:Kingerman88/Sandbox/Building Material Table Row Copy
Animal | Nutrition Consumed (RHR / 2) | Produces Eggs | Produces Milk | Produces Wool | Pack Animal |
---|---|---|---|---|---|
Boomalope | 0.43 | ||||
Cow | 0.43 | ||||
Pig | 0.4 | ||||
Bison | 0.43 | ||||
Caribou | 0.22 |
Material | Stuff cost | Beauty | Work | Mass | HP | Flammability | Terrain Affordance | Market Value |
---|---|---|---|---|---|---|---|---|
Wooden Barricade | 5 | -3 | 224 ticks (3.73 secs) | - | 195 | {{|subst:data-sort-value="ZLight" | Light}} | 6.8 | |
Granite Barricade | 5 | -3 | 1,920 ticks (32 secs) | - | 510 | {{|subst:data-sort-value="ZLight" | Light}} | 12 | |
Limestone Barricade | 5 | -3 | 1,920 ticks (32 secs) | - | 465 | {{|subst:data-sort-value="ZLight" | Light}} | 12 | |
Marble Barricade | 5 | -2 | 1,760 ticks (29.33 secs) | - | 360 | {{|subst:data-sort-value="ZLight" | Light}} | 11 | |
Sandstone Barricade | 5 | -3 | 1,600 ticks (26.67 secs) | - | 420 | {{|subst:data-sort-value="ZLight" | Light}} | 11 | |
Slate Barricade | 5 | -3 | 1,920 ticks (32 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 12 | |
Jade Barricade | 5 | 7 | 1,600 ticks (26.67 secs) | - | 150 | {{|subst:data-sort-value="ZLight" | Light}} | 31 | |
Golden Barricade | 50 | 17 | 288 ticks (4.8 secs) | - | 180 | {{|subst:data-sort-value="ZLight" | Light}} | 500 | |
Plasteel Barricade | 5 | -3 | 704 ticks (11.73 secs) | - | 840 | {{|subst:data-sort-value="ZLight" | Light}} | 48 | |
Silver Barricade | 50 | 3 | 320 ticks (5.33 secs) | - | 210 | {{|subst:data-sort-value="ZLight" | Light}} | 51 | |
Steel Barricade | 5 | -3 | 320 ticks (5.33 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 11 | |
Uranium Barricade | 5 | -3 | 608 ticks (10.13 secs) | - | 750 | {{|subst:data-sort-value="ZLight" | Light}} | 32 | |
Bearskin Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 18 | |
Birdskin Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 9.6 | |
Bluefur Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 12 | |
Camelhide Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 12 | |
Chinchilla fur Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 33 | |
Dog leather Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 11 | |
Elephant leather Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 450 | {{|subst:data-sort-value="ZLight" | Light}} | 13 | |
Foxfur Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 18 | |
Guinea pig fur Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 180 | {{|subst:data-sort-value="ZLight" | Light}} | 26 | |
Heavy fur Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 450 | {{|subst:data-sort-value="ZLight" | Light}} | 17 | |
Human leather Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 22 | |
Lightleather Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 10 | |
Lizardskin Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 11 | |
Panthera fur Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 16 | |
Patchleather Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 8.1 | |
Pigskin Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 10 | |
Plainleather Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 11 | |
Rhinoceros leather Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 450 | {{|subst:data-sort-value="ZLight" | Light}} | 22 | |
Thrumbofur Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 600 | {{|subst:data-sort-value="ZLight" | Light}} | 71 | |
Wolfskin Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 16 | |
Alpaca wool Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 20 | |
Bison wool Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 14 | |
Cloth Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 8.1 | |
Devilstrand Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 28 | |
Hyperweave Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 720 | {{|subst:data-sort-value="ZLight" | Light}} | 46 | |
Megasloth wool Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 14 | |
Muffalo wool Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 14 | |
Sheep wool Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 300 | {{|subst:data-sort-value="ZLight" | Light}} | 14 | |
Synthread Sandbags | 5 | -10 | 180 ticks (3 secs) | - | 390 | {{|subst:data-sort-value="ZLight" | Light}} | 21 |
─────────────
If statement (Alpaca find Wool Amount)