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:CreatureInfo v0.40"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(make the image the first cell to minimize disruption from flash of unstyled content. Undo of rev 284944 by Jan)
(consistency with Template:VerminInfo: wrap char with nowiki tag, make cell background white (for button) and only symbol dependent on color parameter)
Line 1: Line 1:
 
{{infostart|{{{name}}}}}
 
{{infostart|{{{name}}}}}
{{infocell|style=color: {{fgcolor|{{{color|7:0:1}}}}}; background: black; text-align:center; vertical-align:middle;|1=
+
{{infocell|style=color: white; background: black; text-align:center; vertical-align:middle;|1=
 
{{#if:{{{image|}}}|<div class="mw-collapsible" id="mw-customcollapsible-classicimage" style="height: 128px; line-height: 128px; image-rendering: pixelated; -webkit-image-rendering: pixelated; -moz-image-rendering: pixelated;">[[File:{{{image}}}|200x128px|class=df-sprite df-sprite-infobox]]</div>}}
 
{{#if:{{{image|}}}|<div class="mw-collapsible" id="mw-customcollapsible-classicimage" style="height: 128px; line-height: 128px; image-rendering: pixelated; -webkit-image-rendering: pixelated; -moz-image-rendering: pixelated;">[[File:{{{image}}}|200x128px|class=df-sprite df-sprite-infobox]]</div>}}
<div class="{{#if:{{{image|}}}|mw-collapsible mw-collapsed}}" id="mw-customcollapsible-classicimage" style="font-size:xx-large; font-weight: bold; font-family: 'Courier New', 'Quicktype Mono', 'Bitstream Vera Sans Mono', 'Lucida Console',  'Lucida Sans Typewriter', monospace; {{#if:{{{image|}}}|height: 128px; line-height: 128px;}}">{{char|{{{symbol|?}}}}}</div>
+
<div class="{{#if:{{{image|}}}|mw-collapsible mw-collapsed}}" id="mw-customcollapsible-classicimage" style="color: {{fgcolor|{{{color|7:0:1}}}}}; font-size:xx-large; font-weight: bold; font-family: 'Courier New', 'Quicktype Mono', 'Bitstream Vera Sans Mono', 'Lucida Console',  'Lucida Sans Typewriter', monospace; {{#if:{{{image|}}}|height: 128px; line-height: 128px;}}">{{#tag:nowiki|{{char|{{{symbol|?}}}}}}}</div>
 
{{#if:{{{image|}}}|<span class="mw-customtoggle-classicimage mw-ui-button mw-ui-progressive" style="float:right; padding:0px; user-select: none;">Toggle</span>}}}}
 
{{#if:{{{image|}}}|<span class="mw-customtoggle-classicimage mw-ui-button mw-ui-progressive" style="float:right; padding:0px; user-select: none;">Toggle</span>}}}}
 
{{#if:{{{pref|}}}|{{infopref|{{{pref}}}}}}}
 
{{#if:{{{pref|}}}|{{infopref|{{{pref}}}}}}}

Revision as of 04:40, 13 January 2023

{{{name}}}
?
Biome

Any location

Cannot be tamed
Butchering returns

Food items

Raw materials

There is too little information about this creature.
Please contribute if you can!