Difference between revisions of "Template:InfoboxImageRow"

From Culture.si
Line 12: Line 12:
 
   }}{{#if:{{{hidden|}}}||<tr class="ibr-{{{name}}}">{{#if: {{{label|}}}
 
   }}{{#if:{{{hidden|}}}||<tr class="ibr-{{{name}}}">{{#if: {{{label|}}}
 
   |<th>{{{label}}}</th><td>
 
   |<th>{{{label}}}</th><td>
   |<td colspan="2">
+
   |<td colspan="2">}}{{{display|{{#switch: {{{type|}}}
  }}{{{display|{{#switch: {{{type|}}}
 
 
   | image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}|Download this image]]{{{hasimage|}}}|{{{noimage|}}}}}
 
   | image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}|Download this image]]{{{hasimage|}}}|{{{noimage|}}}}}
 
   | link = [[{{{value}}}]]
 
   | link = [[{{{value}}}]]
Line 19: Line 18:
 
   | text = {{{value}}}
 
   | text = {{{value}}}
 
   | embed = {{Embed|url={{{value}}}|width=226|height=226}}
 
   | embed = {{Embed|url={{{value}}}|width=226|height=226}}
   }}}}}
+
   }}}}}</td></tr>}}}}}}
</td></tr>
 
}}}}}}
 

Revision as of 18:34, 4 July 2012