Difference between revisions of "Template:InfoboxRow"
Line 10: | Line 10: | ||
| {{#if:{{{name|}}} | | {{#if:{{{name|}}} | ||
| {{#set:{{{name}}}={{{value}}}}} | | {{#set:{{{name}}}={{{value}}}}} | ||
− | }}{{#ifeq:{{{display}}}|||<tr>{{#if: {{{label|}}} | + | }}{{#ifeq:{{{display}}}|||<tr class="ibr-{{{name}}}">{{#if: {{{label|}}} |
|<th>{{{label}}}</th><td> | |<th>{{{label}}}</th><td> | ||
− | |<td | + | |<td colspan="2"> |
}}{{{display|{{#switch: {{{type|}}} | }}{{{display|{{#switch: {{{type|}}} | ||
− | | image = [[image:{{{value}}}| | + | | image = [[image:{{{value}}}|226px]] |
| link = [[{{{value}}}]] | | link = [[{{{value}}}]] | ||
| text = {{{value}}} | | text = {{{value}}} | ||
− | | embed = {{Embed|url={{{value}}}|width= | + | | embed = {{Embed|url={{{value}}}|width=226|height=226}} |
}}}}} | }}}}} | ||
</td></tr> | </td></tr> | ||
}}}}}} | }}}}}} |