v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:BIcon"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{#if: {{{1}}} | [[Biome|<span title="{{{1}}}: {{#switch: {{{1}}} | 000 = Taiga | 001 = Temperate broadleaf forest | 002 = Tropical moist broadleaf forest | 003 = Topical dry broadleaf forest | 004 = Temperate coniferous forest | 005 = Tropical coniferous forest | 006 = Temperate grassland | 007 = Tropical grassland | 008 = Temperate savanna | 009 = Tropical savanna | 010 = Temperate shrubland |Tropical shrubland | 011 = Temperate marsh | 012 = Tropical marsh | 013 = Temperate swamp | 014 = Tropical swamp | 015 = Mangrove swamp | 015 = Arctic ocean | 016 = Temperate ocean | 017 = Tropical ocean | 018 = Saltwater | 019 = Brackish water | 020 = Freshwater | 021 = Temperate river | 022 = Tropical river | 023 = Subterranean water | 024 = Subterranean magma | 025 = Subterranean chasm | 026 = Magma | 027 = Volcano | 028 = Badlands | 029 = Desert | 030 = Rocky Wasteland}}
+
{{#ifexpr: {{{1}}} = 001 | <span title="Temperate Broadleaf Forest">{{tile|♠|2:0}}</span>}}
"></span>]] | [[Biome]]}}<noinclude>
+
 
 +
<noinclude>{{#if: {{{1}}} | [[Biome|<span title="{{{1}}}: {{#switch: {{{1}}} | 000 = Taiga | 001 = Temperate broadleaf forest | 002 = Tropical moist broadleaf forest | 003 = Topical dry broadleaf forest | 004 = Temperate coniferous forest | 005 = Tropical coniferous forest | 006 = Temperate grassland | 007 = Tropical grassland | 008 = Temperate savanna | 009 = Tropical savanna | 010 = Temperate shrubland |Tropical shrubland | 011 = Temperate marsh | 012 = Tropical marsh | 013 = Temperate swamp | 014 = Tropical swamp | 015 = Mangrove swamp | 015 = Arctic ocean | 016 = Temperate ocean | 017 = Tropical ocean | 018 = Saltwater | 019 = Brackish water | 020 = Freshwater | 021 = Temperate river | 022 = Tropical river | 023 = Subterranean water | 024 = Subterranean magma | 025 = Subterranean chasm | 026 = Magma | 027 = Volcano | 028 = Badlands | 029 = Desert | 030 = Rocky Wasteland}}
 +
"></span>]] | [[Biome]]}}
  
 
This is a template to display biome icons with descriptive hover text.<br>
 
This is a template to display biome icons with descriptive hover text.<br>
 
Use:<pre>{{bIcon|ID}}</pre>
 
Use:<pre>{{bIcon|ID}}</pre>
 
Results in:<br>
 
Results in:<br>
{{bIcon|000}}
+
{{bIcon|001}}
  
 
You can hover over the icon with the mouse for the name of the biome it represents.
 
You can hover over the icon with the mouse for the name of the biome it represents.

Revision as of 23:04, 3 April 2011

Expression error: Unrecognized punctuation character "{".

This is a template to display biome icons with descriptive hover text.

Use:

{{bIcon|ID}}

Results in:


You can hover over the icon with the mouse for the name of the biome it represents.


Key:

000 - "Taiga"

001 - "Temperate broadleaf forest"

002 - "Tropical moist broadleaf forest"

003 - "Tropical dry broadleaf forest"

004 - "Temperate coniferous forest"

005 - "Tropical coniferous forest"

007 n - "Temperate grassland"

008 n - "Tropical grassland"

009 n - "Temperate savanna"

010 n - "Tropical savanna"

011 m - "Temperate shrubland"

012 m - "Tropical shrubland"

013 ~ - "Temperate marsh"

014 ~ - "Tropical marsh"

015 - "Temperate swamp"

016 - "Tropical swamp"

017 - "Mangrove swamp"

018 - "Arctic ocean"

019 - "Temperate ocean"

020 - "Tropical ocean"

021 S - "Saltwater"

022 B - "Brackish water"

023 F - "Freshwater"

024 ~ - "Temperate river"

025 ~ - "Tropical river"

026 - "Subterranean water"

027 - "Subterranean magma"

028 x - "Subterranean chasm"

029 - "Magma"

030 ^ - "Volcano"

031 V - "Badlands"

032 - "Desert"

033 W - "Rocky Wasteland"

CancelHideAbout

Rating Template:BIcon