Template:Character: Difference between revisions

Jump to navigation Jump to search
store throwability in cargo
(Make XP value less prominent)
(store throwability in cargo)
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Cargo Store Templates]]
<includeonly><!--
 
  Article Variable definitions for convenience
 
-->{{#vardefine:name|{{{title|{{PAGENAME}}}}}}}<!--
-->{{#vardefine:plainname|{{#titleparts:{{PAGENAME}}}}}}<!--
-->{{#vardefine:dynamicstats|{{#pos: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} | d }}}}<!--
-->{{#vardefine:needsdetailedstats|{{#ifexpr: {{formatnum:{{#if:{{#var:dynamicstats}}|1|0}}}} > 0 or {{formatnum:{{{xpvalue|0}}}|R}} > 0|yes|no}}}}<!--
-->{{#vardefine:id|{{{wikiidoverride|{{{id|}}}}}} }}</includeonly><!--
 
  Cargo Declare
 
--><noinclude>[[Category:Cargo Store Templates]]
{{#cargo_declare:_table=Characters
{{#cargo_declare:_table=Characters
|Title=Wikitext
|Level=Integer
|Level=Integer
|HP=Integer
|HP=Integer
Line 11: Line 22:
|StrengthMult=Float|AgilityMult=Float|ToughnessMult=Float
|StrengthMult=Float|AgilityMult=Float|ToughnessMult=Float
|IntelligenceMult=Float|WillpowerMult=Float|EgoMult=Float
|IntelligenceMult=Float|WillpowerMult=Float|EgoMult=Float
|AcidResist=Integer
|ElectricResist=Integer
|HeatResist=Integer
|ColdResist=Integer
|XPValue=Integer
|XPValue=Integer
|XPTier=Integer
|XPTier=Integer
Line 28: Line 35:
|HarvestedInto=Page
|HarvestedInto=Page
|Role=String
|Role=String
|JoinKey=String}}
|JoinKey=String
|ObjectID=String}}


{{#cargo_attach:
{{#cargo_attach:
Line 34: Line 42:
}}
}}


</noinclude><includeonly>{{#cargo_store:_table=Characters
</noinclude><!--
|Title={{{title|{{PAGENAME}}}}}
 
  Cargo Store
 
--><includeonly>{{#cargo_store:_table=Characters
|Level={{{lv|}}}
|Level={{{lv|}}}
|HP={{{hp|}}}
|HP={{{hp|}}}
Line 54: Line 65:
|Ego={{{ego|}}}
|Ego={{{ego|}}}
|EgoMult={{{egomult|}}}
|EgoMult={{{egomult|}}}
|AcidResist={{{acid|}}}|ElectricResist={{{electric|}}}{{{electrical|}}}
|HeatResist={{{heat|}}}|ColdResist={{{cold|}}}
|XPValue={{{xpvalue|}}}|XPTier={{{xptier|}}}
|XPValue={{{xpvalue|}}}|XPTier={{{xptier|}}}
|Gender={{{gender|}}}|Pronouns={{{pronouns|}}}
|Gender={{{gender|}}}|Pronouns={{{pronouns|}}}
Line 67: Line 76:
|HarvestedInto={{{harvestedinto|}}}
|HarvestedInto={{{harvestedinto|}}}
|Role={{{role|}}}
|Role={{{role|}}}
|JoinKey={{FULLPAGENAME}}}}<!--
|JoinKey={{FULLPAGENAME}}
|ObjectID={{{wikiidoverride|{{{id|}}}}}} }}<!--


   General Data Cargo Store
   General Data Cargo Store


-->{{#cargo_store:_table=GeneralData
-->{{#cargo_store:_table=GeneralData
|ObjectID={{{id|}}}
|ObjectID={{{wikiidoverride|{{{id|}}}}}}
|DisplayName={{{title|{{PAGENAME}}}}}
|DisplayName={{{title|{{PAGENAME}}}}}
|Image={{#ifeq: {{{image|}}} | none ||{{{image|}}}}}
|Image={{#ifeq: {{{image|}}} | none ||{{{image|}}}}}
Line 86: Line 96:
|Description={{grammar|text={{{desc}}}|gender={{{gender|nonspecific}}}|pronouns={{{pronouns|}}} }} }}<!--
|Description={{grammar|text={{{desc}}}|gender={{{gender|nonspecific}}}|pronouns={{{pronouns|}}} }} }}<!--


  Article Variable definitions for convenience
  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:


-->{{#vardefine:name|{{{title|{{PAGENAME}}}}}}}<!--
-->{{#if: {{{chairlevel|}}}|{{Furniture_data_store|chairlevel={{{chairlevel|}}}}}}}<!--
-->{{#vardefine:plainname|{{#titleparts:{{PAGENAME}}}}}}<!--
-->{{#vardefine:dynamicstats|{{#pos: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} | d }}}}<!--
-->{{#vardefine:needsdetailedstats|{{#ifexpr: {{formatnum:{{#if:{{#var:dynamicstats}}|1|0}}}} > 0 or {{formatnum:{{{xpvalue|0}}}|R}} > 0|yes|no}}}}<!--


  Infobox Start


-->{{#invoke:infobox|infobox
-->{{#invoke:infobox|infobox
Line 111: Line 131:
{{#if: {{#pos: {{{hp|~}}}{{{av|~}}}{{{dv|~}}} | ~ }}
{{#if: {{#pos: {{{hp|~}}}{{{av|~}}}{{{dv|~}}} | ~ }}
| <!-- Don't create stat table if HP, AV, or DV are missing -->
| <!-- Don't create stat table if HP, AV, or DV are missing -->
|{{infobox row|class=qud-core-stats|field=
|{{infobox row|class=qud-core-stats navigation-not-searchable|field=
{{Character/CoreStats | hp={{{hp}}}| av={{{av}}}| dv={{{dv}}}}}
{{Character/CoreStats | hp={{{hp}}}| av={{{av}}}| dv={{{dv}}}}}
}} <!-- end infobox row -->
}} <!-- end infobox row -->
}} <!-- end #if -->
}} <!-- end #if -->
{{#if: {{{lv|}}} | {{infobox row|class=qud-character-level|field={{Character/Level | {{{lv}}} }} }} }}
{{#if: {{{lv|}}} | {{infobox row|class=qud-character-level navigation-not-searchable|field={{Character/Level | {{{lv}}} }} }} }}
<!----------------------------------------
<!----------------------------------------


Line 121: Line 141:


----------------------------------------->
----------------------------------------->
{{infobox row|class=qud-attributes|field=
{{infobox row|class=qud-attributes navigation-not-searchable|field=
<!----------------------------------------
<!----------------------------------------
           ATTRIBUTES (Desktop / Fullscreen)
           ATTRIBUTES (Desktop / Fullscreen)
Line 138: Line 158:
<div class="qud-attributes-row">
<div class="qud-attributes-row">
<!-- The Character/Attributes template doesn't handle extra spaces very well, so there are none below -->
<!-- The Character/Attributes template doesn't handle extra spaces very well, so there are none below -->
{{Character/Attribute|Strength|ST|{{{strength|}}}|Attributes|{{{strengthmult|1}}}}}
{{Character/Attribute|Strength|ST|{{{strength|}}}|Attributes|{{{strengthmult|1}}}|{{{strengthextrinsic|0}}}}}
{{Character/Attribute|Agility|AG|{{{agility|}}}|Attributes|{{{agilitymult|1}}}}}
{{Character/Attribute|Agility|AG|{{{agility|}}}|Attributes|{{{agilitymult|1}}}|{{{agilityextrinsic|0}}}}}
{{Character/Attribute|Quickness|QN|{{{quickness|100}}}|Quickness}}
{{Character/Attribute|Quickness|QN|{{{quickness|100}}}|Quickness}}
</div>
</div>
<div class="qud-attributes-row">
<div class="qud-attributes-row">
{{Character/Attribute|Toughness|TO|{{{toughness|}}}|Attributes|{{{toughnessmult|1}}}}}
{{Character/Attribute|Toughness|TO|{{{toughness|}}}|Attributes|{{{toughnessmult|1}}}|{{{toughnessextrinsic|0}}}}}
{{Character/Attribute|Willpower|WI|{{{willpower|}}}|Attributes|{{{willpowermult|1}}}}}
{{Character/Attribute|Willpower|WI|{{{willpower|}}}|Attributes|{{{willpowermult|1}}}|{{{willpowerextrinsic|0}}}}}
{{Character/Attribute|Movespeed|MS|{{{movespeed|100}}}|Movement Speed}}
{{Character/Attribute|Movespeed|MS|{{{movespeed|100}}}|Movement Speed}}
</div>
</div>
<div class="qud-attributes-row">
<div class="qud-attributes-row">
{{Character/Attribute|Intelligence|IN|{{{intelligence|}}}|Attributes|{{{intelligencemult|1}}}}}
{{Character/Attribute|Intelligence|IN|{{{intelligence|}}}|Attributes|{{{intelligencemult|1}}}|{{{intelligenceextrinsic|0}}}}}
{{Character/Attribute|Ego|EG|{{{ego|}}}|Attributes|{{{egomult|1}}}}}
{{Character/Attribute|Ego|EG|{{{ego|}}}|Attributes|{{{egomult|1}}}|{{{egoextrinsic|0}}}}}
{{Character/Attribute|Mental Armor|MA|{{{marange|{{{ma|}}}}}}|MA}}
{{Character/Attribute|Mental Armor|MA|{{{marange|{{{ma|}}}}}}|MA}}
</div>
</div>
Line 164: Line 184:
<div class="qud-stat-details-wrapper">
<div class="qud-stat-details-wrapper">
{{ Character/DetailedAttributeHeader }}
{{ Character/DetailedAttributeHeader }}
{{#if: {{{strength|}}}    | {{ Character/DetailedAttribute | Strength    |{{{strength}}}|Attributes|{{{strengthmult|1}}}}} | }}
{{#if: {{{strength|}}}    | {{ Character/DetailedAttribute | Strength    |{{{strength}}}|Attributes|{{{strengthmult|1}}}|{{{strengthextrinsic|0}}}}} | }}
{{#if: {{{agility|}}}      | {{ Character/DetailedAttribute | Agility    |{{{agility}}}|Attributes|{{{agilitymult|1}}}}} | }}
{{#if: {{{agility|}}}      | {{ Character/DetailedAttribute | Agility    |{{{agility}}}|Attributes|{{{agilitymult|1}}}|{{{agilityextrinsic|0}}}}} | }}
{{#if: {{{toughness|}}}    | {{ Character/DetailedAttribute | Toughness  |{{{toughness}}}|Attributes|{{{toughnessmult|1}}}}} | }}
{{#if: {{{toughness|}}}    | {{ Character/DetailedAttribute | Toughness  |{{{toughness}}}|Attributes|{{{toughnessmult|1}}}|{{{toughnessextrinsic|0}}}}} | }}
{{#if: {{{intelligence|}}} | {{ Character/DetailedAttribute | Intelligence|{{{intelligence}}}|Attributes|{{{intelligencemult|1}}}}} | }}
{{#if: {{{intelligence|}}} | {{ Character/DetailedAttribute | Intelligence|{{{intelligence}}}|Attributes|{{{intelligencemult|1}}}|{{{intelligenceextrinsic|0}}}}} | }}
{{#if: {{{willpower|}}}    | {{ Character/DetailedAttribute | Willpower  |{{{willpower}}}|Attributes|{{{willpowermult|1}}}}} | }}
{{#if: {{{willpower|}}}    | {{ Character/DetailedAttribute | Willpower  |{{{willpower}}}|Attributes|{{{willpowermult|1}}}|{{{willpowerextrinsic|0}}}}} | }}
{{#if: {{{ego|}}}          | {{ Character/DetailedAttribute | Ego        |{{{ego}}}|Attributes|{{{egomult|1}}}}} | }}
{{#if: {{{ego|}}}          | {{ Character/DetailedAttribute | Ego        |{{{ego}}}|Attributes|{{{egomult|1}}}|{{{egoextrinsic|0}}}}} | }}
</div>
</div>
{{#if:{{{xpvalue|}}}|{{ Character/DetailedXP | xpvalue={{{xpvalue}}} | xptier={{{xptier}}} }}
{{#if:{{{xpvalue|}}}|{{ Character/DetailedXP | xpvalue={{{xpvalue}}} | xptier={{{xptier}}} }}
Line 193: Line 213:
<div class="qud-attributes-row">
<div class="qud-attributes-row">
<!-- The Character/Attributes template doesn't handle extra spaces very well, so there are none below -->
<!-- The Character/Attributes template doesn't handle extra spaces very well, so there are none below -->
{{Character/Attribute|Strength|ST|{{{strength|}}}|Attributes|{{{strengthmult|1}}}}}
{{Character/Attribute|Strength|ST|{{{strength|}}}|Attributes|{{{strengthmult|1}}}|{{{strengthextrinsic|0}}}}}
{{Character/Attribute|Agility|AG|{{{agility|}}}|Attributes|{{{agilitymult|1}}}}}
{{Character/Attribute|Agility|AG|{{{agility|}}}|Attributes|{{{agilitymult|1}}}|{{{agilityextrinsic|0}}}}}
{{Character/Attribute|Quickness|QN|{{{quickness|100}}}|Quickness}}
{{Character/Attribute|Quickness|QN|{{{quickness|100}}}|Quickness}}
</div>
</div>
<div class="qud-attributes-row">
<div class="qud-attributes-row">
{{Character/Attribute|Toughness|TO|{{{toughness|}}}|Attributes|{{{toughnessmult|1}}}}}
{{Character/Attribute|Toughness|TO|{{{toughness|}}}|Attributes|{{{toughnessmult|1}}}|{{{toughnessextrinsic|0}}}}}
{{Character/Attribute|Willpower|WI|{{{willpower|}}}|Attributes|{{{willpowermult|1}}}}}
{{Character/Attribute|Willpower|WI|{{{willpower|}}}|Attributes|{{{willpowermult|1}}}|{{{willpowerextrinsic|0}}}}}
{{Character/Attribute|Movespeed|MS|{{{movespeed|100}}}|Movement Speed}}
{{Character/Attribute|Movespeed|MS|{{{movespeed|100}}}|Movement Speed}}
</div>
</div>
<div class="qud-attributes-row">
<div class="qud-attributes-row">
{{Character/Attribute|Intelligence|IN|{{{intelligence|}}}|Attributes|{{{intelligencemult|1}}}}}
{{Character/Attribute|Intelligence|IN|{{{intelligence|}}}|Attributes|{{{intelligencemult|1}}}|{{{intelligenceextrinsic|0}}}}}
{{Character/Attribute|Ego|EG|{{{ego|}}}|Attributes|{{{egomult|1}}}}}
{{Character/Attribute|Ego|EG|{{{ego|}}}|Attributes|{{{egomult|1}}}|{{{egoextrinsic|0}}}}}
{{Character/Attribute|Mental Armor|MA|{{{marange|{{{ma|}}}}}}|Attributes}}
{{Character/Attribute|Mental Armor|MA|{{{marange|{{{ma|}}}}}}|Attributes}}
</div>
</div>
Line 219: Line 239:
<div class="qud-stat-details-wrapper">
<div class="qud-stat-details-wrapper">
{{ Character/DetailedAttributeHeader }}
{{ Character/DetailedAttributeHeader }}
{{#if: {{{strength|}}}    | {{ Character/DetailedAttribute | Strength    |{{{strength}}}|Attributes|{{{strengthmult|1}}}}} | }}
{{#if: {{{strength|}}}    | {{ Character/DetailedAttribute | Strength    |{{{strength}}}|Attributes|{{{strengthmult|1}}}|{{{strengthextrinsic|0}}}}} | }}
{{#if: {{{agility|}}}      | {{ Character/DetailedAttribute | Agility    |{{{agility}}}|Attributes|{{{agilitymult|1}}}}} | }}
{{#if: {{{agility|}}}      | {{ Character/DetailedAttribute | Agility    |{{{agility}}}|Attributes|{{{agilitymult|1}}}|{{{agilityextrinsic|0}}}}} | }}
{{#if: {{{toughness|}}}    | {{ Character/DetailedAttribute | Toughness  |{{{toughness}}}|Attributes|{{{toughnessmult|1}}}}} | }}
{{#if: {{{toughness|}}}    | {{ Character/DetailedAttribute | Toughness  |{{{toughness}}}|Attributes|{{{toughnessmult|1}}}|{{{toughnessextrinsic|0}}}}} | }}
{{#if: {{{intelligence|}}} | {{ Character/DetailedAttribute | Intelligence|{{{intelligence}}}|Attributes|{{{intelligencemult|1}}}}} | }}
{{#if: {{{intelligence|}}} | {{ Character/DetailedAttribute | Intelligence|{{{intelligence}}}|Attributes|{{{intelligencemult|1}}}|{{{intelligenceextrinsic|0}}}}} | }}
{{#if: {{{willpower|}}}    | {{ Character/DetailedAttribute | Willpower  |{{{willpower}}}|Attributes|{{{willpowermult|1}}}}} | }}
{{#if: {{{willpower|}}}    | {{ Character/DetailedAttribute | Willpower  |{{{willpower}}}|Attributes|{{{willpowermult|1}}}|{{{willpowerextrinsic|0}}}}} | }}
{{#if: {{{ego|}}}          | {{ Character/DetailedAttribute | Ego        |{{{ego}}}|Attributes|{{{egomult|1}}}}} | }}
{{#if: {{{ego|}}}          | {{ Character/DetailedAttribute | Ego        |{{{ego}}}|Attributes|{{{egomult|1}}}|{{{egoextrinsic|0}}}}} | }}
</div>
</div>
{{#if:{{{xpvalue|}}}|{{ Character/DetailedXP | xpvalue={{{xpvalue}}} | xptier={{{xptier}}} }}
{{#if:{{{xpvalue|}}}|{{ Character/DetailedXP | xpvalue={{{xpvalue}}} | xptier={{{xptier}}} }}
Line 238: Line 258:


----------------------------------------->
----------------------------------------->
{{#if: {{{acid|}}}{{{electric|}}}{{{electrical|}}}{{{cold|}}}{{{heat|}}}
{{#if: {{{acid|}}}{{{electric|}}}{{{cold|}}}{{{heat|}}}
| <!-- Only create resistances block if at least one resistance is specified -->
| <!-- Only create resistances block if at least one resistance is specified -->
{{infobox row|class=qud-resistances|field=
{{infobox row|class=qud-resistances navigation-not-searchable|field=
<div class="qud-resistances-wrapper">
<div class="qud-resistances-wrapper">
{{ Character/Resistance |Acid|{{{acid|0}}}}}
{{ Character/Resistance |Acid|{{{acid|0}}}}}
{{ Character/Resistance |Elec|{{{electric|{{{electrical|0}}}}}}}}
{{ Character/Resistance |Elec|{{{electric|0}}}}}
{{ Character/Resistance |Cold|{{{cold|0}}}}}
{{ Character/Resistance |Cold|{{{cold|0}}}}}
{{ Character/Resistance |Heat|{{{heat|0}}}}}
{{ Character/Resistance |Heat|{{{heat|0}}}}}
Line 263: Line 283:
| {{#ifeq: {{{id}}}<!-- special handling for TinkerTurret, since there are a lot of them, and it can't be wished for directly -->
| {{#ifeq: {{{id}}}<!-- special handling for TinkerTurret, since there are a lot of them, and it can't be wished for directly -->
   |TinkerTurret
   |TinkerTurret
   |{{infobox row|ID{{Tooltip|This is the base ID of all dynamic turrets.<br>This turret cannot be [[Wishes|wished]] for directly.}}|{{{id}}} }}
   |{{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}}}}}}}|{{{id}}} }}
   |{{infobox row|ID{{Tooltip|Use this ID to [[Wishes|Wish]] for {{StripFormatting|{{{title}}}}}||nosearch}}|{{{id}}} }}
   }}
   }}
}}
}}
Line 274: Line 294:
}}
}}
{{#if: {{{gender|}}}
{{#if: {{{gender|}}}
| {{infobox row|Gender|[[Gender and Pronouns#{{{gender}}}{{!}}{{{gender}}}]] {{#if: {{{pronouns|}}}|([[Gender and Pronouns#{{{pronouns}}}{{!}}{{{pronouns}}}]])}} }}
| {{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#{{{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: {{{mods|}}}| {{infobox row|Modifications|{{consecutive links|{{{mods|}}}|</br>|</br>}} }} }}
<!----------------------------------------
<!----------------------------------------


Line 320: Line 369:


----------------------------------------->
----------------------------------------->
{{#if: {{{corpse|}}}      | {{infobox row|Corpse Dropped|{{favilink|{{{corpse}}}}} ({{{corpsechance|0}}}%) }} }}
{{#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.}}|{{{xpvalue}}} XP }} }}
{{#if: {{{xpvalue|}}} |  
{{#if: {{{harvestedinto|}}}| {{infobox row|Harvested into|{{favilink page|{{{harvestedinto}}} }} }} }}
  {{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: {{{role|}}}        | {{infobox row|Role|{{{role}}} }} }}
{{#if: {{{dynamictable|}}} | {{infobox row|Spawns in|{{{dynamictable}}} }} }}
{{#if: {{{dynamictable|}}} | {{infobox row|Spawns in|{{{dynamictable}}} }} }}
{{#if: {{{extra|}}}| {{infobox row||Extra info:</br>{{{extra|}}} }} }}
{{#if: {{{extra|}}}| {{infobox row|field=<hr><div style="padding:1em;><b>Extra info:</b>{{{extra|}}}</div> }} }}
}} <!-- END OF MAIN INFOBOX -->
}} <!-- 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}}}]] }}
{{#if: {{{desc|}}}        | {{Qud look|text={{grammar|text={{{desc}}}|gender={{{gender|nonspecific}}}|pronouns={{{pronouns|}}}}}|title={{{title|{{#titleparts:{{BASEPAGENAME}}}} }}} }} }} {{#if: {{{categories|}}}|[[Category:{{{categories}}}]] }}
</includeonly><noinclude>
</includeonly><noinclude><!--
{{doc}}
 
-->{{doc}}<!--


</noinclude>
--></noinclude>

Navigation menu