Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "User:Sekoia/Sandbox/t1"

From Paragon Wiki Archive
Jump to: navigation, search
Line 1: Line 1:
{{#if:{{{float|}}}|<div class="float{{{float}}}">}}<div style="display: inline-block; float: left; padding: 0px; width: {{{bw}}}px; height: {{{bh}}}px; position: relative; line-height: 1px;"><span style="position: absolute; padding: 0px; left: 0px; top: 0px; z-index: 1;">[[{{{back}}}|{{{bw}}}x{{{bh}}}px]]</span><span style="position: absolute; padding: 0px; left: {{{left}}}px; top: {{{top}}}px; z-index: 10;">[[{{{front}}}|{{{fw}}}x{{{fh}}}px]]</span></div>{{#if:{{{float|}}}|</div>}}
+
{{#ifexpr: {{{2}}}<=0
 +
| {{#expr:({{{1}}}) round {{{2}}} }}
 +
| {{padright: {{#expr: ({{{1}}}) round {{{2}}} }}{{#ifexpr: (({{{1}}}) round {{{3}}}) = (({{{1}}}) round 0)|.}}
 +
  | {{#expr: {{#ifexpr: ({{{1}}}) < 1
 +
  | 2<!-- x. -->
 +
  | floor (ln({{{1}}}) / ln10 + 1) + 1<!--Point-->
 +
  }}<!-- number of digits left to the point plus number of points (1) --> + {{{2}}} }}
 +
  | 0
 +
}}
 +
}}

Revision as of 18:48, 17 July 2012

Expression error: Unrecognized punctuation character "{".