Difference between revisions of "Template:PhotoboxRow"
(6 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
}} | }} | ||
| {{#if:{{{name|}}} | | {{#if:{{{name|}}} | ||
− | | {{#set: | + | | {{#set:{{{name}}}={{{value}}}}} |
}}{{#ifeq:{{{display}}}|||<tr>{{#if: {{{label|}}} | }}{{#ifeq:{{{display}}}|||<tr>{{#if: {{{label|}}} | ||
|<th>{{{label}}}</th><td> | |<th>{{{label}}}</th><td> | ||
Line 11: | Line 11: | ||
}}{{{display|{{#switch: {{{type|}}} | }}{{{display|{{#switch: {{{type|}}} | ||
| image = [[image:{{{value}}}|234px]] | | image = [[image:{{{value}}}|234px]] | ||
− | | link = | + | | link = {{#eval:html|<a href="{{#title:fullurl|{{{value}}}}}">{{{value}}}</a>}} |
| text = {{{value}}} | | text = {{{value}}} | ||
| embed = {{Embed|url={{{value}}}|width=232|height=232}} | | embed = {{Embed|url={{{value}}}|width=232|height=232}} |