Difference between revisions of "Template:Surgery Success Chance Factor Quality Table"

From RimWorld Wiki
Jump to navigation Jump to search
m (fixed extra linebreak)
(no point sorting it)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
 +
 
VARIABLES
 
VARIABLES
-->{{#vardefine:name | {{{1|{{PAGENAME}} }}} }}<!--
+
-->{{#vardefine:name               | {{{1| {{PAGENAME}} }}} }}<!--
 
-->{{#vardefine:baseSurgerySuccess | {{Q|{{#var:name}}|Surgery Success Chance Factor}} }}<!--
 
-->{{#vardefine:baseSurgerySuccess | {{Q|{{#var:name}}|Surgery Success Chance Factor}} }}<!--
  
TABLE --><div><li style="display: inline-table;">
+
TABLE
{| {{STDT| sortable c_10 text-center}}
+
--><div><li style="display: inline-table;">
 +
{| {{STDT|c_10 text-center}}
 
! [[Quality]]
 
! [[Quality]]
 
! Awful
 
! Awful

Revision as of 09:37, 16 December 2023

Documentation icon Template documentation[view] [edit] [history] [purge]

This template generates a table summarizing the Surgery Success Chance Factor for each quality tier. If the object in question is has the vitals monitor as a facility, it will add a row to that effect.

Parameters

The first parameter, if present, will specify which object to generate the template for. If absent, {{PAGENAME}} will be used.

Example usage

{{Surgery Success Chance Factor Quality Table}}

On the Bed page produces:

  • Quality Awful Poor Normal Good Excellent Masterwork Legendary
    Surgery Success Chance Factor 90% 95% 100% 105% 110% 115% 130%
  • This table assumes the bed is inside a clean, properly lit room. For the full effects of light, cleanliness and placing a bed outside see Surgery Success Chance Factor.
    {{Surgery Success Chance Factor Quality Table | Hospital bed}}

    Produces:

  • Quality Awful Poor Normal Good Excellent Masterwork Legendary
    Surgery Success Chance Factor 99% 105% 110% 116% 121% 127% 143%
    + Vitals monitor 104% 109% 115% 121% 127% 132% 150%
  • This table assumes the hospital bed is inside a clean, properly lit room. For the full effects of light, cleanliness and placing a hospital bed outside see Surgery Success Chance Factor.
    {{Surgery Success Chance Factor Quality Table | Ancient bed}}

    Produces:

  • Quality Awful Poor Normal Good Excellent Masterwork Legendary
    Surgery Success Chance Factor 59% 62% 65% 68% 72% 75% 85%
  • This table assumes the ancient bed is inside a clean, properly lit room. For the full effects of light, cleanliness and placing a ancient bed outside see Surgery Success Chance Factor.