Difference between revisions of "Template:Infobox biome"

From RimWorld Wiki
Jump to navigation Jump to search
m
(shorter weather fields)
Line 20: Line 20:
 
| diseasemtbdays      = Integer    <!-- placed near disease table data -->
 
| diseasemtbdays      = Integer    <!-- placed near disease table data -->
 
<!-- Weather  -->
 
<!-- Weather  -->
| clearcommonality    = Integer
+
| clear                = Integer
| fogcommonality      = Integer
+
| fog                  = Integer
| raincommonality      = Integer
+
| rain                = Integer
| foggyraincommonality = Integer
+
| foggyrain            = Integer
| drythunderstormcommonality  = Integer
+
| drythunderstorm      = Integer
| rainythunderstormcommonality = Integer
+
| rainythunderstorm    = Integer
| snowgentlecommonality= Integer
+
| snowgentle          = Integer
| snowhardcommonality  = Integer
+
| snowhard            = Integer
 
<!-- Pack animal -->
 
<!-- Pack animal -->
 
| allowedpackanimals  = List (,) of String  <!-- placed near animals table data??? -->
 
| allowedpackanimals  = List (,) of String  <!-- placed near animals table data??? -->
Line 59: Line 59:
 
<!-- | has_gender        = {{#if: {{{has_gender|}}} | {{{has_gender}}} | yes}}        EXAMPLE -->
 
<!-- | has_gender        = {{#if: {{{has_gender|}}} | {{{has_gender}}} | yes}}        EXAMPLE -->
 
<!--  Weather  -->
 
<!--  Weather  -->
| clearcommonality    = {{{clearcommonality|}}}
+
| clear                = {{{clear|}}}
| fogcommonality      = {{{fogcommonality|}}}
+
| fog                  = {{{fog|}}}
| raincommonality      = {{{raincommonality|}}}
+
| rain                = {{{rain|}}}
| foggyraincommonality = {{{foggyraincommonality|}}}
+
| foggyrain            = {{{foggyrain|}}}
| drythunderstormcommonality  = {{{drythunderstormcommonality|}}}
+
| drythunderstorm      = {{{drythunderstorm|}}}
| rainythunderstormcommonality = {{{rainythunderstormcommonality|}}}
+
| rainythunderstorm    = {{{rainythunderstorm|}}}
| snowgentlecommonality= {{{snowgentlecommonality|}}}
+
| snowgentle          = {{{snowgentle|}}}
| snowhardcommonality  = {{{snowhardcommonality|}}}
+
| snowhard            = {{{snowhard|}}}
 
<!-- Pack animal -->
 
<!-- Pack animal -->
 
| allowedpackanimals  = {{{allowedpackanimals|}}}
 
| allowedpackanimals  = {{{allowedpackanimals|}}}
Line 115: Line 115:
 
{{#if: {{{diseasemtbdays|}}} | {{!}} <div>Disease frequency</div> {{!!}} Once per {{{diseasemtbdays}}} days on average}}
 
{{#if: {{{diseasemtbdays|}}} | {{!}} <div>Disease frequency</div> {{!!}} Once per {{{diseasemtbdays}}} days on average}}
 
|-
 
|-
{{#if: {{{clearcommonality|}}} {{{fogcommonality|}}} {{{raincommonality|}}}  {{{foggyraincommonality|}}}{{{drythunderstormcommonality|}}} {{{rainythunderstormcommonality|}}} {{{snowgentlecommonality|}}} {{{snowhardcommonality|}}}
+
{{#if: {{{clear|}}} {{{fog|}}} {{{rain|}}}  {{{foggyrain|}}}{{{drythunderstorm|}}} {{{rainythunderstorm|}}} {{{snowgentle|}}} {{{snowhard|}}}
 
| {{!}} colspan="2" class="infoboxdescription" {{!}} Weather }}
 
| {{!}} colspan="2" class="infoboxdescription" {{!}} Weather }}
 
|-
 
|-
{{#if: {{{clearcommonality|}}} | {{!}} <div>Clear</div> {{!!}} {{{clearcommonality}}} (commonality) }}
+
{{#if: {{{clear|}}} | {{!}} <div>Clear</div> {{!!}} {{{clear}}} }}
 
|-
 
|-
{{#if: {{{fogcommonality|}}} | {{!}} <div>Fog</div> {{!!}} {{{fogcommonality}}} (commonality) }}
+
{{#if: {{{fog|}}} | {{!}} <div>Fog</div> {{!!}} {{{fog}}} }}
 
|-
 
|-
{{#if: {{{raincommonality|}}} | {{!}} <div>Rain</div> {{!!}} {{{raincommonality}}} (commonality) }}
+
{{#if: {{{rain|}}} | {{!}} <div>Rain</div> {{!!}} {{{rain}}} }}
 
|-
 
|-
{{#if: {{{foggyraincommonality|}}} | {{!}} <div>Foggy rain</div> {{!!}} {{{foggyraincommonality}}} (commonality) }}
+
{{#if: {{{foggyrain|}}} | {{!}} <div>Foggy rain</div> {{!!}} {{{foggyrain}}} }}
 
|-
 
|-
{{#if: {{{drythunderstormcommonality|}}} | {{!}} <div>Dry thunderstorm</div> {{!!}} {{{drythunderstormcommonality}}} (commonality) }}
+
{{#if: {{{drythunderstorm|}}} | {{!}} <div>Dry thunderstorm</div> {{!!}} {{{drythunderstorm}}} }}
 
|-
 
|-
{{#if: {{{rainythunderstormcommonality|}}} | {{!}} <div>Rainy thunderstorm</div> {{!!}} {{{rainythunderstormcommonality}}} (commonality) }}
+
{{#if: {{{rainythunderstorm|}}} | {{!}} <div>Rainy thunderstorm</div> {{!!}} {{{rainythunderstorm}}} }}
 
|-
 
|-
{{#if: {{{snowgentlecommonality|}}} | {{!}} <div>Gentle snow</div> {{!!}} {{{snowgentlecommonality}}} (commonality) }}
+
{{#if: {{{snowgentle|}}} | {{!}} <div>Gentle snow</div> {{!!}} {{{snowgentle}}} }}
 
|-
 
|-
{{#if: {{{snowhardcommonality|}}} | {{!}} <div>Hard snow</div> {{!!}} {{{snowhardcommonality}}} (commonality) }}
+
{{#if: {{{snowhard|}}} | {{!}} <div>Hard snow</div> {{!!}} {{{snowhard}}} }}
 
|-
 
|-
 
{{#if: {{{allowedpackanimals|}}} <!-- Do it like this for now -->
 
{{#if: {{{allowedpackanimals|}}} <!-- Do it like this for now -->

Revision as of 11:45, 5 August 2019

This template defines the table "Biome". View table.

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox biome
| name                 = 
| defname              = 
| image                = 
| description          = 
| description_markup   = 
<!--   General   -->
| canbuildbase         = 
| allowroads           = 
| allowrivers          = 
| impassable           = 
| hasvirtualplants     = 
| movementdifficulty   = 
| animaldensity        = 
| plantdensity         = 
| forageability        = 
| foragedfood          = 
| wildplantsregrowdays = 
| diseasemtbdays       = 
<!-- Weather  -->
| clear                = 
| fog                  = 
| rain                 = 
| foggyrain            = 
| drythunderstorm      = 
| rainythunderstorm    = 
| snowgentle           = 
| snowhard             = 
<!-- Pack animal -->
| allowedpackanimals   = 
<!-- Technical -->
| texturepath          = 
| soundambient         = 
}}