Revision as of 21:21, 21 February 2012 editPeter coxhead (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Pending changes reviewers, Rollbackers, Template editors203,834 edits increased to 6 images← Previous edit | Revision as of 23:01, 21 February 2012 edit undoPeter coxhead (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Pending changes reviewers, Rollbackers, Template editors203,834 edits adding new parameterNext edit → | ||
Line 2: | Line 2: | ||
|title={{{title|}}} | |title={{{title|}}} | ||
|align={{{align|}}} | |align={{{align|}}} | ||
|cont={{{cont|}}} | |||
<!--Calculate ht, the common height of the images which makes the total width correct--> | <!--Calculate ht, the common height of the images which makes the total width correct--> | ||
|ht={{#expr: {{{total_width|600}}} / {{#expr: {{#ifeq: {{{height1|0}}} | 0| 0 | {{#expr: {{{width1|0}}} / {{{height1|1}}} }} }}+{{#ifeq: {{{height2|0}}} | 0| 0 | {{#expr: {{{width2|0}}} / {{{height2|1}}} }} }}+{{#ifeq: {{{height3|0}}} | 0| 0 | {{#expr: {{{width3|0}}} / {{{height3|1}}} }} }}+{{#ifeq: {{{height4|0}}} | 0| 0 | {{#expr: {{{width4|0}}} / {{{height4|1}}} }} }}+{{#ifeq: {{{height5|0}}} | 0| 0 | {{#expr: {{{width5|0}}} / {{{height5|1}}} }} }}+{{#ifeq: {{{height6|0}}} | 0| 0 | {{#expr: {{{width6|0}}} / {{{height6|1}}} }} }} }} }} | |ht={{#expr: {{{total_width|600}}} / {{#expr: {{#ifeq: {{{height1|0}}} | 0| 0 | {{#expr: {{{width1|0}}} / {{{height1|1}}} }} }}+{{#ifeq: {{{height2|0}}} | 0| 0 | {{#expr: {{{width2|0}}} / {{{height2|1}}} }} }}+{{#ifeq: {{{height3|0}}} | 0| 0 | {{#expr: {{{width3|0}}} / {{{height3|1}}} }} }}+{{#ifeq: {{{height4|0}}} | 0| 0 | {{#expr: {{{width4|0}}} / {{{height4|1}}} }} }}+{{#ifeq: {{{height5|0}}} | 0| 0 | {{#expr: {{{width5|0}}} / {{{height5|1}}} }} }}+{{#ifeq: {{{height6|0}}} | 0| 0 | {{#expr: {{{width6|0}}} / {{{height6|1}}} }} }} }} }} |
Revision as of 23:01, 21 February 2012
Template documentation[create] [purge] Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.Add categories to the /doc subpage. Subpages of this template.