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:VerminInfo"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(remove extra line breaks)
(Nevermind, wrong template.)
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{infostart|{{{name}}}}}
 
{{infostart|{{{name}}}}}
{{infocell|{{{symbol|?}}}|style=color: {{fgcolor|{{{color|5:0:1}}}}}; background: black; font-size:x-large; font-weight: bold; font-family: 'Courier New', 'Quicktype Mono', 'Bitstream Vera Sans Mono', 'Lucida Console',  'Lucida Sans Typewriter', monospace; text-align:center; vertical-align:center}}
+
{{infocell|style=color: white; background: black; text-align:center; vertical-align:middle;|1=
{{infoheader|{{L|Biome}}}}
+
{{#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>}}
{{infocell|{{{biome|?}}}}}
+
<div class="{{#if:{{{image|}}}|mw-collapsible mw-collapsed}}" id="mw-customcollapsible-classicimage" style="color: {{fgcolor|{{{color|5: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>
{{infoheader|{{L|season|Active Seasons}}}}
+
{{#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}}}}}}}
 +
{{infoheader|[[Biome]]}}
 +
{{infocell|{{#if:{{{biome|}}}|{{{biome|}}}|Nowhere}}}}
 +
{{#ifeq:{{{vary|no}}}|no|{{!-}}|
 +
{{infoheader|Variations}}
 +
{{infocell|{{{vary|unknown}}} }} }}
 +
{{#ifexpr:{{#if:{{{alignment|}}}|1|0}} or {{#if:{{{attribs|}}}|1|0}}|
 +
{{infoheader|Attributes}}
 +
{{#if:{{{alignment|}}}|{{inforow|Alignment:|{{{alignment}}} }}|{{!-}}}}}}
 +
{{#if:{{{attribs|}}}|{{infocell|{{span-hide}}{{{attribs}}}{{end-span}}}}|{{!-}}}}
 +
{{#ifexpr:{{#if:{{tag|{{/raw|}}|PET}}|1|0}} or {{
 +
#if:{{tag|{{/raw|}}|PET_EXOTIC}}|1|0}}|{{inforow|Pet value|{{formatnum:{{{petvalue|0}}}}}}}}}
 +
{{infoheader|[[season|Active Seasons]]}}
 
{{infocell|{{seasons|{{{spring|}}}|{{{summer|}}}|{{{autumn|}}}|{{{winter|}}}}}}}
 
{{infocell|{{seasons|{{{spring|}}}|{{{summer|}}}|{{{autumn|}}}|{{{winter|}}}}}}}
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{{wiki|{{{name}}}}}}|Wikipedia article}}}}|{{!-}}}}
+
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#if:{{{wiki|}}}|{{{wiki}}}|{{{name}}}}}|Wikipedia article]]}}|{{!-}}}}
{{infoend}}<noinclude>{{documentation}}</noinclude>
+
{{infoend}}<noinclude>{{documentation}}[[Category:Infobox templates]]</noinclude>

Latest revision as of 23:11, 24 April 2024

{{{name}}}
?
Biome

Nowhere

Active Seasons
Spring Summer Autumn Winter

[[wikipedia:{{{name}}}|Wikipedia article]]