Template:Infobox image: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
(page start; port from memoryalpha:template:sidebar image (see remarks for additional credits))
 
No edit summary
Line 6: Line 6:
  | NO2ND = [[File:{{{img1|{{{1}}}}}}|thumb|alt{{=}}{{{alt1|}}}|{{ #switch:{{{format|}}} | halfwidth = 125px | 250px }}|{{#if:{{{cap1|}}}|{{{cap1}}}|{{#if:{{{2|}}}|{{{2}}}|}}}}]]
  | NO2ND = [[File:{{{img1|{{{1}}}}}}|thumb|alt{{=}}{{{alt1|}}}|{{ #switch:{{{format|}}} | halfwidth = 125px | 250px }}|{{#if:{{{cap1|}}}|{{{cap1}}}|{{#if:{{{2|}}}|{{{2}}}|}}}}]]
  | <div class{{=}}"sb-twoimg">[[File:{{{img1}}}|thumb|alt{{=}}{{{alt1|}}}|{{{size|125}}}px|{{#if:{{{cap1|}}}|{{{cap1}}}|}}]][[File:{{{img2}}}|thumb|alt{{=}}{{{alt2|}}}|{{#expr: 250 - {{{size|125}}}}}px|{{#if:{{{cap2|}}}|{{{cap2}}}|}}]]</div>
  | <div class{{=}}"sb-twoimg">[[File:{{{img1}}}|thumb|alt{{=}}{{{alt1|}}}|{{{size|125}}}px|{{#if:{{{cap1|}}}|{{{cap1}}}|}}]][[File:{{{img2}}}|thumb|alt{{=}}{{{alt2|}}}|{{#expr: 250 - {{{size|125}}}}}px|{{#if:{{{cap2|}}}|{{{cap2}}}|}}]]</div>
}}</includeonly><noinclude>{{doc}}[[Category:infoboxes|Image]]</noinclude>
}}</includeonly><noinclude>{{documentation}}[[Category:infoboxes|Image]]</noinclude>
85,404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.