Difference between revisions of "Template:Px"

From Self-sufficiency
Jump to: navigation, search
(dupe pp)
 
m (few tweaks and simplifications)
 
(One intermediate revision by one other user not shown)
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 18:43, 16 July 2010