Titan Quest Wiki
(Created page with "<noinclude> Category:Database Record Templates </noinclude><!-- --><includeonly><!-- -->{{ #if: {{{ min | }}} |<!-- -->{{ #if: {{{ duration | }}} |<!-- -->{{ #if...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
   
[[Category:Database Record Templates]]
+
[[Category:Database Record Templates - Helpers]]
   
 
</noinclude><!--
 
</noinclude><!--
Line 9: Line 9:
 
-->{{ #if: {{{ min | }}} |<!--
 
-->{{ #if: {{{ min | }}} |<!--
 
-->{{ #if: {{{ duration | }}} |<!--
 
-->{{ #if: {{{ duration | }}} |<!--
-->{{ #if: {{{ chance | }}} | {{ #expr: {{{ chance }}} }}{{ #ifexpr: {{{ chance }}} = {{{ chance }}} round 0 | .0 }}% Chance of {{ sp }} }}<!--
+
-->{{ #if: {{{ chance | }}} | {{ decimal | {{{ chance }}} }}% Chance of {{ sp }} }}<!--
-->{{ #expr: {{{ min }}} * {{{ duration }}} round 0 }}<!--
+
-->{{ #expr: {{{ min }}} round 0 }}<!--
-->{{ #if: {{{ max | }}} | {{ sp }} ~ {{ #expr: {{{ max }}} * {{{ duration }}} round 0 }} }}<!--
+
-->{{ #if: {{{ max | }}} | {{ sp }} ~ {{ #expr: {{{ max }}} round 0 }} }}<!--
 
-->{{{ text }}}<!--
 
-->{{{ text }}}<!--
-->{{ sp }} for {{ #expr: {{{ duration }}} }}{{ #ifexpr: {{{ duration }}} = {{{ duration }}} round 0 | .0 }}<!--
+
-->{{ sp }} for {{ decimal | {{{ duration }}} }}<!--
 
-->{{ sp }} Second{{ #ifexpr: {{{ duration }}} != 1 | s }}<!--
 
-->{{ sp }} Second{{ #ifexpr: {{{ duration }}} != 1 | s }}<!--
 
-->}}<!--
 
-->}}<!--

Latest revision as of 00:19, 7 December 2017