Template:Infobox: Difference between revisions

From The Last Starwiki
Jump to navigation Jump to search
(Create template)
 
m (Fix issues with nobr (hopefully))
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
  Image1
  Image1
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
  |data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}
  |data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|{{#ifeq:{{{nobr|}}}|true|<br />}}<span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}
  |datastyle={{{imagestyle|}}}
  |datastyle={{{imagestyle|}}}
  |class={{{imageclass|}}}
  |class={{{imageclass|}}}
Line 31: Line 31:
  Image2
  Image2
-->{{#if:{{{image2|}}}|{{Infobox/row
-->{{#if:{{{image2|}}}|{{Infobox/row
  |data={{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}
  |data={{{image2}}}{{#if:{{{caption2|}}}|{{#ifeq:{{{nobr|}}}|true|<br />}}<span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}
  |datastyle={{{imagestyle|}}}
  |datastyle={{{imagestyle|}}}
  |class={{{imageclass|}}}
  |class={{{imageclass|}}}
Line 38: Line 38:
  Image3
  Image3
-->{{#if:{{{image3|}}}|{{Infobox/row
-->{{#if:{{{image3|}}}|{{Infobox/row
  |data={{{image3}}}{{#if:{{{caption3|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption3}}}</span>}}
  |data={{{image3}}}{{#if:{{{caption3|}}}|{{#ifeq:{{{nobr|}}}|true|<br />}}<span style="{{{captionstyle|}}}">{{{caption3}}}</span>}}
  |datastyle={{{imagestyle|}}}
  |datastyle={{{imagestyle|}}}
  |class={{{imageclass|}}}
  |class={{{imageclass|}}}

Latest revision as of 11:38, 31 July 2023