Difference between revisions of "Template:InfoboxImageRow"
Line 9: | Line 9: | ||
}} | }} | ||
| {{#if:{{{name|}}} | | {{#if:{{{name|}}} | ||
− | | {{#set:{{{name}}}=Image:{{{value}}}}} | + | |{{#set:{{{name}}}=Image:{{{value}}}}} |
}}{{#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">}}{{{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}}}]] |