Template:Infobox image: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
rmv = as template
No edit summary
(rmv = as template)
Line 1: Line 1:
<!--Taken from [[memoryalpha:Template:Sidebar image]] mostly the work of [[user:sulfur]] and [[memoryalpha:user:Cid Highwind]]
<!--Taken from [[memoryalpha:Template:Sidebar image]] mostly the work of [[user:sulfur]] and [[memoryalpha:user:Cid Highwind]]
     Altered here for the pix width of 250, because wikia skin doesn't put infoboxen under ads anymore.  
     Altered here for the pix width of 250, because wikia skin doesn't put infoboxen under ads anymore.  
     to change back to 292px with, half-width is 146, and the #expr should be set to 286 - 143 --><includeonly>{{#switch: {{{img2|NO2ND}}}
     to change back to 292px with, half-width is 146, and the #expr should be set to 286 - 143 --><includeonly>
  | NO2ND = [[File:{{{img1|{{{1}}}}}}|thumb|alt{{=}}{{{alt1|}}}|{{ #switch:{{{format|}}} | halfwidth = 125px | 250px }}|{{#if:{{{cap1|}}}|{{{cap1}}}|{{#if:{{{2|}}}|{{{2}}}|}}}}]]
{{#switch: {{{img2|NO2ND}}}
  | <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>
  | 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>
}}</includeonly><noinclude>{{documentation}}[[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.