Difference between revisions of "Template:InfoboxRow"
Line 8: | Line 8: | ||
| #default=TRUE | | #default=TRUE | ||
}} | }} | ||
− | | {{#if:{{{name|}}} | + | |{{#if:{{{name|}}} |
− | | {{#set:{{{name}}}={{{value}}}}} | + | |{{#set:{{{name}}}={{{value}}}}} |
}}{{#if:{{{hidden|}}}||<tr class="ibr-{{{name}}} row-{{{label|}}}">{{#if: {{{label|}}} | }}{{#if:{{{hidden|}}}||<tr class="ibr-{{{name}}} row-{{{label|}}}">{{#if: {{{label|}}} | ||
− | |<th>{{{label}}}</th><td> | + | |<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|}}}}} | ||
Line 19: | 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> | ||
− | }}}}}} |