Editing Template:Infobox main

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 15: Line 15:
 
   | weapon = c_06
 
   | weapon = c_06
 
   | animal | food = c_08
 
   | animal | food = c_08
   | fabric = c_09
+
   | fabric = c_09s
 
   | security = c_10
 
   | security = c_10
 
   | area | exotic = c_11
 
   | area | exotic = c_11
Line 23: Line 23:
 
   | drug = c_24
 
   | drug = c_24
 
   | production = c_25
 
   | production = c_25
  | psycast = c_09
 
 
}} }}">
 
}} }}">
 
<p class="heading">{{#vardefine:Name|{{{name|{{BASEPAGENAME}} }}} }} {{#var:Name}} {{#if: {{#var:setProperty}} | {{#set:Name = {{#var:Name}} }} }}</p>
 
<p class="heading">{{#vardefine:Name|{{{name|{{BASEPAGENAME}} }}} }} {{#var:Name}} {{#if: {{#var:setProperty}} | {{#set:Name = {{#var:Name}} }} }}</p>
Line 41: Line 40:
  
 
{{#if: {{{stuff category|}}} |
 
{{#if: {{{stuff category|}}} |
   {{#if: {{#var:setProperty}} |  
+
   {{#if: {{#var:setProperty}} | {{#set:Stuff Category = {{{stuff category|}}} }} }}
    {{#set:Stuff Category = {{#explode:{{{stuff category|}}}|,|0}}
+
;Stuff Category
        | Stuff Category = {{#explode:{{{stuff category|}}}|,|1}}
+
:{{{stuff category|}}}
        | Stuff Category = {{#explode:{{{stuff category|}}}|,|2}}
+
}}
        | Stuff Category = {{#explode:{{{stuff category|}}}|,|3}}
 
        | Stuff Category = {{#explode:{{{stuff category|}}}|,|4}} }} }}
 
;Stuff Categories
 
:{{{stuff category|}}} {{#if: {{{color|}}} |
 
  {{#vardefine:Red  | {{#replace:{{#explode:{{{color|}}}|,|0}}|(}} }}
 
  {{#vardefine:Green| {{#explode:{{{color|}}}|,|1}} }}
 
  {{#vardefine:Blue | {{#replace:{{#explode:{{{color|}}}|,|2}}|)}} }}
 
<abbr title="Buildings and items made with this as stuff will have the color RGB: {{{color|}}}"><span><div style="width:16px;height:16px;background-color:rgb({{#var:Red}},{{#var:Green}},{{#var:Blue}});display:inline-block;border:1px solid black;vertical-align:middle;"></div></span></abbr>}} }}
 
  
 
{{#if: {{{tech level|}}} |
 
{{#if: {{{tech level|}}} |
Line 75: Line 66:
 
   {{#if: {{#var:setProperty}} | {{#set:Calculated Market Value = True }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Calculated Market Value = True }} }}
 
;Market Value
 
;Market Value
:{{Market Value | {{Market Value Calculator}} }}&nbsp;{{Icon Small|silver}} <abbr title="This value is automatically calculated by the wiki and may not be correct"><sup>[Note]</sup></abbr> }} }} }} }}
+
:{{Market Value | {{Market Value Calculator}} }}&nbsp;{{Icon Small|silver}} {{Hover title|link=no|This value is automatically calculated by the wiki and may not be correct|<sup>[Note]</sup>}} }} }} }} }}
 
}}
 
}}
 
}}
 
}}
Line 266: Line 257:
 
   {{#if: {{#var:setProperty}} | {{#set:Light Radius = {{#var:LightRadius}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Light Radius = {{#var:LightRadius}} }} }}
 
;<abbr title="The furthest away a tile can be before it falls below 30% light">Light Radius</abbr>
 
;<abbr title="The furthest away a tile can be before it falls below 30% light">Light Radius</abbr>
:{{#expr:{{#var:LightRadius}} round 2}} <!--
+
:{{#expr:{{#var:LightRadius}} round 2}}
Color Square: --><abbr title="RGB: {{{glowcolor|}}}"><span><div style="width:16px;height:16px;background-color:rgb({{#var:Red}},{{#var:Green}},{{#var:Blue}});display:inline-block;border:1px solid black;vertical-align:middle;"></div></span></abbr>
 
 
}}
 
}}
  
Line 580: Line 570:
  
 
{{#if: {{{diet|}}} |
 
{{#if: {{{diet|}}} |
   {{#if: {{#var:setProperty}} |
+
   {{#if: {{#var:setProperty}} | {{#set:Diet = {{{diet|}}} }} }}
    {{#set:Diet = {{#explode:{{{diet|}}}|,|0}}
 
        | Diet = {{#explode:{{{diet|}}}|,|1}}
 
        | Diet = {{#explode:{{{diet|}}}|,|2}} }} }}
 
 
;Diet
 
;Diet
 
:{{{diet|}}}
 
:{{{diet|}}}
Line 668: Line 655:
 
{{#if: {{{mateMtb|}}} |
 
{{#if: {{{mateMtb|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Mate Mtb Hours = {{{mateMtb|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Mate Mtb Hours = {{{mateMtb|}}} }} }}
;<abbr title="How often an awake, non-sterilised male will attempt to mate with a female, on average.">Mate Interval</abbr>
+
;{{Hover title|link=no|How often an awake, non-sterilised male will attempt to mate with a female, on average.|Mate Interval}}
 
:{{{mateMtb|}}} hours
 
:{{{mateMtb|}}} hours
 
}}
 
}}
Line 674: Line 661:
 
{{#if: {{{maturityage|}}} |
 
{{#if: {{{maturityage|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Maturity Age = {{{maturityage|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Maturity Age = {{{maturityage|}}} }} }}
;<abbr title="The age at which an animal reaches adulthood.">Maturity Age</abbr>
+
;{{Hover title|link=no|The age at which an animal reaches adulthood.|Maturity Age}}
 
:{{#expr:{{{maturityage|}}} round 3}} years {{#ifexpr: {{{maturityage|}}}  < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{maturityage|}}} |R}}*60)round 1}} }} days)
 
:{{#expr:{{{maturityage|}}} round 3}} years {{#ifexpr: {{{maturityage|}}}  < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{maturityage|}}} |R}}*60)round 1}} }} days)
 
}}
 
}}
Line 680: Line 667:
 
{{#if: {{{juvenileage|}}} |
 
{{#if: {{{juvenileage|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Juvenile Age = {{{juvenileage|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Juvenile Age = {{{juvenileage|}}} }} }}
;<abbr title="The age at which an animal becomes a juvenile.">Juvenile Age</abbr>
+
;{{Hover title|link=no|The age at which an animal becomes a juvenile.|Juvenile Age}}
 
:{{#expr:{{{juvenileage|}}} round 3}} years {{#ifexpr: {{{juvenileage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{juvenileage|}}}|R}}*60)round 1}} }} days) }} }}
 
:{{#expr:{{{juvenileage|}}} round 3}} years {{#ifexpr: {{{juvenileage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{juvenileage|}}}|R}}*60)round 1}} }} days) }} }}
 
}}
 
}}
Line 821: Line 808:
 
{{#if: {{{nutrition|}}} |
 
{{#if: {{{nutrition|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Nutrition = {{{nutrition|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Nutrition = {{{nutrition|}}} }} }}
;<abbr title="Nutrition gained when this item or object is eaten">Nutrition</abbr>
+
;{{Hover title| link=no | Nutrition gained when this item or object is eaten | Nutrition }}
 
:{{{nutrition}}}
 
:{{{nutrition}}}
 
}}
 
}}
Line 863: Line 850:
 
{{#if: {{{max num to ingest at once|}}} |
 
{{#if: {{{max num to ingest at once|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Max Num To Ingest At Once = {{{max num to ingest at once|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Max Num To Ingest At Once = {{{max num to ingest at once|}}} }} }}
;<abbr title="Maximum Number To Ingest At Once">Maximum To Ingest</abbr>
+
;{{Hover title| link=no | Maximum Number To Ingest At Once | Maximum To Ingest}}
 
:{{{max num to ingest at once|}}}
 
:{{{max num to ingest at once|}}}
 
}}
 
}}
Line 1,016: Line 1,003:
 
   {{#if: {{#var:setProperty}} | {{#set:Real Grow Days = {{#var:realGrowDays}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Real Grow Days = {{#var:realGrowDays}} }} }}
 
;Time to grow
 
;Time to grow
:{{{grow days|}}} days <abbr title="Actual days to grow, taking into account rest time">({{#var:realGrowDays}} days)</abbr>
+
:{{{grow days|}}} days {{Hover title|link=no|Actual days to grow, taking into account rest time|({{#var:realGrowDays}} days)}}
 
}}
 
}}
  
Line 1,042: Line 1,029:
 
   {{#if: {{#var:setProperty}} | {{#set:Harvest Product = {{{product|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Harvest Product = {{{product|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Harvest Yield = {{{yield|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Harvest Yield = {{{yield|}}} }} }}
;<abbr title="Assumes 1x multipliers from difficulty, pawn stats, and other sources.">Base Harvest Yield</abbr>
+
;{{Hover title|link=no|Assumes 1x multipliers from difficulty, pawn stats, and other sources.|Base Harvest Yield}}
 
:{{{yield|}}} {{Icon Small| {{{product|}}} | 16 }}
 
:{{{yield|}}} {{Icon Small| {{{product|}}} | 16 }}
 
}}  
 
}}  
Line 1,057: Line 1,044:
 
{{#if: {{{min sowing skill|}}} |
 
{{#if: {{{min sowing skill|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Minimum Required Growing Skill = {{{min sowing skill|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Minimum Required Growing Skill = {{{min sowing skill|}}} }} }}
;<abbr title="Minimum skill required to sow the plant">Min Skill</abbr>
+
;{{Hover title|link=no|Minimum skill required to sow the plant|Min Skill}}
 
:{{{min sowing skill|}}} [[Skills#Plants|Plants]]
 
:{{{min sowing skill|}}} [[Skills#Plants|Plants]]
 
}}
 
}}
Line 1,121: Line 1,108:
  
 
{{#if: {{{warmup|}}} |
 
{{#if: {{{warmup|}}} |
;<abbr title="Time it takes to aim the weapon">Warm-Up</abbr>
+
;{{Hover title | link=no | Time it takes to aim the weapon | Warm-Up }}
 
:{{ticks| {{{warmup|}}} }}
 
:{{ticks| {{{warmup|}}} }}
 
}}
 
}}
  
 
{{#if: {{{cooldown |}}} |
 
{{#if: {{{cooldown |}}} |
;<abbr title="Waiting time before you can aim again after firing">Cooldown</abbr>
+
;{{Hover title| link=no | Waiting time before you can aim again after firing | Cooldown }}
 
:{{ticks| {{{cooldown|}}} }}
 
:{{ticks| {{{cooldown|}}} }}
 
}}
 
}}
Line 1,155: Line 1,142:
 
       {{#if: {{{accuracyLong|}}} |
 
       {{#if: {{{accuracyLong|}}} |
 
         {{#if: {{#var:setProperty}} | {{#set:Accuracy (Long) Base = {{{accuracyLong|}}} }} }}
 
         {{#if: {{#var:setProperty}} | {{#set:Accuracy (Long) Base = {{{accuracyLong|}}} }} }}
;<abbr title="Touch % - Short % - Medium % - Long %">Accuracy</abbr>
+
;{{Hover title|link=no|Touch % - Short % - Medium % - Long %|Accuracy}}
 
:{{{accuracyTouch|}}}% - {{{accuracyShort|}}}% - {{{accuracyMedium|}}}% - {{{accuracyLong|}}}%
 
:{{{accuracyTouch|}}}% - {{{accuracyShort|}}}% - {{{accuracyMedium|}}}% - {{{accuracyLong|}}}%
 
}} }} }} }}
 
}} }} }} }}
Line 1,161: Line 1,148:
 
{{#if: {{{accuracyAvg|}}} |
 
{{#if: {{{accuracyAvg|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Average Accuracy = {{{accuracyAvg|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Average Accuracy = {{{accuracyAvg|}}} }} }}
;<abbr title="Average accuracy of the weapon, taking range into account.">Avg. accuracy</abbr>
+
;{{Hover title| link=no | Average accuracy of the weapon, taking range into account. | Avg. accuracy }}
 
:{{{accuracyAvg|}}}%
 
:{{{accuracyAvg|}}}%
 
}}
 
}}
Line 1,179: Line 1,166:
 
{{#if: {{{burstTicks|}}} |
 
{{#if: {{{burstTicks|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Burst Ticks = {{{burstTicks|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Burst Ticks = {{{burstTicks|}}} }} }}
;<abbr title="Time between shots in a single burst">Burst Ticks</abbr>
+
;{{Hover title| link=no | Time between shots in a single burst | Burst Ticks }}
:{{ticks| {{{burstTicks|}}} }}<br/>({{#expr: 3600 / {{{burstTicks|}}} round2}} <abbr title="Rounds Per Minute">RPM</abbr>)
+
:{{ticks| {{{burstTicks|}}} }}<br/>({{#expr: 3600 / {{{burstTicks|}}} round2}} {{Hover title| link=no | Rounds Per Minute | RPM }})
 
}}
 
}}
  
 
{{#if: {{{missRadius|}}} |
 
{{#if: {{{missRadius|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Miss Radius = {{{missRadius|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Miss Radius = {{{missRadius|}}} }} }}
;<abbr title="Missed shots are forced to land within this radius">Miss Radius</abbr>
+
;{{Hover title| link=no | Missed shots are forced to land within this radius | Miss Radius }}
 
:{{{missRadius|}}} tile(s)
 
:{{{missRadius|}}} tile(s)
 
}}
 
}}
Line 1,204: Line 1,191:
 
  {{#vardefine:averageDPS | {{#expr: ((( {{{damage|}}} * {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} ) / (( {{#if: {{{cooldown|}}} | {{{cooldown|}}} | 1 }} + {{#if: {{{warmup|}}} | {{{warmup|}}} | 0 }} + ( {{#if: {{{burstTicks|}}} | {{{burstTicks|}}} | 1 }} * ( {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} - 1 ))) / 60)) * ({{{accuracyAvg|}}} / 100)) round2}} }} }} }} }} }}
 
  {{#vardefine:averageDPS | {{#expr: ((( {{{damage|}}} * {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} ) / (( {{#if: {{{cooldown|}}} | {{{cooldown|}}} | 1 }} + {{#if: {{{warmup|}}} | {{{warmup|}}} | 0 }} + ( {{#if: {{{burstTicks|}}} | {{{burstTicks|}}} | 1 }} * ( {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} - 1 ))) / 60)) * ({{{accuracyAvg|}}} / 100)) round2}} }} }} }} }} }}
 
           {{#if: {{#var:setProperty}} | {{#set:Average DPS = {{#var:maximumDPS}} }} }}
 
           {{#if: {{#var:setProperty}} | {{#set:Average DPS = {{#var:maximumDPS}} }} }}
;<abbr title="Formatted as: Maximum damage per second (DPS with average accuracy)">DPS</abbr>
+
;{{Hover title| link=yes | Formatted as: Maximum damage per second (DPS with average accuracy) | DPS }}
 
:{{#var:maximumDPS}} {{#if: {{#var:averageDPS}} | ({{#var:averageDPS}}) }}
 
:{{#var:maximumDPS}} {{#if: {{#var:averageDPS}} | ({{#var:averageDPS}}) }}
 
}}
 
}}
Line 1,210: Line 1,197:
 
{{#if: {{{stoppingPower|}}} |
 
{{#if: {{{stoppingPower|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Stopping Power = {{{stoppingPower|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Stopping Power = {{{stoppingPower|}}} }} }}
;<abbr title="Ability of a weapon to 'stagger' targets, slowing them down for a short while. Larger values allow the weapon to stagger targets with bigger body sizes.">Stopping power</abbr>
+
;{{Hover title| link=no | Ability of a weapon to 'stagger' targets, slowing them down for a short while. Larger values allow the weapon to stagger targets with bigger body sizes. | Stopping power}}
 
:{{{stoppingPower|}}}
 
:{{{stoppingPower|}}}
 
}}
 
}}
Line 1,553: Line 1,540:
 
:{{ticks| {{{work to make|}}} }}
 
:{{ticks| {{{work to make|}}} }}
 
}} }}
 
}} }}
 
{{#if: {{{work speed stat|}}} |
 
  {{#if: {{#var:setProperty}} | {{#set:Work Speed Stat = {{{work speed stat|}}} }} }}
 
;Work Speed Stat
 
:[[{{{work speed stat|}}}]]
 
}}
 
  
 
{{#if: {{{gestation cycles|}}} |
 
{{#if: {{{gestation cycles|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Gestation Cycles = {{{gestation cycles}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Gestation Cycles = {{{gestation cycles}}} }} }}
;<abbr title="The number of gestation cycles that must be initiated by a mechanitor to gestate this mechanoid">Gestation Cycles</abbr>
+
;{{Hover title|link=no|The number of gestation cycles that must be initiated by a mechanitor to gestate this mechanoid|Gestation Cycles}}
 
:{{{gestation cycles|}}}
 
:{{{gestation cycles|}}}
 
}}
 
}}
Line 1,573: Line 1,554:
 
         | Stuff Tags = {{#explode:{{{stuff tags|}}}|,|3}}
 
         | Stuff Tags = {{#explode:{{{stuff tags|}}}|,|3}}
 
         | Stuff Tags = {{#explode:{{{stuff tags|}}}|,|4}} }} }}
 
         | Stuff Tags = {{#explode:{{{stuff tags|}}}|,|4}} }} }}
;<abbr title="The types of resource that can be substituted for the generic resource type">Stuff Tags</abbr>
+
;{{Hover title|link=no|The types of resource that can be substituted for the generic resource type|Stuff Tags}}
 
:{{{stuff tags|}}}
 
:{{{stuff tags|}}}
 
}}
 
}}
Line 1,606: Line 1,587:
 
<!---If resource 1 is set to stuff, but theres no stuff tags, make note of it--->
 
<!---If resource 1 is set to stuff, but theres no stuff tags, make note of it--->
 
{{#ifeq: Stuff | {{{resource 1|}}} | {{#if: {{{stuff tags|}}}| |
 
{{#ifeq: Stuff | {{{resource 1|}}} | {{#if: {{{stuff tags|}}}| |
;<abbr title="The types of resource that can be substituted for the generic resource type">Stuff tags</abbr>
+
;{{Hover title|link=no|The types of resource that can be substituted for the generic resource type|Stuff tags}}
 
:<span style="color:red">'''ERROR: NO STUFF TAGS'''</span>
 
:<span style="color:red">'''ERROR: NO STUFF TAGS'''</span>
 
}}
 
}}
Line 1,614: Line 1,595:
 
{{#if: {{{product amount|}}} |
 
{{#if: {{{product amount|}}} |
 
   {{#if: {{#var:setProperty}} | {{#set:Product Amount = {{{product amount|}}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Product Amount = {{{product amount|}}} }} }}
;<abbr title="The amount of this item produced from the required resources">Product Amount</abbr>
+
;{{Hover title|link=no|The amount of this item produced from the required resources|Product Amount}}
 
:{{Icon Small| {{#var:Name}} | 16 }} {{{product amount|}}}
 
:{{Icon Small| {{#var:Name}} | 16 }} {{{product amount|}}}
 
}}
 
}}
  
 
{{#if: {{{deconstruct yield|}}}|
 
{{#if: {{{deconstruct yield|}}}|
;<abbr title="Resources recovered when deconstructing.">Deconstruct yield</abbr>
+
;{{Hover title| link=no | Resources recovered when deconstructing. | Deconstruct yield }}
 
:{{{deconstruct yield|}}}|
 
:{{{deconstruct yield|}}}|
 
<!-- if resource 1 != None and type = Building and deconstructable != false and deconstructyieldfraction|0.5 > 0 NON-EXCLUSIVE OR if deconstruct yield fraction set above 0 manually OR set to deconstructable true
 
<!-- if resource 1 != None and type = Building and deconstructable != false and deconstructyieldfraction|0.5 > 0 NON-EXCLUSIVE OR if deconstruct yield fraction set above 0 manually OR set to deconstructable true
 
-->{{#ifexpr:{{#if: {{{resource 1|}}}|1|0}}*{{#ifeq:{{{type|}}}|Building|1|0}}*{{#ifeq:{{lc:{{{deconstructable|}}} }}|false|0|1}}*{{#ifexpr: {{{deconstructyieldfraction|0.5}}} > 0|1|0}} + {{#ifexpr: {{{deconstructyieldfraction|-1}}} > 0|1|0}} + {{#ifeq:{{lc:{{{deconstructable|}}} }}|true|1|0}} > 0|
 
-->{{#ifexpr:{{#if: {{{resource 1|}}}|1|0}}*{{#ifeq:{{{type|}}}|Building|1|0}}*{{#ifeq:{{lc:{{{deconstructable|}}} }}|false|0|1}}*{{#ifexpr: {{{deconstructyieldfraction|0.5}}} > 0|1|0}} + {{#ifexpr: {{{deconstructyieldfraction|-1}}} > 0|1|0}} + {{#ifeq:{{lc:{{{deconstructable|}}} }}|true|1|0}} > 0|
;<abbr title="Resources recovered when deconstructing.">Deconstruct yield</abbr>
+
;{{Hover title|link=no|Resources recovered when deconstructing.|Deconstruct yield}}
 
:{{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} | {{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }}|{{#expr: {{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}} }}|{{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} - {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} }} <!--
 
:{{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} | {{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }}|{{#expr: {{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}} }}|{{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} - {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} }} <!--
 
-->{{#if: {{{resource 2|}}}| + {{Icon Small|{{{resource 2|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} | {{#expr: floor({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }}|{{#expr: {{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}} }}|{{#expr: floor({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} - {{#expr: ceil({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} }}|}} <!--
 
-->{{#if: {{{resource 2|}}}| + {{Icon Small|{{{resource 2|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} | {{#expr: floor({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }}|{{#expr: {{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}} }}|{{#expr: floor({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} - {{#expr: ceil({{{resource 2 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} }}|}} <!--
Line 1,634: Line 1,615:
  
 
{{#if:{{{destroyyield|}}} |
 
{{#if:{{{destroyyield|}}} |
;<abbr title="Resources recovered when destroyed.">Destroy yield</abbr>
+
;{{Hover title| link=no | Resources recovered when destroyed. | Destroy yield }}
 
:{{{destroyyield|}}}<!--Uses destroyyield if it's set. leavesresourceswhendestroyed and bonusdestroyleavings are to be phased out.
 
:{{{destroyyield|}}}<!--Uses destroyyield if it's set. leavesresourceswhendestroyed and bonusdestroyleavings are to be phased out.
 
-->| {{#ifeq:{{{type|}}}|Building|<!--If leavesresourceswhendestroyed != false and resource 1 != None or if bonusdestroyleavings != None: write the title
 
-->| {{#ifeq:{{{type|}}}|Building|<!--If leavesresourceswhendestroyed != false and resource 1 != None or if bonusdestroyleavings != None: write the title
 
-->{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}} }}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} + {{#if:{{{bonusdestroyleavings|}}}|1|0}} > 0|
 
-->{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}} }}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} + {{#if:{{{bonusdestroyleavings|}}}|1|0}} > 0|
;<abbr title="Resources recovered when destroyed.">Destroy yield</abbr>
+
;{{Hover title|link=no|Resources recovered when destroyed.|Destroy yield}}
 
:{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}} }}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} = 1|<!--If leavesresourceswhendestroyed != false and resource 1 != None: list out resources*0.25
 
:{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}} }}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} = 1|<!--If leavesresourceswhendestroyed != false and resource 1 != None: list out resources*0.25
 
-->{{#if: {{{resource 1|}}}| {{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} | {{#expr: floor({{{resource 1 amount|}}}*0.25) }} | {{#expr: {{{resource 1 amount|}}}*0.25 }} | {{#expr: floor({{{resource 1 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} }}|}} <!--
 
-->{{#if: {{{resource 1|}}}| {{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} | {{#expr: floor({{{resource 1 amount|}}}*0.25) }} | {{#expr: {{{resource 1 amount|}}}*0.25 }} | {{#expr: floor({{{resource 1 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} }}|}} <!--
Line 1,653: Line 1,634:
 
-->}}
 
-->}}
  
 
+
<!-- 14. TECHNICAL -->
<!-- 14. ABILITY -->
 
{{#if: {{{psylink level|}}} {{{casting time|}}} {{{ability range|}}} {{{psyfocus cost|}}} {{{neural heat gain|}}} {{{effect radius|}}} {{{duration|}}} {{{duration multiplier|}}} {{{goodwill impact|}}} |
 
</dl>{{clear}}
 
<p class='subheading' style='height: 1em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>Ability</p>
 
<dl>
 
 
 
{{#if: {{{psylink level|}}} |
 
  {{#if: {{#var:setProperty}} | {{#set:Psylink Level = {{{psylink level|}}} }} }}
 
;Psylink Level
 
:{{{psylink level|}}}
 
}}
 
 
 
{{#if: {{{psyfocus cost|}}} |
 
  {{#if: {{#var:setProperty}} | {{#set:Psyfocus Cost = {{{psyfocus cost|}}} }} }}
 
;Psyfocus Cost
 
:{{%|{{{psyfocus cost|}}}}}
 
}}
 
 
 
{{#if: {{{neural heat gain|}}} |
 
  {{#if: {{#var:setProperty}} | {{#set:Neural Heat Gain = {{{neural heat gain|}}} }} }}
 
;Neural Heat Gain
 
:{{{neural heat gain|}}}
 
}}
 
 
 
{{#if: {{{casting time|}}} |
 
  {{#if: {{#var:setProperty}} | {{#set:Casting Time = {{{casting time|}}} }} }}
 
;Casting Time
 
:{{Ticks|{{{casting time|}}}}}
 
}}
 
 
 
{{#if: {{{ability range|}}} | <!--- Unsure whether to fold this inot normal range - is currently used by weapons, weapon likes and weapon like utilityies -->
 
  {{#if: {{#var:setProperty}} | {{#set:Ability Range = {{{ability range|}}} }} }}
 
;Range
 
:{{{ability range|}}} tiles
 
}}
 
 
 
{{#if: {{{effect radius|}}} |
 
  {{#if: {{#var:setProperty}} | {{#set:Effect Radius = {{{effect radius|}}} }} }}
 
;Effect Radius
 
:{{{effect radius|}}} tiles
 
}}
 
 
 
{{#if: {{{duration|}}} |
 
  {{#if: {{#var:setProperty}} | {{#set:Duration = {{{duration|}}} }} {{#set:Duration Multiplier = {{{duration multiplier|}}} }} }}
 
;Duration
 
:{{ticks|{{{duration|}}}}}{{#if: {{{duration multiplier|}}}|<br><small>(Modified by {{{duration multiplier|}}})</small>}}
 
}}
 
 
 
{{#if: {{{goodwill impact|}}} |
 
  {{#if: {{#var:setProperty}} | {{#set:Goodwill Impact = {{{goodwill impact|}}} }} }}
 
;Goodwill Impact
 
:{{{goodwill impact|}}}
 
}}
 
 
 
{{#if: {{{caster must be capable of violence|}}} |
 
  {{#if: {{#var:setProperty}} | {{#set:Caster Must Be Capable Of Violence = {{{caster must be capable of violence|}}} }} }}
 
;Caster Must Be Capable of Violence
 
:{{ucfirst:{{{caster must be capable of violence|}}}}}
 
}}
 
 
 
}}
 
 
 
<!-- 15. TECHNICAL -->
 
 
{{#if: {{#var:setProperty}} | {{#if: {{{page verified for version|}}} | {{Verified|{{{page verified for version|}}} }} | {{Verified}} }} }}
 
{{#if: {{#var:setProperty}} | {{#if: {{{page verified for version|}}} | {{Verified|{{{page verified for version|}}} }} | {{Verified}} }} }}
  

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)