Editing Template:Mechanoid Table Row

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 4: Line 4:
 
! style='text-align: left !important;'| [[{{{?Pagename}}}|{{{?Name}}}]]{{#ifeq: {{Q|{{{?Pagename}}}|From DLC}}|Ideology (DLC)|{{IdeologyIcon}}}} {{#ifeq: {{Q|{{{?Pagename}}}|From DLC}}|Royalty (DLC)|{{RoyaltyIcon}}}} <!-- For biotech pages so doesn't need biotech icon -->
 
! style='text-align: left !important;'| [[{{{?Pagename}}}|{{{?Name}}}]]{{#ifeq: {{Q|{{{?Pagename}}}|From DLC}}|Ideology (DLC)|{{IdeologyIcon}}}} {{#ifeq: {{Q|{{{?Pagename}}}|From DLC}}|Royalty (DLC)|{{RoyaltyIcon}}}} <!-- For biotech pages so doesn't need biotech icon -->
 
| {{#switch: {{{?Name}}}  
 
| {{#switch: {{{?Name}}}  
|Militor|Lifter|Constructoid|Fabricor|Agrihand|Cleansweeper|Paramedic|War urchin = data-sort-value="0"{{!}}Light
+
|Militor|Lifter|Constructoid|Fabricor|Agrihand|Cleansweeper|Paramedic|War urchin = Light
|Scyther|Pikeman|Scorcher|Lancer|Legionary|Tesseron = data-sort-value="1"{{!}}Medium
+
|Scyther|Pikeman|Scorcher|Lancer|Legionary|Tesseron = Medium
|Tunneler|Centipede gunner|Centipede blaster|Centipede burner = data-sort-value="2"{{!}}Heavy
+
|Tunneler|Centipede gunner|Centipede blaster|Centipede burner = Heavy
|Centurion | Diabolus| War queen = data-sort-value="3"{{!}}Superheavy
+
|Centurion | Diabolus| War queen = Superheavy
 
|#default = ?}}
 
|#default = ?}}
 
| {{{?Armor - Sharp|}}}% / {{{?Armor - Blunt|}}}% / {{{?Armor - Heat|}}}%  
 
| {{{?Armor - Sharp|}}}% / {{{?Armor - Blunt|}}}% / {{{?Armor - Heat|}}}%  
Line 13: Line 13:
 
| {{{?Health Scale}}}
 
| {{{?Health Scale}}}
 
| {{{?Move Speed Base}}} c/s
 
| {{{?Move Speed Base}}} c/s
| {{#vardefineecho:tempTrueDPSVariable|{{True Melee DPS Calculator|{{{?Pagename}}}}}}}<br>({{#expr:{{#var:tempTrueDPSVariable}}*0.62 round 2}})
+
| {{#expr:{{True Melee DPS Calculator|{{{?Pagename}}}}}*0.62}}
| {{#switch: {{{?Name}}} | Centurion | Diabolus| War queen = [[Charge blaster turret]]{{#if:{{{?weaponTags|}}}|<br>{{#ask: [[WeaponTags::{{{?weaponTags|}}}]] [[Type2::Weapons]] [[:+]]}}}}| #default = {{#if:{{{?weaponTags|}}}| {{#ask: [[WeaponTags::{{{?weaponTags|}}}]] [[Type2::Weapons]] [[:+]]}}| - }} }}
+
| {{#switch: {{{?Name}}} | Centurion | Diabolus| War queen = [[Charge blaster turret]]{{#if:{{{?weaponTags|}}}|, {{#ask: [[WeaponTags::{{{?weaponTags|}}}]] [[Type2::Weapons]] [[:+]]}}}}| #default = {{#if:{{{?weaponTags|}}}| {{#ask: [[WeaponTags::{{{?weaponTags|}}}]] [[Type2::Weapons]] [[:+]]}}| - }} }}
 
| {{{?Bandwidth| - }}}
 
| {{{?Bandwidth| - }}}
 
| {{#if:{{{?Required Research|}}}|{{#switch:{{{?Required Research}}}
 
| {{#if:{{{?Required Research|}}}|{{#switch:{{{?Required Research}}}
Line 23: Line 23:
 
   | #default = data-sort-value="0"{{!}}[[Research#{{{?Required Research}}}|{{{?Required Research}}}]]}}| - }}
 
   | #default = data-sort-value="0"{{!}}[[Research#{{{?Required Research}}}|{{{?Required Research}}}]]}}| - }}
 
| {{Required Resources|{{{?Pagename}}}|sep=&nbsp;+|simple=1}}
 
| {{Required Resources|{{{?Pagename}}}|sep=&nbsp;+|simple=1}}
| {{{?Gestation Cycles| - }}}
 
 
| {{#expr: {{{?Market Value Base}}} {{#if:{{{?weaponTags|}}}|+ {{#ask: [[WeaponTags::{{{?weaponTags|}}}]] [[Type2::Weapons]] [[:+]]|mainlabel=-|?Market Value Base #|headers=hide}}}} }}
 
| {{#expr: {{{?Market Value Base}}} {{#if:{{{?weaponTags|}}}|+ {{#ask: [[WeaponTags::{{{?weaponTags|}}}]] [[Type2::Weapons]] [[:+]]|mainlabel=-|?Market Value Base #|headers=hide}}}} }}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
{{Recode|reason = 1) Hardcoded charge blaster turret 2) Hard coded class 3) When [[Template: True Melee DPS Calculator]] is updated to allow for adding weapon verb sets to pawn verb sets, update this template}}
+
{{Recode|reason=Class and Charge blaster turret hardcoded}}
<!--
+
{{documentation}}
<div><li style="display: inline-table;">
 
Click to <div class="mw-collapsible">
 
<div class="mw-collapsible-content">
 
{| {{STDT|sortable c_06 text-center}}
 
|-
 
! style="vertical-align: top;" colspan="2" | Mechanoid
 
! style="vertical-align: top;"| Class
 
! style="vertical-align: top;"| Armor<br>(S/B/H)
 
! style="vertical-align: top;"| Body<br>Size
 
! style="vertical-align: top;"| Health<br>Scale
 
! style="vertical-align: top;"| Move<br>Speed
 
! style="vertical-align: top;"| Melee DPS<ref name="Actual">Note: This is the actual base average derived from the [[Weapons#Listed_DPS_on_pawns|melee verb system]] updated in [[Version/1.1.2610|1.1.2610]], it may sometimes disagree with the listed value in the in-game infobox. It may also change depending on the stats and the melee verbs available to the wielder</ref><br>([[Melee Hit Chance|Post Hit Chance]])
 
! style="vertical-align: top;"| Ranged weapon
 
! style="vertical-align: top;"| Bandwidth
 
! style="vertical-align: top;"| Research
 
! style="vertical-align: top;"| Cost
 
! style="vertical-align: top;"| Market Value
 
{{#ask: [[Type::Mechanoid]] [[Resource 1::+]]
 
| named args=yes
 
| ? # - = ?Pagename
 
| ?Name=?Name
 
| ?Armor - Sharp = ?Armor - Sharp
 
| ?Armor - Blunt = ?Armor - Blunt
 
| ?Armor - Heat = ?Armor - Heat
 
| ?Body Size = ?Body Size
 
| ?Bandwidth = ?Bandwidth
 
| ?Health Scale = ?Health Scale
 
| ?Move Speed Base = ?Move Speed Base
 
| ?Required Research = ?Required Research
 
| ?Market Value Base # = ?Market Value Base
 
| ?weaponTags = ?weaponTags
 
| format=template
 
| template=Mechanoid Table Row
 
| sort = From DLC, name
 
}}
 
|}
 
{{Reflist}}
 
</div>
 
</div>
 
</li></div>
 
-->
 
{{Documentation}}
 
 
</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)