Template:Character: Difference between revisions

store throwability in cargo
m (Undo revision 3783 by Teamtoto (talk))
(store throwability in cargo)
 
(125 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Characters|
<includeonly><!--
Title=Wikitext|
 
Factions=List (,) of Page|
  Article Variable definitions for convenience
Level=Integer|
 
HP=Integer|
-->{{#vardefine:name|{{{title|{{PAGENAME}}}}}}}<!--
AV=Integer|
-->{{#vardefine:plainname|{{#titleparts:{{PAGENAME}}}}}}<!--
DV=Integer|
-->{{#vardefine:dynamicstats|{{#pos: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} | d }}}}<!--
MA=Integer|
-->{{#vardefine:needsdetailedstats|{{#ifexpr: {{formatnum:{{#if:{{#var:dynamicstats}}|1|0}}}} > 0 or {{formatnum:{{{xpvalue|0}}}|R}} > 0|yes|no}}}}<!--
Strength=String|Agility=String|Toughness=String|
-->{{#vardefine:id|{{{wikiidoverride|{{{id|}}}}}} }}</includeonly><!--
Intelligence=String|Willpower=String|Ego=String|
 
AcidResist=Integer|
  Cargo Declare
ElectricResist=Integer|
 
HeatResist=Integer|
--><noinclude>[[Category:Cargo Store Templates]]
ColdResist=Integer|
{{#cargo_declare:_table=Characters
Gender=String|Pronouns=String|
|Level=Integer
Description=Wikitext|
|HP=Integer
Corpse=String|
|AV=Integer
CorpseChance=Integer|
|DV=Integer
MoveSpeed=Integer|
|MA=Integer|MARange=String
Demeanor=String (allowed values=docile,aggressive,neutral)|
|Strength=String|Agility=String|Toughness=String
Skills=List (</br>) of Page|
|Intelligence=String|Willpower=String|Ego=String
Quickness=Integer|
|StrengthMult=Float|AgilityMult=Float|ToughnessMult=Float
Role=String|
|IntelligenceMult=Float|WillpowerMult=Float|EgoMult=Float
Extra=Searchtext}}</noinclude>
|XPValue=Integer
<includeonly>
|XPTier=Integer
{{#cargo_store:_table=Characters|
|Gender=String
Title={{{title|{{PAGENAME}}}}}|
|Pronouns=String
Factions={{{faction|}}}|
|Description=Wikitext
Level={{{level|}}}|
|Corpse=String
HP={{{hp|}}}|AV={{{av|}}}|
|CorpseChance=Integer
DV={{{dv|}}}|MA={{{ma|}}}|
|MoveSpeed=Integer
Strength={{{strength|}}}|Agility={{{agility|}}}|
|Demeanor=String (allowed values=docile,aggressive,neutral)
Toughness={{{toughness|}}}|Intelligence={{{intelligence|}}}|
|Skills=List (</br>) of Page
Willpower={{{willpower|}}}|Ego={{{ego|}}}|
|Quickness=Integer
AcidResist={{{acid|}}}|ElectricResist={{{electric|}}}|HeatResist={{{heat|}}}|ColdResist={{{cold|}}}|
|HarvestedInto=Page
Gender={{{gender|}}}|Pronouns={{{pronouns|}}}|
|Role=String
Description={{{desc|}}}|
|JoinKey=String
Corpse={{{corpse|}}}|CorpseChance={{{corpsechance|0}}}|
|ObjectID=String}}
MoveSpeed={{{movespeed|100}}}|
 
Demeanor={{{demeanor|neutral}}}|
{{#cargo_attach:
Skills={{{skills|}}}|
_table = GeneralData
Mutations={{{mutations|}}}|
}}
Quickness={{{quickness|100}}}|
 
Role={{{role|}}}|
</noinclude><!--
Extra={{{extra|}}}}}
 
[[Category:Creatures]]
  Cargo Store
{{#invoke:infobox|infobox
 
| rows =  
--><includeonly>{{#cargo_store:_table=Characters
{{#if: {{{faction|}}} | {{infobox row|label=Faction|field={{consecutive links|{{{faction}}}}} }} }}
|Level={{{lv|}}}
{{#if: {{{level|}}}   | {{infobox row|Level|{{{level}}} }} }}
|HP={{{hp|}}}
{{#if: {{{hp|}}}     | {{infobox row|HP|{{Color | r |♥}}{{{hp}}} }} }}
|AV={{{av|}}}
{{#if: {{{av|}}}     | {{infobox row|AV|{{Color | b |♦}}{{{av}}} }} }}
|DV={{{dv|}}}
{{#if: {{{dv|}}}     | {{infobox row|DV|{{Color | K |o}}{{{dv}}} }} }}
|MA={{{ma|}}}
{{#if: {{{ma|}}}     | {{infobox row|MA|{{{ma}}} }} }}
|MARange={{{marange|}}}
{{infobox row|[[Movement Speed]]|{{{movespeed|100}}}}}
|Strength={{{strength|}}}
{{infobox row|[[Quickness]]|{{{quickness|100}}}}}
|StrengthMult={{{strengthmult|}}}
<!--Makes the attributes box show up if *any* of the attributes are filled out-->
|Agility={{{agility|}}}
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} |
|AgilityMult={{{agilitymult|}}}
{{infobox row|Attributes|
|Toughness={{{toughness|}}}
{{#if: {{{strength|}}}     | <p style="color:#FFFFFF">  {{dice tooltip|{{{strength}}}}} Strength}}
|ToughnessMult={{{toughnessmult|}}}
{{#if: {{{agility|}}}      | <p style="color:#CFC041">  {{dice tooltip|{{{agility}}}}} Agility}}
|Intelligence={{{intelligence|}}}
{{#if: {{{toughness|}}}   | <p style="color:#D74200">    {{dice tooltip|{{{toughness}}}}} Toughness}}
|IntelligenceMult={{{intelligencemult|}}}
{{#if: {{{intelligence|}}} | <p style="color:rgb(51,102,255)">    {{dice tooltip|{{{intelligence}}}}} Intelligence}}
|Willpower={{{willpower|}}}
{{#if: {{{willpower|}}}   | <p style="color:#00C420">    {{dice tooltip|{{{willpower}}}}} Willpower}}
|WillpowerMult={{{willpowermult|}}}
{{#if: {{{ego|}}}         | <p style="color:#DA5BD6"> {{dice tooltip|{{{ego}}}}} Ego}} }} }}
|Ego={{{ego|}}}
<!--Makes the resistances box show up if *any* of the resistances are filled out-->
|EgoMult={{{egomult|}}}
{{#if: {{{acid|}}}{{{electric|}}}{{{cold|}}}{{{heat|}}} |
|XPValue={{{xpvalue|}}}|XPTier={{{xptier|}}}
{{infobox row|Resistance|
|Gender={{{gender|}}}|Pronouns={{{pronouns|}}}
{{#if: {{{acid|}}}     | <p style="color:#00C420">  {{{acid}}} Acid</p>}}
|Description={{{desc|}}}
{{#if: {{{electric|}}} | <p style="color:#CFC041"> {{{electric}}} Electric</p>}}
|Corpse={{{corpse|}}}|CorpseChance={{{corpsechance|0}}}
{{#if: {{{cold|}}}     | <p style="color:#0096FF">  {{{cold}}} Cold</p>}}
|MoveSpeed={{{movespeed|100}}}
{{#if: {{{heat|}}}     | <p style="color:#D74200">    {{{heat}}} Heat</p>}} }} }}
|Demeanor={{{demeanor|neutral}}}
{{#if: {{{demeanor|}}} | {{infobox row|Demeanor|{{{demeanor|neutral}}} }} }}
|Skills={{{skills|}}}
{{#if: {{{corpse|}}}   | {{infobox row|Corpse Dropped|[[{{{corpse}}}]]({{{corpsechance|0}}}%) }} }}
|Mutations={{{mutations|}}}
{{#if: {{{inventory|}}}| {{infobox row|Items|{{{inventory}}} }} }}
|Quickness={{{quickness|100}}}
{{#if: {{{skills|}}}   | {{infobox row|Skills|{{consecutive links|{{{skills}}}|</br>|</br>}} }} }}
|HarvestedInto={{{harvestedinto|}}}
{{#if: {{{mutations|}}}| {{infobox row|Mutations|{{{mutations}}}}} }}   
|Role={{{role|}}}
{{#if: {{{gender|}}}   | {{infobox row|Gender and</br>pronouns|[[Gender and Pronouns#{{{gender}}}{{!}}{{{gender}}}]] {{#if: {{{pronouns|}}}|([[Gender and Pronouns#{{{pronouns}}}{{!}}{{{pronouns}}}]])}}}}}}
|JoinKey={{FULLPAGENAME}}
{{#if: {{{role|}}}     | {{infobox row|Role|{{{role}}} }} }}
|ObjectID={{{wikiidoverride|{{{id|}}}}}} }}<!--
{{#if: {{{extra|}}}   | {{infobox row|Other Characteristics|{{{extra}}} }} }}
 
  General Data Cargo Store
 
-->{{#cargo_store:_table=GeneralData
|ObjectID={{{wikiidoverride|{{{id|}}}}}}
|DisplayName={{{title|{{PAGENAME}}}}}
|Image={{#ifeq: {{{image|}}} | none ||{{{image|}}}}}
|PlainName={{StripFormatting|1={{{title|{{#titleparts:{{PAGENAME}}}} }}} }}
|DisplayChar={{qud char|{{{colorstr|}}}|{{{renderstr|}}}}}
|Weight={{{weight|}}}
|Tier={{{tier|}}}
|Categories={{{categories|}}}
|ParentObject={{{inheritingfrom|}}}
|Aliases={{#var:aliases|}}
|IDAliases={{#var:idaliases|}}
|JoinKey={{FULLPAGENAME}}
|Description={{grammar|text={{{desc}}}|gender={{{gender|nonspecific}}}|pronouns={{{pronouns|}}} }} }}<!--
 
  Artifact Data Cargo Storage:
 
-->{{#if: {{{complexity|}}}{{{bits|}}}{{{tinkertier|}}}{{{canbuild|}}}{{{candisassemble|}}}{{{chargeused|}}}{{{chargeperdram|}}}{{{maxcharge|}}}{{{mods|}}}{{{capacitorcharge|}}}{{{capacitormax|}}}{{{capacitorrate|}}}{{{chargeconsumebroadcast|}}}{{{chargeconsumeelectrical|}}}{{{chargeconsumehydraulic|}}}{{{chargeconsumemechanical|}}}{{{chargeproducebroadcast|}}}{{{chargeproduceelectric|}}}{{{chargeproducehydraulic|}}}{{{chargeproducemechanical|}}}{{{chargeproducesolar|}}}{{{unidentifiedimage|}}}{{{unidentifiedname|}}}{{{unidentifiedaltname|}}}|{{Artifact data store|complexity={{{complexity|}}}|bits={{{bits|}}}|tinkertier={{{tinkertier|}}}|canbuild={{{canbuild|}}}|candisassemble={{{candisassemble|}}}|chargeused={{{chargeused|}}}|chargeperdram={{{chargeperdram|}}}|maxcharge={{{maxcharge|}}}|mods={{{mods|}}}|modcount={{{modcount|}}}|capacitorcharge={{{capacitorcharge|}}}|capacitormax={{{capacitormax|}}}|capacitorrate={{{capacitorrate|}}}|chargeconsumebroadcast={{{chargeconsumebroadcast|}}}|chargeconsumeelectrical={{{chargeconsumeelectrical|}}}|chargeconsumehydraulic={{{chargeconsumehydraulic|}}}|chargeconsumemechanical={{{chargeconsumemechanical|}}}|chargeproducebroadcast={{{chargeproducebroadcast|}}}|chargeproduceelectric={{{chargeproduceelectric|}}}|chargeproducehydraulic={{{chargeproducehydraulic|}}}|chargeproducemechanical={{{chargeproducemechanical|}}}|chargeproducesolar={{{chargeproducesolar|}}}|unidentifiedimage={{{unidentifiedimage|}}}|unidentifiedname={{{unidentifiedname|}}}|unidentifiedaltname={{{unidentifiedaltname|}}}|id={{{id|}}}}}}}<!--
 
  Physical Properties Cargo Storage:
 
-->{{#if: {{{acid|}}}{{{electric|}}}{{{heat|}}}{{{cold|}}}{{{lightradius|}}}{{{seeping|}}}{{{inhaled|}}}{{{maxvol|}}}{{{liquidgentype|}}}{{{liquidgenrate|}}}|{{Physical_properties_data_store|acid={{{acid|}}}|electric={{{electric|}}}|heat={{{heat|}}}|cold={{{cold|}}}|lightradius={{{lightradius|}}}|throwable=|seeping={{{seeping|}}}|inhaled={{{inhaled|}}}|volume={{{maxvol|}}}|liquidgentype={{{liquidgentype|}}}|liquidgenrate={{{liquidgenrate|}}}}}}}<!--
 
  Modability Data Cargo Storage:
 
-->{{#if: {{{supportedmods|}}}|{{Modability_data_store|id={{{wikiidoverride|{{{id|}}}}}}|supportedmods={{{supportedmods}}}}}}}<!--
 
  Furniture Data Cargo Storage:
 
-->{{#if: {{{chairlevel|}}}|{{Furniture_data_store|chairlevel={{{chairlevel|}}}}}}}<!--
 
  Infobox Start
 
-->{{#invoke:infobox|infobox
| class = qud-character-infobox
| imagearea =
{{#if: {{{overrideimages|}}} | {{{overrideimages}}} |
  {{#switch: {{{image|none}}}
  | none = {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr}}}}}</div> | }}
  | #default = {{#ifexist: File:{{{image|}}} |{{#if:{{{gif|}}}|{{infobox image and gif|{{{image}}}|{{{gif}}}|{{PAGENAME}}}}}}| {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr}}}}}</div> | }} }}
  }}
}}
| rows =
<!----------------------------------------
 
      CORE STATS  (HP/AV/DV/Level)
 
----------------------------------------->
{{#if: {{#pos: {{{hp|~}}}{{{av|~}}}{{{dv|~}}} | ~ }}
| <!-- Don't create stat table if HP, AV, or DV are missing -->
|{{infobox row|class=qud-core-stats navigation-not-searchable|field=
{{Character/CoreStats | hp={{{hp}}}| av={{{av}}}| dv={{{dv}}}}}
}} <!-- end infobox row -->
}} <!-- end #if -->
{{#if: {{{lv|}}} | {{infobox row|class=qud-character-level navigation-not-searchable|field={{Character/Level | {{{lv}}} }} }} }}
<!----------------------------------------
 
      ATTRIBUTES
 
----------------------------------------->
{{infobox row|class=qud-attributes navigation-not-searchable|field=
<!----------------------------------------
          ATTRIBUTES (Desktop / Fullscreen)
----------------------------------------->
<div class="nomobile">
{{#ifeq: {{#var:needsdetailedstats}}|yes
| <!-- Only create the "toggle detailed stats" button if XP > 0 or there are variable stats. -->
<div class="qud-attributes-header-row">
<div class="qud-attributes-header-button mw-customtoggle-qud-basic-attributes mw-customtoggle-qud-detailed-attributes" title="Show full stat possibilities">toggle detailed stats</div>
</div>
<div class="mw-collapsible" id="mw-customcollapsible-qud-basic-attributes">
}} <!-- end #if -->
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}}
| <!-- Only create attributes block if at least one stat is specified -->
<div class="qud-attributes-wrapper">
<div class="qud-attributes-row">
<!-- The Character/Attributes template doesn't handle extra spaces very well, so there are none below -->
{{Character/Attribute|Strength|ST|{{{strength|}}}|Attributes|{{{strengthmult|1}}}|{{{strengthextrinsic|0}}}}}
{{Character/Attribute|Agility|AG|{{{agility|}}}|Attributes|{{{agilitymult|1}}}|{{{agilityextrinsic|0}}}}}
{{Character/Attribute|Quickness|QN|{{{quickness|100}}}|Quickness}}
</div>
<div class="qud-attributes-row">
{{Character/Attribute|Toughness|TO|{{{toughness|}}}|Attributes|{{{toughnessmult|1}}}|{{{toughnessextrinsic|0}}}}}
{{Character/Attribute|Willpower|WI|{{{willpower|}}}|Attributes|{{{willpowermult|1}}}|{{{willpowerextrinsic|0}}}}}
{{Character/Attribute|Movespeed|MS|{{{movespeed|100}}}|Movement Speed}}
</div>
<div class="qud-attributes-row">
{{Character/Attribute|Intelligence|IN|{{{intelligence|}}}|Attributes|{{{intelligencemult|1}}}|{{{intelligenceextrinsic|0}}}}}
{{Character/Attribute|Ego|EG|{{{ego|}}}|Attributes|{{{egomult|1}}}|{{{egoextrinsic|0}}}}}
{{Character/Attribute|Mental Armor|MA|{{{marange|{{{ma|}}}}}}|MA}}
</div>
</div>
{{#ifeq: {{#var:needsdetailedstats}}|yes|</div>}}
}} <!-- end #if -->
<!----------------------------------------
          DETAILED ATTRIBUTES (Desktop / Fullscreen)
----------------------------------------->
{{#ifeq: {{#var:needsdetailedstats}}|yes
| <!-- Only create the detailed stats block if there are variable stats. -->
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-qud-detailed-attributes" style="width:260px;">
<div class="mw-collapsible-content" style="display:none;">
<div class="qud-stat-details-wrapper">
{{ Character/DetailedAttributeHeader }}
{{#if: {{{strength|}}}    | {{ Character/DetailedAttribute | Strength    |{{{strength}}}|Attributes|{{{strengthmult|1}}}|{{{strengthextrinsic|0}}}}} | }}
{{#if: {{{agility|}}}      | {{ Character/DetailedAttribute | Agility    |{{{agility}}}|Attributes|{{{agilitymult|1}}}|{{{agilityextrinsic|0}}}}} | }}
{{#if: {{{toughness|}}}    | {{ Character/DetailedAttribute | Toughness  |{{{toughness}}}|Attributes|{{{toughnessmult|1}}}|{{{toughnessextrinsic|0}}}}} | }}
{{#if: {{{intelligence|}}} | {{ Character/DetailedAttribute | Intelligence|{{{intelligence}}}|Attributes|{{{intelligencemult|1}}}|{{{intelligenceextrinsic|0}}}}} | }}
{{#if: {{{willpower|}}}    | {{ Character/DetailedAttribute | Willpower  |{{{willpower}}}|Attributes|{{{willpowermult|1}}}|{{{willpowerextrinsic|0}}}}} | }}
{{#if: {{{ego|}}}          | {{ Character/DetailedAttribute | Ego        |{{{ego}}}|Attributes|{{{egomult|1}}}|{{{egoextrinsic|0}}}}} | }}
</div>
{{#if:{{{xpvalue|}}}|{{ Character/DetailedXP | xpvalue={{{xpvalue}}} | xptier={{{xptier}}} }}
}}
</div>
</div>
}} <!-- end #if -->
</div> <!-- end nomobile -->
<!----------------------------------------
          ATTRIBUTES (Mobile)
----------------------------------------->
<div class="mobileonly">
{{#ifeq: {{#var:needsdetailedstats}}|yes
| <!-- Only create the "toggle detailed stats" button if there are variable stats. -->
<div class="qud-attributes-header-row">
<div class="qud-attributes-header-button collapsetoggle-custom collapsible-qud-basic-attributes-toggle collapsible-qud-detailed-attributes-toggle" title="Show full stat possibilities">toggle detailed stats</div>
</div>
<div class="collapsible" id="collapsible-qud-basic-attributes" data-expandtext="toggle detailed stats" data-collapsetext="toggle detailed stats">
}} <!-- end #if -->
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}}
| <!-- Only create attributes block if at least one stat is specified -->
<div class="qud-attributes-wrapper collapsible-content">
<div class="qud-attributes-row">
<!-- The Character/Attributes template doesn't handle extra spaces very well, so there are none below -->
{{Character/Attribute|Strength|ST|{{{strength|}}}|Attributes|{{{strengthmult|1}}}|{{{strengthextrinsic|0}}}}}
{{Character/Attribute|Agility|AG|{{{agility|}}}|Attributes|{{{agilitymult|1}}}|{{{agilityextrinsic|0}}}}}
{{Character/Attribute|Quickness|QN|{{{quickness|100}}}|Quickness}}
</div>
<div class="qud-attributes-row">
{{Character/Attribute|Toughness|TO|{{{toughness|}}}|Attributes|{{{toughnessmult|1}}}|{{{toughnessextrinsic|0}}}}}
{{Character/Attribute|Willpower|WI|{{{willpower|}}}|Attributes|{{{willpowermult|1}}}|{{{willpowerextrinsic|0}}}}}
{{Character/Attribute|Movespeed|MS|{{{movespeed|100}}}|Movement Speed}}
</div>
<div class="qud-attributes-row">
{{Character/Attribute|Intelligence|IN|{{{intelligence|}}}|Attributes|{{{intelligencemult|1}}}|{{{intelligenceextrinsic|0}}}}}
{{Character/Attribute|Ego|EG|{{{ego|}}}|Attributes|{{{egomult|1}}}|{{{egoextrinsic|0}}}}}
{{Character/Attribute|Mental Armor|MA|{{{marange|{{{ma|}}}}}}|Attributes}}
</div>
</div>
{{#ifeq: {{#var:needsdetailedstats}}|yes|</div>}}
}} <!-- end #if -->
<!----------------------------------------
          DETAILED ATTRIBUTES (Mobile)
----------------------------------------->
{{#ifeq: {{#var:needsdetailedstats}}|yes
| <!-- Only create the detailed stats block if there are variable stats. To test this, we just check if there's a "d" in the stat string indicating a dice roll -->
<div class="collapsible collapsed" id="collapsible-qud-detailed-attributes" data-expandtext="toggle detailed stats" data-collapsetext="toggle detailed stats">
<div class="collapsible-content">
<div class="qud-stat-details-wrapper">
{{ Character/DetailedAttributeHeader }}
{{#if: {{{strength|}}}    | {{ Character/DetailedAttribute | Strength    |{{{strength}}}|Attributes|{{{strengthmult|1}}}|{{{strengthextrinsic|0}}}}} | }}
{{#if: {{{agility|}}}      | {{ Character/DetailedAttribute | Agility    |{{{agility}}}|Attributes|{{{agilitymult|1}}}|{{{agilityextrinsic|0}}}}} | }}
{{#if: {{{toughness|}}}    | {{ Character/DetailedAttribute | Toughness  |{{{toughness}}}|Attributes|{{{toughnessmult|1}}}|{{{toughnessextrinsic|0}}}}} | }}
{{#if: {{{intelligence|}}} | {{ Character/DetailedAttribute | Intelligence|{{{intelligence}}}|Attributes|{{{intelligencemult|1}}}|{{{intelligenceextrinsic|0}}}}} | }}
{{#if: {{{willpower|}}}    | {{ Character/DetailedAttribute | Willpower  |{{{willpower}}}|Attributes|{{{willpowermult|1}}}|{{{willpowerextrinsic|0}}}}} | }}
{{#if: {{{ego|}}}          | {{ Character/DetailedAttribute | Ego        |{{{ego}}}|Attributes|{{{egomult|1}}}|{{{egoextrinsic|0}}}}} | }}
</div>
{{#if:{{{xpvalue|}}}|{{ Character/DetailedXP | xpvalue={{{xpvalue}}} | xptier={{{xptier}}} }}
}}
</div>
</div>
}} <!-- end #if -->
</div> <!-- end mobileonly -->
}} <!-- end infobox row -->
<!----------------------------------------
 
      RESISTANCES
 
----------------------------------------->
{{#if: {{{acid|}}}{{{electric|}}}{{{cold|}}}{{{heat|}}}
| <!-- Only create resistances block if at least one resistance is specified -->
{{infobox row|class=qud-resistances navigation-not-searchable|field=
<div class="qud-resistances-wrapper">
{{ Character/Resistance |Acid|{{{acid|0}}}}}
{{ Character/Resistance |Elec|{{{electric|0}}}}}
{{ Character/Resistance |Cold|{{{cold|0}}}}}
{{ Character/Resistance |Heat|{{{heat|0}}}}}
</div>
}} <!-- end infobox row -->
}} <!-- end #if -->
<!----------------------------------------
 
      GENERIC DATA
 
      This is a good place to add new rows
 
----------------------------------------->
{{#ifeq: {{{featureweightinfo|no}}}|no||{{#if:{{{weight|}}}|{{infobox row|Weight|{{{weight}}}}}}}}}
{{#if: {{{renderstr|}}}
| {{infobox row|Character|{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr|}}} }} }}
}}
{{#if: {{{id|}}}
| {{#ifeq: {{{id}}}<!-- special handling for TinkerTurret, since there are a lot of them, and it can't be wished for directly -->
  |TinkerTurret
  |{{infobox row|ID{{Tooltip|This is the base ID of all dynamic turrets.<br>This turret cannot be [[Wishes|wished]] for directly.||nosearch}}|{{{id}}} }}
  |{{infobox row|ID{{Tooltip|Use this ID to [[Wishes|Wish]] for {{StripFormatting|{{{title}}}}}||nosearch}}|{{{id}}} }}
  }}
}}
{{#if: {{{faction|}}}
| {{infobox row|Faction|{{{faction}}} }}
}}
{{#if: {{{demeanor|}}}
| {{infobox row|Demeanor|{{{demeanor}}} }}
}}
{{#if: {{{gender|}}}
| {{infobox row|Gender|[[Gender and Pronouns#{{ucfirst:{{{gender}}}}}{{!}}{{{gender}}}]] {{#if: {{{pronouns|}}}|([[Gender and Pronouns#{{ucfirst:{{{pronouns}}}}}{{!}}{{{pronouns}}}]])}} }}
| {{#if: {{{pronouns|}}} | {{infobox row|Pronouns|[[Gender and Pronouns#{{ucfirst:{{{pronouns}}}}}{{!}}{{{pronouns}}}]] }} }}
}}
{{#if: {{{lightradius|}}}| {{infobox row|Light Radius{{Tooltip|This object acts as<br>a [[light source]]||nosearch}}|{{{lightradius}}} }} }}
{{#if: {{{chargeused|}}}
| {{infobox row|Charge per Use|{{#if: {{{energycellrequired|}}} | {{cell performance for charge|{{{chargeused}}}}} | {{{chargeused}}} }} }}
{{#if: {{{chargefunction|}}}  | {{infobox row|Charge Used For|{{{chargefunction}}} }} }}
}}
<!--liquid containers-->
{{#if: {{{maxvol|}}}  | {{infobox row|Max Volume|{{{maxvol}}} drams }} }}
{{#if: {{{liquidgenrate|}}}| {{infobox row|Liquid Generation|1 dram of [[{{{liquidgentype}}}]] every {{#if:{{#pos:{{{liquidgenrate}}}|-}}|{{dice tooltip|{{{liquidgenrate}}}}}|{{{liquidgenrate}}}}} turns}} }}
<!--tinkering-->
{{#if: {{{complexity|}}}| {{infobox row|Complexity|{{{complexity}}} }} }}
{{#if: {{{xpvalue|}}} |<!--only output this here if there is NOT an xpvalue-->|
  {{#if: {{{tier|}}}    | {{#vardefine:TIER|{{{tier}}}}} |
    {{#if: {{{bits|}}}  | {{#vardefine:TIER|{{#sub:{{{bits}}}| -1 }} }} }} }}<!--
    Determine tier from bits if not specified. Then, check for final value
  -->{{#varexists:TIER  | {{infobox row|Tier|{{#if:{{{modcount|}}} | {{#expr:{{#var:TIER}} + {{{modcount}}} }} {{Color|K|({{#var_final:TIER}}+{{{modcount}}}) }}
      | {{#var_final:TIER}} }} }}
    }}
}}
{{#if: {{{bits|}}}    | {{#if:{{{canbuild|}}}{{{candisassemble|}}}| {{infobox row|[[Bits]]|{{Bits|{{{bits}}}}} }} }} }}
{{#if: {{{candisassemble|}}}| {{infobox row|Can Disassemble|{{{candisassemble}}} }} }}
{{#if: {{{canbuild|}}}{{{candisassemble|}}}| {{infobox row|Can Build|{{{canbuild|no}}} }} }}
{{#ifeq: {{{canbuild|}}} | yes | {{infobox row|Tinker Skill|[[{{Tinker check| {{#sub:{{{bits|0}}}| -1 }} }}]] }} }}
{{#if: {{{chairlevel|}}}
| {{infobox row|Chair Level{{Tooltip|Chair level affects the power<br>of the [[sitting]] effect||nosearch}}|{{{chairlevel}}} }}
}}
{{#if: {{{supportedmods|}}}
| {{infobox row|Potential<br>Mods{{Tooltip|Mods this item can support<br>(subject to additional logic & rules)||nosearch}}|{{consecutive templates|{{{supportedmods}}}|,|, |||mod type to category link}} }}
}}
}}
{{#if: {{{desc|}}}     | {{Qud look |text={{grammar|text={{{desc}}}|gender={{{gender|nonspecific}}}|{{#if: {{{pronouns|}}}|pronouns={{{pronouns}}}}}}}|title={{{title|{{PAGENAME}} }}} }} }}
{{#if: {{{mods|}}}| {{infobox row|Modifications|{{consecutive links|{{{mods|}}}|</br>|</br>}} }} }}
</includeonly>
<!----------------------------------------
<noinclude>
 
[[Category:Templates]]
      INVENTORY
 
----------------------------------------->
{{#if: {{{equipment|}}}{{{inventory|}}}
| <!-- only show Inventory section if the character has some inventory or equipment -->
{{QudInfoboxCollapser |Inventory|qud-inventory|qud-inv-content-itemlist
|<!-- inventory content follows --> {{#if: {{{equipment|}}} | <div class="qud-inv-group qud-equipped"><div class="qud-equipped-title">Equipped</div>{{{equipment}}}</div>}}
{{#if: {{{inventory|}}} | <div class="qud-inv-group qud-carried">{{#if: {{{equipment|}}} | <div class="qud-equipped-title">Carried</div> }}{{{inventory}}}</div>}}
}} <!-- end QudInfoboxCollapser -->
}} <!-- end #if -->
<!----------------------------------------
 
      SKILLS
 
----------------------------------------->
{{#if: {{{skills|}}}
| <!-- only show Skills section if the character has some skills -->
{{QudInfoboxCollapser |Skills|qud-skills|qud-skills-wrapper
|<!-- skills content follows -->
{{consecutive links|{{{skills}}}|</br>|</div><div class{{=}}"qud-skill-entry">|<div class{{=}}"qud-skill-entry">|</div>}}
}} <!-- end QudInfoboxCollapser -->
}} <!-- end #if -->
<!----------------------------------------
 
      MUTATIONS
 
----------------------------------------->
{{#if: {{{mutations|}}}
| <!-- only show Mutations section if the character has some mutations -->
{{QudInfoboxCollapser |Mutations|qud-mutations|qud-mutations-wrapper
|<!-- mutations content follows -->
{{{mutations}}}
}} <!-- end QudInfoboxCollapser -->
}} <!-- end #if -->
<!----------------------------------------
 
      MORE GENERIC DATA
 
      This is the other good place to add new rows
 
----------------------------------------->
{{#if: {{{corpse|}}}      | {{infobox row|Corpse Dropped|{{favilink id|{{{corpse}}}}} ({{{corpsechance|0}}}%) }} }}
{{#if: {{{xpvalue|}}} |  
  {{infobox row|Experience{{Tooltip|The [[XP]] granted when killed. Click<br>"toggle detailed stats" above for<br>a level-based breakdown.||nosearch}}|{{{xpvalue}}} XP }}
  {{#if: {{{tier|}}} |
    {{infobox row|XP Tier|{{{tier}}} }}
  }}
}}
{{#if: {{{harvestedinto|}}}| {{infobox row|Harvested into|{{favilink id|{{{harvestedinto}}} }} }} }}
{{#if: {{{role|}}}        | {{infobox row|Role|{{{role}}} }} }}
{{#if: {{{dynamictable|}}} | {{infobox row|Spawns in|{{{dynamictable}}} }} }}
{{#if: {{{extra|}}}| {{infobox row|field=<hr><div style="padding:1em;><b>Extra info:</b>{{{extra|}}}</div> }} }}
}} <!-- END OF MAIN INFOBOX -->
{{#if: {{{desc|}}}        | {{Qud look|text={{grammar|text={{{desc}}}|gender={{{gender|nonspecific}}}|pronouns={{{pronouns|}}}}}|title={{{title|{{#titleparts:{{BASEPAGENAME}}}} }}} }} }} {{#if: {{{categories|}}}|[[Category:{{{categories}}}]] }}
</includeonly><noinclude><!--
 
-->{{doc}}<!--


{{doc}}
--></noinclude>
</noinclude>