Difference between revisions of "Template:InfoboxRow"

From Culture.si
(restored by csi_restorechanges)
Line 14: Line 14:
 
|{{#set:{{{name}}}={{{value}}}}}}}
 
|{{#set:{{{name}}}={{{value}}}}}}}
 
{{#if:{{{hidden|}}}
 
{{#if:{{{hidden|}}}
||<tr class="ibr-{{{name}}} row-{{{label|}}}">
+
||<div class="ibr-{{{name}}} row-{{{label|}}}">
 
{{#if: {{{label|}}}
 
{{#if: {{{label|}}}
|<th>{{{label}}}</th><td>
+
|<h3>{{{label}}}</h3>
|<td colspan="2">}}
+
|<div>}}
 
{{{display|{{#switch: {{{type|}}}
 
{{{display|{{#switch: {{{type|}}}
 
| image = {{#ifexist:image:{{{value}}}
 
| image = {{#ifexist:image:{{{value}}}
Line 29: Line 29:
 
    | split = {{#str:replace|{{{value}}}|,|<br>}}
 
    | split = {{#str:replace|{{{value}}}|,|<br>}}
 
    | embed = {{Embed|url={{{value}}}|width=226|height=226}}}}}}}
 
    | embed = {{Embed|url={{{value}}}|width=226|height=226}}}}}}}
    </td></tr>}}}}}}
+
    </div></div>}}}}}}

Revision as of 00:17, 17 February 2021