Difference between revisions of "User:Dr. Strangelove/Template:Infobox"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 77: Line 77:
 
;Efficiency
 
;Efficiency
 
:{{{efficiency|}}}}}
 
:{{{efficiency|}}}}}
 +
 +
{{#if: {{{recreation power|}}} {{{recreation type|}}}|{{#set:Recreation Power= {{{recreation power|}}} }}{{#set:Recreation Type= {{{recreation type|}}} }}
 +
;Recreation
 +
:{{#if:{{{recreation power|}}}|{{#expr:{{{recreation power|}}}*100}}%}} {{{recreation type|}}}}}
  
 
<!-- Apparel-->
 
<!-- Apparel-->
Line 147: Line 151:
 
{{#ifeq: {{{type|}}}|Animals|{{#set: Type = {{{type2|}}}}}}}
 
{{#ifeq: {{{type|}}}|Animals|{{#set: Type = {{{type2|}}}}}}}
  
{{User:Dr. Strangelove/Template:Infobox/sandbox|{{{movespeed|}}}|statBases|MoveSpeed|title=Some movin|SMWP=Move Speed Base}}
+
{{#if: {{{movespeed|}}}|{{#set:Move Speed Base = {{{movespeed|}}} }}
 +
;Move Speed
 +
:{{{movespeed|}}}}}
  
 
{{#if: {{{massyoung|{{{massadult|}}}}}}|{{#set:Mass - Young= {{{massyoung|{{#expr:{{{massadult}}}/5}}}}} }}
 
{{#if: {{{massyoung|{{{massadult|}}}}}}|{{#set:Mass - Young= {{{massyoung|{{#expr:{{{massadult}}}/5}}}}} }}
Line 720: Line 726:
  
 
<!--- Creation --->
 
<!--- Creation --->
{{#IF: {{{work to make|}}} {{{resources to make|}}} {{{stuff tags|}}} {{{deconstruct yield|}}} {{{resource 1|}}} {{{resource 2|}}}{{{resource 3|}}} {{{resource 4|}}} {{{resource 5|}}} {{{resource 6|}}} {{{resource 1 amount|}}} {{{resource 2 amount|}}} {{{resource 3 amount|}}} {{{resource 4 amount|}}} {{{resource 5 amount|}}} {{{resource 6 amount|}}} |
+
{{#IF: {{{production facility 1|}}} {{{work to make|}}} {{{resources to make|}}} {{{stuff tags|}}} {{{deconstruct yield|}}} {{{resource 1|}}} {{{resource 2|}}}{{{resource 3|}}} {{{resource 4|}}} {{{resource 5|}}} {{{resource 6|}}} {{{resource 1 amount|}}} {{{resource 2 amount|}}} {{{resource 3 amount|}}} {{{resource 4 amount|}}} {{{resource 5 amount|}}} {{{resource 6 amount|}}} |
 
</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'>'''Creation'''</p>
 
<p class='subheading' style='height: 1.75em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Creation'''</p>
 
<dl>
 
<dl>
 +
}}
 +
 +
{{#if: {{{production facility 1|}}}|{{#set:Production Facility 1= {{{production facility 1|}}} }}}}
 +
{{#if: {{{production facility 2|}}}|{{#set:Production Facility 2= {{{production facility 2|}}} }}}}
 +
{{#if: {{{production facility 3|}}}|{{#set:Production Facility 3= {{{production facility 3|}}} }}}}
 +
{{#if: {{{production facility 4|}}}|{{#set:Production Facility 4= {{{production facility 4|}}} }}}}
 +
{{#if: {{{production facility 1|}}}|
 +
;Crafted at
 +
:{{#if:{{{production facility 1|}}}|{{Icon Small|{{{production facility 1|}}}|{{#ifeq:{{lc:{{{production facility 1|}}}}}|crafting spot|16|32}}}}}}{{#if:{{{production facility 2|}}}|/{{Icon Small|{{{production facility 2|}}}|{{#ifeq:{{lc:{{{production facility 2|}}}}}|crafting spot|16|32}}}}}}{{#if:{{{production facility 3|}}}|/{{Icon Small|{{{production facility 3|}}}|{{#ifeq:{{lc:{{{production facility 3|}}}}}|crafting spot|16|32}}}}}}{{#if:{{{production facility 4|}}}|/{{Icon Small|{{{production facility 4|}}}|{{#ifeq:{{lc:{{{production facility 4|}}}}}|crafting spot|16|32}}}}}}
 
}}
 
}}
  
Line 828: Line 843:
 
:{{{ResearchProjectTagDef|}}}
 
:{{{ResearchProjectTagDef|}}}
 
}}<!--
 
}}<!--
-->{{#if: {{{sowTag|}}} |
+
-->{{#if: {{{sowTag|}}} |{{#set:  sowTag = {{{sowTag|}}}}}
 
;sowTag
 
;sowTag
 
:{{{sowTag|}}}
 
:{{{sowTag|}}}
 
}}<!--
 
}}<!--
-->{{#if: {{{sowTags|}}} |
+
-->{{#if: {{{sowTags|}}} |{{#set:  sowTags = {{{sowTags|}}}}}
 
;sowTags
 
;sowTags
 
:{{{sowTags|}}}
 
:{{{sowTags|}}}

Revision as of 21:37, 17 May 2021

Documentation[create]