Difference between revisions of "User:Dr. Strangelove/Test/Alpha/sandbox"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{#vardefine:Name|{{{name|{{BASEPAGENAME}}}}}}} <div class="infobox float:right; {{#if:{{{1|}}}|{{#switch:{{{1}}}|<!--
+
<includeonly>{{#vardefine:Name|{{{name|{{BASEPAGENAME}}}}}}} <div class="infobox float:right; {{#if:{{{1|}}}|{{#switch:{{{1}}}|<!--
 
--> animal = c_08 |<!--
 
--> animal = c_08 |<!--
 
--> plant = c_14 |<!--
 
--> plant = c_14 |<!--
Line 13: Line 13:
 
<div class="image_wrapper" title="{{#var:Name}}">[[File:{{{image|{{#var:Name}}}}}|{{{imagesize|250px}}}|link={{#var:Name}}|{{#var:Name}}]]</div>
 
<div class="image_wrapper" title="{{#var:Name}}">[[File:{{{image|{{#var:Name}}}}}|{{{imagesize|250px}}}|link={{#var:Name}}|{{#var:Name}}]]</div>
 
<p class="text-center" style="display:block; font-size:89%; padding: .5em;">{{#if:{{{description|}}}|{{{description|}}}{{#set:Description = {{{description|}}}}}}}</p>{{#set:Image = [[File:{{{image|{{#var:Name}}.png}}}]]}}
 
<p class="text-center" style="display:block; font-size:89%; padding: .5em;">{{#if:{{{description|}}}|{{{description|}}}{{#set:Description = {{{description|}}}}}}}</p>{{#set:Image = [[File:{{{image|{{#var:Name}}.png}}}]]}}
 +
----
 
<dl>
 
<dl>
 
{{#set:Name = {{#var:Name}} }}
 
{{#set:Name = {{#var:Name}} }}
Line 138: Line 139:
 
<!-- All pawns (animals, humanoids, mechanoids) -->
 
<!-- All pawns (animals, humanoids, mechanoids) -->
 
<!-- Animal Health --->
 
<!-- Animal Health --->
 +
{{#if:  {{{movespeed|}}} {{{massyoung|}}} {{{massjuvenile|}}} {{{massadult|}}}  {{{healthscale|}}} {{{bodysize|}}} {{{hungerrate|}}} {{{diet|}}} {{{lifespan|}}} {{{manhunter|}}} {{{manhuntertame|}}} {{{trainable|}}} {{{wildness|}}} {{{petness|}}} {{{predator|}}} {{{nuzzleMtb|}}}|
 
</dl>{{clear}}
 
</dl>{{clear}}
 
<p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Pawn Stats'''</p>
 
<p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Pawn Stats'''</p>
 
<dl>
 
<dl>
 +
}}
  
 
{{#ifeq: {{{type|}}}|Animals|{{#set: Type = {{{type2|}}}}}}}
 
{{#ifeq: {{{type|}}}|Animals|{{#set: Type = {{{type2|}}}}}}}
  
;Foo
+
{{#if: {{{movespeed|}}}|{{#set:Move Speed Base = {{{movespeed|}}} }}
:Bar
 
 
 
 
;Move Speed
 
;Move Speed
:{{#invoke:Test|get|Hare|MoveSpeed}}
+
:{{{movespeed|}}}}}
  
 
{{#if: {{{massyoung|{{{massadult|}}}}}}|{{#set:Mass - Young= {{{massyoung|{{#expr:{{{massadult}}}/5}}}}} }}
 
{{#if: {{{massyoung|{{{massadult|}}}}}}|{{#set:Mass - Young= {{{massyoung|{{#expr:{{{massadult}}}/5}}}}} }}
Line 802: Line 803:
  
 
<br style="clear: both; height: 0px;" />
 
<br style="clear: both; height: 0px;" />
</dl></div></div><!-- Add categories and interwikis to the /doc subpage, not here! -->
+
</dl></div></div></includeonly><noinclude>
 +
{{documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! -->

Revision as of 13:12, 11 March 2021

Template:Template sandbox notice

Documentation[create]