Difference between revisions of "Template:InfoboxImageRow"
Line 12: | Line 12: | ||
}}{{#if:{{{hidden|}}}||<tr class="ibr-{{{name}}}">{{#if: {{{label|}}} | }}{{#if:{{{hidden|}}}||<tr class="ibr-{{{name}}}">{{#if: {{{label|}}} | ||
|<th>{{{label}}}</th><td> | |<th>{{{label}}}</th><td> | ||
− | |<td colspan="2"> | + | |<td colspan="2">}}{{{display|{{#switch: {{{type|}}} |
− | |||
| image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}|Download this image]]{{{hasimage|}}}|{{{noimage|}}}}} | | image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}|Download this image]]{{{hasimage|}}}|{{{noimage|}}}}} | ||
| link = [[{{{value}}}]] | | link = [[{{{value}}}]] | ||
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> | ||
− | }}}}}} |