Difference between revisions of "Template:Dynamic Ship Table Row"

From Elite Wiki
(parse value of isoxp)
(display "OXP", not actual value)
 
Line 5: Line 5:
 
|data-sort-value="{{#expr: {{#ifeq: {{{6}}} | {{#expr: {{{6}}} }} | {{{6}}} | 0 }} + {{#ifeq: {{{7}}} | {{#expr: {{{7}}} }} | {{{7}}} | 0 }} }}" align="right" class="listtablecell" | {{#ifeq: {{{6}}} | {{#expr: {{{6}}} }} | {{#ifeq: {{{7}}} | {{#expr: {{{7}}} }} | {{formatnum: {{#expr: {{#if:{{{6}}}|{{{6}}}|0}} + {{#if:{{{7}}}|{{{7}}}|0}} }} }} {{#ifexpr: {{#if:{{{7}}}|{{{7}}}|0}}>0|({{formatnum: {{{6}}} }})|}} | {{formatnum: {{{6}}} }} }} TC | Unknown }}
 
|data-sort-value="{{#expr: {{#ifeq: {{{6}}} | {{#expr: {{{6}}} }} | {{{6}}} | 0 }} + {{#ifeq: {{{7}}} | {{#expr: {{{7}}} }} | {{{7}}} | 0 }} }}" align="right" class="listtablecell" | {{#ifeq: {{{6}}} | {{#expr: {{{6}}} }} | {{#ifeq: {{{7}}} | {{#expr: {{{7}}} }} | {{formatnum: {{#expr: {{#if:{{{6}}}|{{{6}}}|0}} + {{#if:{{{7}}}|{{{7}}}|0}} }} }} {{#ifexpr: {{#if:{{{7}}}|{{{7}}}|0}}>0|({{formatnum: {{{6}}} }})|}} | {{formatnum: {{{6}}} }} }} TC | Unknown }}
 
|data-sort-value="{{{17}}}" align="right" class="listtablecell" | {{#ifeq: false | {{{16}}} | n/a | {{#ifeq: true | {{{16}}} | {{#if: {{{17}}} | {{formatnum: {{{17}}} }} Cr | Unknown }} | Unknown }} }}
 
|data-sort-value="{{{17}}}" align="right" class="listtablecell" | {{#ifeq: false | {{{16}}} | n/a | {{#ifeq: true | {{{16}}} | {{#if: {{{17}}} | {{formatnum: {{{17}}} }} Cr | Unknown }} | Unknown }} }}
| align="center" class="listtablecell" | {{#ifeq: Standard | {{{15|}}} | Standard | {{{15|Unknown}}} }}
+
| align="center" class="listtablecell" | {{#ifeq: Standard | {{{15|}}} | Standard | {{#if: {{{15|}}} | OXP | Unknown }} }}
 
| align="center" class="listtablecell" | {{#ifeq: true | {{{16}}} | Yes | {{#ifeq: false | {{{16}}} | No | Unknown }} }}
 
| align="center" class="listtablecell" | {{#ifeq: true | {{{16}}} | Yes | {{#ifeq: false | {{{16}}} | No | Unknown }} }}
 
| align="center" class="listtablecell" | {{#if: {{{3}}} | {{#if: {{{4}}} | {{#if: {{{5}}} | {{formatnum: {{#expr: {{{3}}} round0 }} }}x{{formatnum: {{#expr: {{{4}}} round0 }} }}x{{formatnum: {{#expr: {{{5}}} round0 }} }} | }} | }} | }}
 
| align="center" class="listtablecell" | {{#if: {{{3}}} | {{#if: {{{4}}} | {{#if: {{{5}}} | {{formatnum: {{#expr: {{{3}}} round0 }} }}x{{formatnum: {{#expr: {{{4}}} round0 }} }}x{{formatnum: {{#expr: {{{5}}} round0 }} }} | }} | }} | }}

Latest revision as of 21:54, 1 July 2012