Difference between revisions of "Template:InfoboxImageRow"

From Culture.si
Line 7: Line 7:
 
   | image={{#ifexist:image:{{{value}}}|TRUE|{{LOGGEDIN}}{{{noimage|}}}}}
 
   | image={{#ifexist:image:{{{value}}}|TRUE|{{LOGGEDIN}}{{{noimage|}}}}}
 
   | #default=TRUE
 
   | #default=TRUE
   }}{{{hasimage|}}}
+
   }}
 
| {{#if:{{{name|}}}
 
| {{#if:{{{name|}}}
 
   | {{#set:{{{name}}}=Image:{{{value}}}}}
 
   | {{#set:{{{name}}}=Image:{{{value}}}}}
Line 14: Line 14:
 
   |<td colspan="2">
 
   |<td colspan="2">
 
   }}{{{display|{{#switch: {{{type|}}}
 
   }}{{{display|{{#switch: {{{type|}}}
   | image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}|Download this image]]|{{{noimage|}}}}}
+
   | image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}|Download this image]]{{{hasimage|}}}|{{{noimage|}}}}}
 
   | link = [[{{{value}}}]]
 
   | link = [[{{{value}}}]]
 
   | external link = [{{{value}}} {{{value}}}]
 
   | external link = [{{{value}}} {{{value}}}]

Revision as of 21:54, 6 June 2012