Difference between revisions of "Template:InfoboxRow"

From Culture.si
Line 10: Line 10:
 
|{{#if:{{{name|}}}
 
|{{#if:{{{name|}}}
 
   |{{#set:{{{name}}}={{{value}}}}}
 
   |{{#set:{{{name}}}={{{value}}}}}
   }}{{#ifeq:{{{type|}}}|hidden||<tr class="ibr-{{{name}}} row-{{{label|}}}">{{#if: {{{label|}}}
+
   }}{{#if:{{{hidden|}}}||<tr class="ibr-{{{name}}} row-{{{label|}}}">{{#if: {{{label|}}}
 
   |<th>{{{label}}}</th><td>|<td colspan="2">
 
   |<th>{{{label}}}</th><td>|<td colspan="2">
   {{{display|{{#switch: {{{type|}}}
+
   }}{{{display|{{#switch: {{{type|}}}
 
   | image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}]]|{{{noimage|}}}}}
 
   | image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}]]|{{{noimage|}}}}}
 
   | link = [[{{{value}}}]]
 
   | link = [[{{{value}}}]]
Line 18: 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 15:17, 26 February 2014