Difference between revisions of "Template:InfoboxRow"

From Culture.si
Line 10: Line 10:
 
| {{#if:{{{name|}}}
 
| {{#if:{{{name|}}}
 
   | {{#set:{{{name}}}={{{value}}}}}
 
   | {{#set:{{{name}}}={{{value}}}}}
   }}{{#ifeq:{{{display}}}|||<tr>{{#if: {{{label|}}}
+
   }}{{#ifeq:{{{display}}}|||<tr class="ibr-{{{name}}}">{{#if: {{{label|}}}
 
   |<th>{{{label}}}</th><td>
 
   |<th>{{{label}}}</th><td>
   |<td class="ib-{{{name}}}" colspan="2">
+
   |<td colspan="2">
 
   }}{{{display|{{#switch: {{{type|}}}
 
   }}{{{display|{{#switch: {{{type|}}}
   | image = [[image:{{{value}}}|234px]]
+
   | image = [[image:{{{value}}}|226px]]
 
   | link = [[{{{value}}}]]
 
   | link = [[{{{value}}}]]
 
   | text = {{{value}}}
 
   | text = {{{value}}}
   | embed = {{Embed|url={{{value}}}|width=232|height=232}}
+
   | embed = {{Embed|url={{{value}}}|width=226|height=226}}
 
   }}}}}
 
   }}}}}
 
</td></tr>
 
</td></tr>
 
}}}}}}
 
}}}}}}

Revision as of 22:51, 9 March 2010