Difference between revisions of "Template:InfoboxImageRow"

From Culture.si
 
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
   | #default=TRUE
 
   | #default=TRUE
 
   }}
 
   }}
| {{#if:{{{name|}}}
+
  |{{#if:{{{name|}}}
   |{{#set:{{{name}}}=Image:{{{value}}}}}
+
   |{{#set:{{{name}}}=Image:{{{value}}}}}{{#set:{{{name}}}_url={{filepath:{{{value}}}}}}}
 
   }}{{#if:{{{hidden|}}}||<tr class="ibr-{{{name}}}">{{#if: {{{label|}}}
 
   }}{{#if:{{{hidden|}}}||<tr class="ibr-{{{name}}}">{{#if: {{{label|}}}
 
   |<th>{{{label}}}</th><td>|<td colspan="2">}}{{{display|{{#switch: {{{type|}}}
 
   |<th>{{{label}}}</th><td>|<td colspan="2">}}{{{display|{{#switch: {{{type|}}}

Latest revision as of 20:04, 23 February 2021