Difference between revisions of "User:Dr. Strangelove/Template:Infobox"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:Name|{{{name|{{BASEPAGENAME}}}}}}} <div class="infobox float:right; {{#if:{{{1|}}}|{{#switch:{{{1}}}|<!-- | + | <includeonly>{{#vardefine:Name|{{{name|{{BASEPAGENAME}}}}}}}{{#vardefine:Name|arctic wolf}} <div class="infobox float:right; {{#if:{{{1|}}}|{{#switch:{{{1}}}|<!-- |
--> animal = c_08 |<!-- | --> animal = c_08 |<!-- | ||
--> plant = c_14 |<!-- | --> plant = c_14 |<!-- | ||
Line 60: | Line 60: | ||
}} | }} | ||
− | <!--- | + | |
+ | <!--=================================================================--> | ||
+ | <!--========================== Buildings ============================--> | ||
+ | <!--=================================================================--> | ||
+ | |||
{{#if: {{{placeable|}}}|{{#set:Placeable = {{{placeable|}}} }} | {{#if: {{{placeable|}}}|{{#set:Placeable = {{{placeable|}}} }} | ||
Line 82: | Line 86: | ||
:{{#if:{{{recreation power|}}}|{{#expr:{{{recreation power|}}}*100}}%}} {{{recreation type|}}}}} | :{{#if:{{{recreation power|}}}|{{#expr:{{{recreation power|}}}*100}}%}} {{{recreation type|}}}}} | ||
− | <!-- Apparel--> | + | |
+ | <!--===============================================================--> | ||
+ | <!--========================== Apparel ============================--> | ||
+ | <!--===============================================================--> | ||
+ | |||
+ | |||
{{#if: {{{insulationcold|}}} {{{insulationheat|}}} {{{insulationcoldfactor|}}} {{{insulationheatfactor|}}} {{{armorsharp|}}} {{{armorblunt|}}} {{{armorheat|}}} {{{armorsharpfactor|}}} {{{armorbluntfactor|}}} {{{armorheatfactor|}}} {{{painshockthreshold|}}} {{{coverage|}}} {{{layer|}}}| | {{#if: {{{insulationcold|}}} {{{insulationheat|}}} {{{insulationcoldfactor|}}} {{{insulationheatfactor|}}} {{{armorsharp|}}} {{{armorblunt|}}} {{{armorheat|}}} {{{armorsharpfactor|}}} {{{armorbluntfactor|}}} {{{armorheatfactor|}}} {{{painshockthreshold|}}} {{{coverage|}}} {{{layer|}}}| | ||
</dl>{{clear}} | </dl>{{clear}} | ||
Line 141: | Line 150: | ||
:{{{layer|}}}}} | :{{{layer|}}}}} | ||
− | <!-- | + | |
− | <!-- | + | <!--=============================================================--> |
+ | <!--========================== Pawns ============================--> | ||
+ | <!--=============================================================--> | ||
+ | |||
+ | |||
{{#if: {{{movespeed|}}} {{{massyoung|}}} {{{massjuvenile|}}} {{{massadult|}}} {{{healthscale|}}} {{{bodysize|}}} {{{hungerrate|}}} {{{diet|}}} {{{lifespan|}}} {{{manhunter|}}} {{{manhuntertame|}}} {{{trainable|}}} {{{wildness|}}} {{{petness|}}} {{{predator|}}} {{{nuzzleMtb|}}}| | {{#if: {{{movespeed|}}} {{{massyoung|}}} {{{massjuvenile|}}} {{{massadult|}}} {{{healthscale|}}} {{{bodysize|}}} {{{hungerrate|}}} {{{diet|}}} {{{lifespan|}}} {{{manhunter|}}} {{{manhuntertame|}}} {{{trainable|}}} {{{wildness|}}} {{{petness|}}} {{{predator|}}} {{{nuzzleMtb|}}}| | ||
</dl>{{clear}} | </dl>{{clear}} | ||
Line 151: | Line 164: | ||
{{#ifeq: {{{type|}}}|Animals|{{#set: Type = {{{type2|}}}}}}} | {{#ifeq: {{{type|}}}|Animals|{{#set: Type = {{{type2|}}}}}}} | ||
− | {{#if: {{{movespeed|}}}|{{#set:Move Speed Base = {{{movespeed|}}} }} | + | {{#if: {{{movespeed|}}} |
− | ;Move Speed | + | | {{#set:Move Speed Base = {{{movespeed|}}} }} |
− | :{{{movespeed|}}}}} | + | ;Move Speed |
+ | :{{{movespeed|}}} | ||
+ | | ;Move Speed | ||
+ | :{{#invoke:Test|query|{{#var:Name}}|MoveSpeed}}}} | ||
+ | }} | ||
{{#if: {{{massyoung|{{{massadult|}}}}}}|{{#set:Mass - Young= {{{massyoung|{{#expr:{{{massadult}}}/5}}}}} }} | {{#if: {{{massyoung|{{{massadult|}}}}}}|{{#set:Mass - Young= {{{massyoung|{{#expr:{{{massadult}}}/5}}}}} }} | ||
Line 352: | Line 369: | ||
:{{{offspring|}}} }} | :{{{offspring|}}} }} | ||
− | <!--Buildings--> | + | |
+ | <!--=================================================================--> | ||
+ | <!--========================== Buildings ============================--> | ||
+ | <!--=================================================================--> | ||
+ | |||
{{#if: {{{power|}}}|{{#set:Power Consumption = {{{power|}}} }} | {{#if: {{{power|}}}|{{#set:Power Consumption = {{{power|}}} }} | ||
Line 367: | Line 388: | ||
}} | }} | ||
− | <!--Furniture--> | + | |
+ | <!--=================================================================--> | ||
+ | <!--========================== Furniture ============================--> | ||
+ | <!--=================================================================--> | ||
+ | |||
{{#if: {{{immunity gain speed factor|}}}|{{#set:Immunity Gain Speed Factor = {{{immunity gain speed factor|}}} }} | {{#if: {{{immunity gain speed factor|}}}|{{#set:Immunity Gain Speed Factor = {{{immunity gain speed factor|}}} }} | ||
Line 390: | Line 415: | ||
− | <!--Plants--> | + | <!--==============================================================--> |
+ | <!--========================== Plants ============================--> | ||
+ | <!--==============================================================--> | ||
+ | |||
+ | |||
{{#if: {{{grow days|}}} {{{sow work|}}} {{{harvest work|}}} {{{product|}}} {{{yield|}}} {{{min sowing skill|}}} {{{min fertility|}}} {{{fertility sensitivity|}}}| | {{#if: {{{grow days|}}} {{{sow work|}}} {{{harvest work|}}} {{{product|}}} {{{yield|}}} {{{min sowing skill|}}} {{{min fertility|}}} {{{fertility sensitivity|}}}| | ||
</dl>{{clear}} | </dl>{{clear}} | ||
Line 446: | Line 475: | ||
}} | }} | ||
− | <!--Weapons--> | + | |
+ | <!--===============================================================--> | ||
+ | <!--========================== Weapons ============================--> | ||
+ | <!--===============================================================--> | ||
+ | |||
+ | |||
{{#if: {{{mode|}}}|{{#set:Mode = {{{mode|}}} }} }} | {{#if: {{{mode|}}}|{{#set:Mode = {{{mode|}}} }} }} | ||
Line 905: | Line 939: | ||
</span> </div> </div>}} | </span> </div> </div>}} | ||
<br style="clear: both; height: 0px;" /> | <br style="clear: both; height: 0px;" /> | ||
− | </dl></div></div></includeonly><noinclude> | + | </dl></div></div></includeonly><noinclude>}} |
{{documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! --> | {{documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! --> |