Difference between revisions of "Template:InfoboxRow"

From Culture.si
Line 6: Line 6:
 
   {{#switch:{{{type}}}
 
   {{#switch:{{{type}}}
 
   | image={{#ifexist:image:{{{value}}}|TRUE|{{LOGGEDIN}}{{{noimage|}}}}}
 
   | image={{#ifexist:image:{{{value}}}|TRUE|{{LOGGEDIN}}{{{noimage|}}}}}
   | hidden=
+
   | hidden=| #default=TRUE
  | #default=TRUE
 
 
   }}
 
   }}
 
|{{#if:{{{name|}}}
 
|{{#if:{{{name|}}}
 
   |{{#set:{{{name}}}={{{value}}}}}
 
   |{{#set:{{{name}}}={{{value}}}}}
   }}<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}}}]]

Revision as of 19:42, 17 February 2014