Difference between revisions of "Template:Dynamic Ship Table Row"
From Elite Wiki
(Round dimensions to nearest metre) |
(display "OXP", not actual value) |
||
(2 intermediate revisions by 2 users not shown) | |||
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" | {{{15}}} | + | | 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: {{{3}}} round0 }}x{{formatnum: {{{4}}} round0 }}x{{formatnum: {{{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 }} }} | }} | }} | }} |
| align="right" class="listtablecell" | {{#if: {{{3}}} | {{#if: {{{4}}} | {{#if: {{{5}}} | {{formatnum: {{#expr: {{{3}}}*{{{4}}}*{{{5}}} round0 }} }} m³ | }} | }} | }} | | align="right" class="listtablecell" | {{#if: {{{3}}} | {{#if: {{{4}}} | {{#if: {{{5}}} | {{formatnum: {{#expr: {{{3}}}*{{{4}}}*{{{5}}} round0 }} }} m³ | }} | }} | }} | ||
</includeonly> | </includeonly> |