Difference between revisions of "Template:Infobox biome"
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 --> | ||
− | | | + | | clear = Integer |
− | | | + | | fog = Integer |
− | | | + | | rain = Integer |
− | | | + | | foggyrain = Integer |
− | | | + | | drythunderstorm = Integer |
− | | | + | | rainythunderstorm = Integer |
− | | | + | | snowgentle = 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 --> | ||
− | | | + | | clear = {{{clear|}}} |
− | | | + | | fog = {{{fog|}}} |
− | | | + | | rain = {{{rain|}}} |
− | | | + | | foggyrain = {{{foggyrain|}}} |
− | | | + | | drythunderstorm = {{{drythunderstorm|}}} |
− | | | + | | rainythunderstorm = {{{rainythunderstorm|}}} |
− | | | + | | snowgentle = {{{snowgentle|}}} |
− | | | + | | 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: {{{ | + | {{#if: {{{clear|}}} {{{fog|}}} {{{rain|}}} {{{foggyrain|}}}{{{drythunderstorm|}}} {{{rainythunderstorm|}}} {{{snowgentle|}}} {{{snowhard|}}} |
| {{!}} colspan="2" class="infoboxdescription" {{!}} Weather }} | | {{!}} colspan="2" class="infoboxdescription" {{!}} Weather }} | ||
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{clear|}}} | {{!}} <div>Clear</div> {{!!}} {{{clear}}} }} |
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{fog|}}} | {{!}} <div>Fog</div> {{!!}} {{{fog}}} }} |
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{rain|}}} | {{!}} <div>Rain</div> {{!!}} {{{rain}}} }} |
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{foggyrain|}}} | {{!}} <div>Foggy rain</div> {{!!}} {{{foggyrain}}} }} |
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{drythunderstorm|}}} | {{!}} <div>Dry thunderstorm</div> {{!!}} {{{drythunderstorm}}} }} |
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{rainythunderstorm|}}} | {{!}} <div>Rainy thunderstorm</div> {{!!}} {{{rainythunderstorm}}} }} |
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{snowgentle|}}} | {{!}} <div>Gentle snow</div> {{!!}} {{{snowgentle}}} }} |
|- | |- | ||
− | {{#if: {{{ | + | {{#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.
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 = }}
The above documentation is transcluded from Template:Infobox biome/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |