Difference between revisions of "Template:Infobox biome"
Jump to navigation
Jump to search
(Created page with "<noinclude><!-- Cargo declare section --> {{#cargo_declare:_table = Biome | name = String | defname = String <!-- Technical name --> | image...") |
|||
(7 intermediate revisions by 3 users not shown) | |||
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 38: | Line 38: | ||
--><includeonly><!-- Cargo store section --><!-- disable namespacecheck for now | --><includeonly><!-- Cargo store section --><!-- disable namespacecheck for now | ||
{{#ifeq: {{NAMESPACENUMBER}} | 0 | --> | {{#ifeq: {{NAMESPACENUMBER}} | 0 | --> | ||
− | {{#cargo_store:_table = | + | {{#cargo_store:_table = Biome |
| name = {{{name|}}} | | name = {{{name|}}} | ||
| defname = {{{defname|}}} | | defname = {{{defname|}}} | ||
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 79: | Line 79: | ||
! colspan="2" class="infoboxname" | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} | ! colspan="2" class="infoboxname" | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} | ||
|- | |- | ||
− | ! colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}]] | [[File: | + | ! colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}]] | [[File:Missing leather.png|link=]]{{#ifeq: {{NAMESPACE}} | 0 | [[Category:Image wanted]]}} }} |
|- | |- | ||
| colspan="2" | {{#if: {{{description|}}} | ''{{{description}}}'' }} | | colspan="2" | {{#if: {{{description|}}} | ''{{{description}}}'' }} | ||
Line 86: | Line 86: | ||
| {{!}} colspan="2" class="infoboxdescription" {{!}} General }} | | {{!}} colspan="2" class="infoboxdescription" {{!}} General }} | ||
|- | |- | ||
− | {{#if: {{{canbuildbase|}}} | {{!}} <div>Can build base</div> {{!!}} | + | {{#if: {{{canbuildbase|}}} | {{!}} <div>Can build base</div> |
− | + | {{!!}} {{#ifeq: {{{canbuildbase|}}} | yes |[[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }} | |
|- | |- | ||
− | {{#if: {{{allowroads|}}} | {{!}} <div>Allow roads</div> {{!!}} | + | {{#if: {{{allowroads|}}} | {{!}} <div>Allow roads</div> |
− | + | {{!!}} {{#ifeq: {{{allowroads|}}} | yes |[[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }} | |
|- | |- | ||
− | {{#if: {{{allowrivers|}}} | {{!}} <div>Allow rivers</div> {{!!}} | + | {{#if: {{{allowrivers|}}} | {{!}} <div>Allow rivers</div> |
− | + | {{!!}} {{#ifeq: {{{allowrivers|}}} | yes |[[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }} | |
|- | |- | ||
− | {{#if: {{{impassable|}}} | {{!}} <div>Is impassable</div> {{!!}} | + | {{#if: {{{impassable|}}} | {{!}} <div>Is impassable</div> |
− | + | {{!!}} {{#ifeq: {{{impassable|}}} | yes |[[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }} | |
|- | |- | ||
− | {{#if: {{{hasvirtualplants|}}} | {{!}} <div>Virtual plants</div> {{!!}} | + | {{#if: {{{hasvirtualplants|}}} | {{!}} <div>Virtual plants</div> |
− | + | {{!!}} {{#ifeq: {{{hasvirtualplants|}}} | yes |[[File:Checkon.png|20px]] | [[File:Checkoff.png|20px]] }} }} | |
|- | |- | ||
{{#if: {{{movementdifficulty|}}} | {{!}} <div>Movement difficulty</div> {{!!}} {{{movementdifficulty}}} }} | {{#if: {{{movementdifficulty|}}} | {{!}} <div>Movement difficulty</div> {{!!}} {{{movementdifficulty}}} }} | ||
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 --> | ||
Line 142: | Line 142: | ||
| {{!}} colspan="2" class="infoboxdescription" {{!}} Technical }} | | {{!}} colspan="2" class="infoboxdescription" {{!}} Technical }} | ||
|- | |- | ||
− | {{#if: {{{texturepath|}}} | {{!}} <div>Graphics path</div> {{!!}} <span style="word-break: | + | {{#if: {{{texturepath|}}} | {{!}} <div>Graphics path</div> {{!!}} <span style="word-break: break-word;">{{{texturepath}}} </span> }}<!-- break-all may be required --> |
|- | |- | ||
− | {{#if: {{{soundambient|}}} | {{!}} <div>Ambient sound</div> {{!!}} <span style="word-break: | + | {{#if: {{{soundambient|}}} | {{!}} <div>Ambient sound</div> {{!!}} <span style="word-break: break-word;">{{{soundambient}}} </span> }}<!-- break-all may be required --> |
|} | |} | ||
<!-- Auto categories --><!-- | <!-- Auto categories --><!-- |
Latest revision as of 01:25, 24 April 2023
This template defines the table "Biome". View table.
Usage[edit]
{{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. |