Template:Bartable: Difference between revisions

From Linguifex
Jump to navigation Jump to search
m (1 revision: Getting templates while it works)
No edit summary
 
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}} | {{#if:{{#titleparts:{{{2}}}|1|2}}|{{#if:{{#titleparts:{{{2}}}|1|1}}|{{{1}}}{{{2}}}|{{convert|{{{1}}}|{{#titleparts:{{{2}}}|1|2}}|{{#titleparts:{{{2}}}|1|3}}|{{#titleparts:{{{2}}}|1|4}}|abbr=on}} }}|{{{1}}}{{{2}}} }} | {{{1|&mdash;}}} }} {{#ifexpr:{{#if:{{{3|}}}|{{{3}}}|0}}<0 | {{!}}{{!}} {{#ifexpr:{{formatnum:{{{1|0}}}|R}}<0 | align="right" {{!}} <div style="width:{{#expr:-abs({{#if:{{{3|}}}|{{{3}}}|1}})*{{formatnum:{{{1}}}|R}} }}px;height:{{#if:{{{4|}}}|{{{4}}}|2ex}};background:#aaa;{{{5|}}}">&nbsp;</div>|}} | }}
<includeonly>{{#if:{{{2|}}} | {{#if:{{#titleparts:{{{2}}}|1|2}}|{{#if:{{#titleparts:{{{2}}}|1|1}}|{{{1}}}{{{2}}}|{{convert|{{{1}}}|{{#titleparts:{{{2}}}|1|2}}|{{#titleparts:{{{2}}}|1|3}}|{{#titleparts:{{{2}}}|1|4}}|abbr=on}} }}|{{{1}}}{{{2}}} }} | {{{1|&mdash;}}} }} {{#ifexpr:{{#if:{{{3|}}}|{{{3}}}|0}}<0 | {{!}}{{!}} {{#ifexpr:{{formatnum:{{{1|0}}}|R}}<0 | align="right" {{!}} <div style="width:{{#expr:-abs({{#if:{{{3|}}}|{{{3}}}|1}})*{{formatnum:{{{1}}}|R}} }}px;height:{{#if:{{{4|}}}|{{{4}}}|2ex}};background:#aaa;{{{5|}}}">&nbsp;</div>|}} | }}
| {{#ifexpr:{{formatnum:{{{1|0}}}|R}}>0 | align="left" {{!}} <span style="display:none;">{{#expr:{{formatnum:{{{1}}}|R}} }}</span><div style="width:{{#expr:abs({{#if:{{{3|}}}|{{{3}}}|1}})*{{formatnum:{{{1}}}|R}} }}px;height:{{#if:{{{4|}}}|{{{4}}}|2ex}};background:#aaa;{{{5|}}}">&nbsp;</div>|}}</includeonly><noinclude>[[Category:Templates]]{{Documentation}}</noinclude>
| {{#ifexpr:{{formatnum:{{{1|0}}}|R}}>0 | align="left" {{!}} <span style="display:none;">{{#expr:{{formatnum:{{{1}}}|R}} }}</span><div style="width:{{#expr:abs({{#if:{{{3|}}}|{{{3}}}|1}})*{{formatnum:{{{1}}}|R}} }}px;height:{{#if:{{{4|}}}|{{{4}}}|2ex}};background:#aaa;{{{5|}}}">&nbsp;</div>|}}</includeonly><noinclude>[[Category:Templates]][[Category:Functionality]][[Category:Lacking documentation]]{{Documentation}}</noinclude>

Latest revision as of 18:41, 13 November 2012