User:Kingerman88/Sandbox

From RimWorld Wiki
Jump to navigation Jump to search

Info Sheet[edit]

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[edit]

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[edit]

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 Ex.png Check.png Ex.png Ex.png
Cow 0.43 Ex.png Check.png Ex.png Ex.png
Pig 0.4 Ex.png Ex.png Ex.png Ex.png
Bison 0.43 Ex.png Ex.png Check.png Check.png
Caribou 0.22 Ex.png Check.png Ex.png Ex.png
Material Stuff cost Beauty Work Mass HP Flammability Terrain Affordance Market Value
Wooden Barricade Wood 5 -3 224 ticks (3.73 secs) - 195
{{|subst:data-sort-value="ZLight" | Light}} 6.8 Silver
Granite Barricade Granite blocks 5 -3 1,920 ticks (32 secs) - 510
{{|subst:data-sort-value="ZLight" | Light}} 12 Silver
Limestone Barricade Limestone blocks 5 -3 1,920 ticks (32 secs) - 465
{{|subst:data-sort-value="ZLight" | Light}} 12 Silver
Marble Barricade Marble blocks 5 -2 1,760 ticks (29.33 secs) - 360
{{|subst:data-sort-value="ZLight" | Light}} 11 Silver
Sandstone Barricade Sandstone blocks 5 -3 1,600 ticks (26.67 secs) - 420
{{|subst:data-sort-value="ZLight" | Light}} 11 Silver
Slate Barricade Slate blocks 5 -3 1,920 ticks (32 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 12 Silver
Jade Barricade Jade 5 7 1,600 ticks (26.67 secs) - 150
{{|subst:data-sort-value="ZLight" | Light}} 31 Silver
Golden Barricade Gold 50 17 288 ticks (4.8 secs) - 180
{{|subst:data-sort-value="ZLight" | Light}} 500 Silver
Plasteel Barricade Plasteel 5 -3 704 ticks (11.73 secs) - 840
{{|subst:data-sort-value="ZLight" | Light}} 48 Silver
Silver Barricade Silver 50 3 320 ticks (5.33 secs) - 210
{{|subst:data-sort-value="ZLight" | Light}} 51 Silver
Steel Barricade Steel 5 -3 320 ticks (5.33 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 11 Silver
Uranium Barricade Uranium 5 -3 608 ticks (10.13 secs) - 750
{{|subst:data-sort-value="ZLight" | Light}} 32 Silver
Bearskin Sandbags Bearskin 5 -10 180 ticks (3 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 18 Silver
Birdskin Sandbags Birdskin 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 9.6 Silver
Bluefur Sandbags Bluefur 5 -10 180 ticks (3 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 12 Silver
Camelhide Sandbags Camelhide 5 -10 180 ticks (3 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 12 Silver
Chinchilla fur Sandbags Chinchilla fur 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 33 Silver
Dog leather Sandbags Dog leather 5 -10 180 ticks (3 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 11 Silver
Elephant leather Sandbags Elephant leather 5 -10 180 ticks (3 secs) - 450
{{|subst:data-sort-value="ZLight" | Light}} 13 Silver
Foxfur Sandbags Foxfur 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 18 Silver
Guinea pig fur Sandbags Guinea pig fur 5 -10 180 ticks (3 secs) - 180
{{|subst:data-sort-value="ZLight" | Light}} 26 Silver
Heavy fur Sandbags Heavy fur 5 -10 180 ticks (3 secs) - 450
{{|subst:data-sort-value="ZLight" | Light}} 17 Silver
Human leather Sandbags Human leather 5 -10 180 ticks (3 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 22 Silver
Lightleather Sandbags Lightleather 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 10 Silver
Lizardskin Sandbags Lizardskin 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 11 Silver
Panthera fur Sandbags Panthera fur 5 -10 180 ticks (3 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 16 Silver
Patchleather Sandbags Patchleather 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 8.1 Silver
Pigskin Sandbags Pigskin 5 -10 180 ticks (3 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 10 Silver
Plainleather Sandbags Plainleather 5 -10 180 ticks (3 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 11 Silver
Rhinoceros leather Sandbags Rhinoceros leather 5 -10 180 ticks (3 secs) - 450
{{|subst:data-sort-value="ZLight" | Light}} 22 Silver
Thrumbofur Sandbags Thrumbofur 5 -10 180 ticks (3 secs) - 600
{{|subst:data-sort-value="ZLight" | Light}} 71 Silver
Wolfskin Sandbags Wolfskin 5 -10 180 ticks (3 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 16 Silver
Alpaca wool Sandbags Alpaca wool 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 20 Silver
Bison wool Sandbags Bison wool 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 14 Silver
Cloth Sandbags Cloth 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 8.1 Silver
Devilstrand Sandbags Devilstrand 5 -10 180 ticks (3 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 28 Silver
Hyperweave Sandbags Hyperweave 5 -10 180 ticks (3 secs) - 720
{{|subst:data-sort-value="ZLight" | Light}} 46 Silver
Megasloth wool Sandbags Megasloth wool 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 14 Silver
Muffalo wool Sandbags Muffalo wool 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 14 Silver
Sheep wool Sandbags Sheep wool 5 -10 180 ticks (3 secs) - 300
{{|subst:data-sort-value="ZLight" | Light}} 14 Silver
Synthread Sandbags Synthread 5 -10 180 ticks (3 secs) - 390
{{|subst:data-sort-value="ZLight" | Light}} 21 Silver

─────────────

Special:Browse/:Goose

If statement (Alpaca find Wool Amount) Check.png