Editing Template:Hit Point Market Value Inverse/relative/quality table

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 3: Line 3:
 
VARIABLES
 
VARIABLES
 
-->{{#vardefine:sellFactor    | {{#ifeq: {{{Type2}}} | Weapons | 0.2 |1}} }}<!--
 
-->{{#vardefine:sellFactor    | {{#ifeq: {{{Type2}}} | Weapons | 0.2 |1}} }}<!--
-->{{#vardefine:R1a          | {{#switch: {{{R1}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R1a}}} * 0.25 * 0.1 | #default = {{{R1a}}} * 0.25 {{#if: {{Q|{{{2}}}|Small Volume}} | * 10}} }} }}<!--
+
-->{{#vardefine:R1a          | {{#switch: {{{R1}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R1a}}} * 0.25 * 0.1 | #default = {{{R1a}}} * 0.25}} }}<!--
 
-->{{#vardefine:R2a          | {{#switch: {{{R2}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R2a}}} * 0.25 * 0.1 | #default = {{{R2a}}} * 0.25}} }}<!--
 
-->{{#vardefine:R2a          | {{#switch: {{{R2}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R2a}}} * 0.25 * 0.1 | #default = {{{R2a}}} * 0.25}} }}<!--
 
-->{{#vardefine:R3a          | {{#switch: {{{R3}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R3a}}} * 0.25 * 0.1 | #default = {{{R3a}}} * 0.25}} }}<!--
 
-->{{#vardefine:R3a          | {{#switch: {{{R3}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R3a}}} * 0.25 * 0.1 | #default = {{{R3a}}} * 0.25}} }}<!--
Line 23: Line 23:
 
! data-sort-value="{{{1}}}" | {{DLC Icons| {{{1}}} }}
 
! data-sort-value="{{{1}}}" | {{DLC Icons| {{{1}}} }}
 
! {{#if: {{{2|}}} | {{Icon Small| {{{2}}} }} [[{{{2}}}]] | –}}
 
! {{#if: {{{2|}}} | {{Icon Small| {{{2}}} }} [[{{{2}}}]] | –}}
| style="text-align:left;" | {{Icon Small|{{{2|{{{R1}}} }}} }} {{#expr: {{#var:R1a}} round 2 }}<!--
+
| style="text-align:left;" | {{Icon Small|{{{R1}}} }} {{#expr: {{#var:R1a}} round 2 }}<!--
 
-->{{#if: {{#var:R2a}} | &nbsp;+ {{Icon Small|{{{R2}}} }} {{#expr: {{#var:R2a}} round 2}} }}<!--
 
-->{{#if: {{#var:R2a}} | &nbsp;+ {{Icon Small|{{{R2}}} }} {{#expr: {{#var:R2a}} round 2}} }}<!--
 
-->{{#if: {{#var:R3a}} | &nbsp;+ {{Icon Small|{{{R3}}} }} {{#expr: {{#var:R3a}} round 2}} }}<!--
 
-->{{#if: {{#var:R3a}} | &nbsp;+ {{Icon Small|{{{R3}}} }} {{#expr: {{#var:R3a}} round 2}} }}<!--
Line 40: Line 40:
 
   {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} | Legendary  | {{#var:sellFactor}} | {{{2|}}} }}
 
   {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} | Legendary  | {{#var:sellFactor}} | {{{2|}}} }}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{Documentation|Template:Hit Point Market Value Inverse/relative/doc}}
 
[[Category:Customized table templates]]
 
  
==== Weapons ====
 
<div><li style="display: inline-table;">
 
 
{| {{STDT|sortable c_06 text-center}}
 
{| {{STDT|sortable c_06 text-center}}
 
! Name !! Material !! Material Return<br/>(on average) !! Material Value !! Awful Sale Value !! Poor Sale Value !! Normal Sale Value !! Good Sale Value !! Excellent Sale Value !! Masterwork Sale Value !! Legendary Sale Value
 
! Name !! Material !! Material Return<br/>(on average) !! Material Value !! Awful Sale Value !! Poor Sale Value !! Normal Sale Value !! Good Sale Value !! Excellent Sale Value !! Masterwork Sale Value !! Legendary Sale Value
{{#ask: [[Type2::Weapons]] [[Resource 1::Stuff]] [[Stuff Tags::Metallic]]
+
{{#ask: [[Type2::Weapons]] [[Resource 1::!Stuff]] [[Resource 1::!Wood]] [[Resource 1::!Cloth]]
| format = template
 
| template = Hit Point Market Value Inverse/relative/quality table/material
 
| link = none
 
| named args = true
 
| ?Name = 1
 
| ?Resource 1 = R1
 
| ?Resource 2 = R2
 
| ?Resource 3 = R3
 
| ?Resource 4 = R4
 
| ?Resource 5 = R5
 
| ?Resource 6 = R6
 
| ?Resource 1 Amount = R1a
 
| ?Resource 2 Amount = R2a
 
| ?Resource 3 Amount = R3a
 
| ?Resource 4 Amount = R4a
 
| ?Resource 5 Amount = R5a
 
| ?Resource 6 Amount = R6a
 
| ?Type2 = Type2
 
| ?Has Quality = HasQuality
 
| sort = From DLC, Name
 
}}{{#ask: [[Type2::Weapons]] [[Resource 1::!Stuff]] [[Resource 1::!Wood]] [[Resource 1::!Cloth]]
 
 
  | format = template
 
  | format = template
 
  | template = Hit Point Market Value Inverse/relative/quality table
 
  | template = Hit Point Market Value Inverse/relative/quality table
Line 90: Line 65:
 
  | sort = From DLC, Name
 
  | sort = From DLC, Name
 
}}
 
}}
|}
+
{{#ask: [[Type::Gear]] [[Resource 1::!Stuff]] [[Name::!Low-shield pack]]
</li></div>
 
 
 
==== Apparel ====
 
<div><li style="display: inline-table;">
 
{| {{STDT|sortable c_06 text-center}}
 
! Name !! Material !! Material Return<br/>(on average) !! Material Value !! Awful Sale Value !! Poor Sale Value !! Normal Sale Value !! Good Sale Value !! Excellent Sale Value !! Masterwork Sale Value !! Legendary Sale Value
 
{{#ask: [[Type::Gear]] [[Resource 1::Stuff]] [[Stuff Tags::Metallic]]
 
| format = template
 
| template = Hit Point Market Value Inverse/relative/quality table/material
 
| link = none
 
| named args = true
 
| ?Name = 1
 
| ?Resource 1 = R1
 
| ?Resource 2 = R2
 
| ?Resource 3 = R3
 
| ?Resource 4 = R4
 
| ?Resource 5 = R5
 
| ?Resource 6 = R6
 
| ?Resource 1 Amount = R1a
 
| ?Resource 2 Amount = R2a
 
| ?Resource 3 Amount = R3a
 
| ?Resource 4 Amount = R4a
 
| ?Resource 5 Amount = R5a
 
| ?Resource 6 Amount = R6a
 
| ?Type2 = Type2
 
| ?Has Quality = HasQuality
 
| sort = From DLC, Name
 
}}{{#ask: [[Type::Gear]] [[Resource 1::!Stuff]] [[Name::!Low-shield pack]]
 
 
  | format = template
 
  | format = template
 
  | template = Hit Point Market Value Inverse/relative/quality table
 
  | template = Hit Point Market Value Inverse/relative/quality table
Line 141: Line 88:
 
}}
 
}}
 
|}
 
|}
</li></div>
+
 
 +
{{Documentation|Template:Hit Point Market Value Inverse/relative/doc}}
 +
[[Category:Customized table templates]]
 
</noinclude>
 
</noinclude>

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)