Difference between revisions of "Template:InfoboxRow"

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

Revision as of 16:09, 15 April 2010