8,292
edits
(add supportedmods / links to infobox) |
(add additional fields from Template:Item that were missing and should apply to certain Character pages now) |
||
Line 298: | Line 298: | ||
{{#if: {{{chargefunction|}}} | {{infobox row|Charge Used For|{{{chargefunction}}} }} }} | {{#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: {{{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|}}} | {{#if: {{{chairlevel|}}} | ||
| {{infobox row|Chair Level{{Tooltip|Chair level affects the power<br>of the [[sitting]] effect}}|{{{chairlevel}}} }} | | {{infobox row|Chair Level{{Tooltip|Chair level affects the power<br>of the [[sitting]] effect}}|{{{chairlevel}}} }} | ||
Line 304: | Line 319: | ||
| {{infobox row|Potential<br>Mods{{Tooltip|Mods this item can support<br>(subject to additional logic & rules)}}|{{consecutive templates|{{{supportedmods}}}|,|, |||mod type to category link}} }} | | {{infobox row|Potential<br>Mods{{Tooltip|Mods this item can support<br>(subject to additional logic & rules)}}|{{consecutive templates|{{{supportedmods}}}|,|, |||mod type to category link}} }} | ||
}} | }} | ||
{{#if: {{{mods|}}}| {{infobox row|Modifications|{{consecutive links|{{{mods|}}}|</br>|</br>}} }} }} | |||
<!---------------------------------------- | <!---------------------------------------- | ||