Difference between revisions of "Template:PhotoboxRow"

From Culture.si
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
   }}
 
   }}
 
| {{#if:{{{name|}}}
 
| {{#if:{{{name|}}}
   | {{#set:foo=bar|{{{name}}}={{{value}}}}}
+
   | {{#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 = [[{{{value}}}]]
+
   | 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}}

Latest revision as of 15:43, 5 April 2024