Difference between revisions of "Template:InfoboxRow"

From Culture.si
Line 15: Line 15:
 
{{#if: {{{label|}}}
 
{{#if: {{{label|}}}
 
|<div><div>{{{label}}}</div>
 
|<div><div>{{{label}}}</div>
|<div>}}
+
|<div>}}{{{display|{{#switch: {{{type|}}}
{{{display|{{#switch: {{{type|}}}
 
 
| image = {{#ifexist:image:{{{value}}}
 
| image = {{#ifexist:image:{{{value}}}
 
|[[Image:{{{value}}}
 
|[[Image:{{{value}}}
Line 26: Line 25:
 
| text = {{{value}}}
 
| text = {{{value}}}
 
    | 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}}}}}}}</div></div>}}}}}}
    </div></div>}}}}}}
 

Revision as of 17:02, 22 February 2023