Difference between revisions of "User:Theaetetus/sandbox1"

From RimWorld Wiki
Jump to navigation Jump to search
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="infobox float:right; {{#if:{{{1|}}}|{{#switch:{{{1}}}|<!--
+
Content suppressed to prevent maintainance categorisation. Feel free to revert if you return. [[User:Harakoni|Harakoni]] ([[User talk:Harakoni|talk]]) 06:17, 26 November 2021 (UTC)
 +
 
 +
<includeonly><div class="infobox float:right; {{#if:{{{1|}}}|{{#switch:{{{1}}}|<!--
 
--> animal = c_08 |<!--
 
--> animal = c_08 |<!--
 
--> plant = c_14 |<!--
 
--> plant = c_14 |<!--
Line 152: Line 154:
 
{{#if: {{{meatname|}}}|
 
{{#if: {{{meatname|}}}|
 
   {{#vardefine: MeatName | {{{meatname|}}}}}{{#set: Meat Name = {{{meatname|}}} }}|
 
   {{#vardefine: MeatName | {{{meatname|}}}}}{{#set: Meat Name = {{{meatname|}}} }}|
   {{#vardefine: MeatName | {{{name|{{BASEPAGENAME}}}}} meat}}{{#set: Meat Name = {{{name}}}|{{BASEPAGENAME}}}} meat}} }}
+
   {{#vardefine: MeatName | {{{name|{{BASEPAGENAME}}}}} meat}}{{#set: Meat Name = {{{name|{{BASEPAGENAME}}}}} meat}} }}
  
 
{{#if: {{{bodysize|}}}|
 
{{#if: {{{bodysize|}}}|
Line 159: Line 161:
 
   <!-- As of A14, only Thrumbo, Scyther and Centipede should have this param specified -->
 
   <!-- As of A14, only Thrumbo, Scyther and Centipede should have this param specified -->
 
   {{#if: {{{meatyield|}}}|
 
   {{#if: {{{meatyield|}}}|
    {{#vardefine: MeatYield | {{#expr: 90 * {{{bodysize|}}} round0}} }}
 
 
     {{#set: Meat Yield = {{{meatyield|}}} }}
 
     {{#set: Meat Yield = {{{meatyield|}}} }}
 
;Meat Yield
 
;Meat Yield
:{{{meatyield|}}} [[{{lc:{{#var: MeatName}}}}]]|
+
:{{{meatyield|}}} [[{{lc:{{#var: MeatName}}}}|{{lc:{{#var: MeatName}}}}]]|
 
   <!-- Section end -->
 
   <!-- Section end -->
 
     {{#vardefine: MeatYield | {{#expr: 90 * {{{bodysize|}}} round0}} }}
 
     {{#vardefine: MeatYield | {{#expr: 90 * {{{bodysize|}}} round0}} }}
     {{#set: Meat Yield = {{lc:{{#var: MeatYield}}}} }}
+
     {{#set: Meat Yield = {{#var: MeatYield}} }}
 
;Meat Yield
 
;Meat Yield
:{{#var: MeatYield}} [[{{#var: MeatName}}]]
+
:{{#var: MeatYield}}}}  [[{{lc:{{#var: MeatName}}}}|{{lc:{{#var: MeatName}}}}]]
 
   {{#vardefine: CarryingCapacity | {{#expr: 75 * {{{bodysize|}}} round0}} }}
 
   {{#vardefine: CarryingCapacity | {{#expr: 75 * {{{bodysize|}}} round0}} }}
 
   {{#set: Carrying Capacity = {{#var: CarryingCapacity}} }}
 
   {{#set: Carrying Capacity = {{#var: CarryingCapacity}} }}
Line 226: Line 227:
 
:{{{milktime|}}}&nbsp;days}}
 
:{{{milktime|}}}&nbsp;days}}
  
{{#if: {{{wool|}}}|{{#set: Wool Amount = {{{wool|}}} }}
+
{{#if: {{{wool|}}}|
 +
  {{#set: Wool Amount = {{{wool|}}}}}
 +
  {{#if: {{{woolname|}}}|
 +
    {{#vardefine: WoolName | {{{woolname|}}}}}{{#set: Wool Name = {{{woolname|}}}}}|
 +
    {{#vardefine: WoolName | {{{name|{{BASEPAGENAME}}}}} wool}}{{#set: Wool Name = {{{name|{{BASEPAGENAME}}}}} wool}}
 +
  }}
 
;Wool Amount
 
;Wool Amount
:{{{wool|}}} }}
+
:{{{wool|}}} [[{{#var: WoolName}}|{{lc:{{#var: WoolName}}}}]]
 +
}}
  
 
{{#if: {{{sheartime|}}}|{{#set: Shearing Interval Days = {{{sheartime|}}} }}
 
{{#if: {{{sheartime|}}}|{{#set: Shearing Interval Days = {{{sheartime|}}} }}
Line 389: Line 396:
 
<br style="clear: both; height: 0px;" />
 
<br style="clear: both; height: 0px;" />
 
</dl></div></div>
 
</dl></div></div>
 
+
</includeonly>
<noinclude>
 
{{{{BASEPAGENAME}}/doc}}
 
[[Category:Template Infobox]]
 
</noinclude>
 

Latest revision as of 06:17, 26 November 2021

Content suppressed to prevent maintainance categorisation. Feel free to revert if you return. Harakoni (talk) 06:17, 26 November 2021 (UTC)