Difference between revisions of "Template:Px"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
m (few tweaks and simplifications)
 
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}
+
{{#if:{{{1|}}}
| {{#iferror: {{#expr:{{{1|}}} > 0 }} | {{{1|}}} | {{{1|}}}px }}
+
|{{{1}}}{{#iferror:{{#expr:{{{1}}}>0}}||px}}
| {{#if:{{{2|}}}
+
|{{#if:{{{2|}}}
   | {{#iferror: {{#expr:{{{2|}}} > 0 }} | {{{2|}}} | {{{2|}}}px }}
+
   |{{{2}}}{{#iferror:{{#expr:{{{2}}}>0}}||px}}
  | {{#iferror: {{#expr:{{{3|}}} > 0 }} | {{{3|}}} | {{{3|}}}px }}
+
  |{{{3|}}}{{#iferror:{{#expr:{{{3|}}}>0}}||px}}
  }}
+
}}
}}</includeonly><noinclude>
+
}}<noinclude>
 
+
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>
[[Category:2Fix]]
 

Latest revision as of 17:43, 16 July 2010