Difference between revisions of "Template:InfoboxRowPrint"

From Culture.si
 
(8 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
*[[Template:InfoboxRowPrint]]
 
*[[Template:InfoboxRowPrint]]
 
*[[Template:InfoboxContactPrint]]
 
*[[Template:InfoboxContactPrint]]
</noinclude>len: {{#arr:len|{{{value}}}}} - {{#if:{{{value|}}}|{{#if:{{#arr:len|{{{value}}}}}|{{{value = {{#arr:join|{{{value}}}|, |}}}}}|}}{{#if:
+
</noinclude>{{#if:{{{value|}}}|{{#ifeq:{{#arr:len|{{{value}}}}}|0||{{{value = {{#arr:join|{{{value}}}|, |}}}}}}}{{#if:
 
   {{#switch:{{{type}}}
 
   {{#switch:{{{type}}}
 
   | image={{#ifexist:image:{{{value}}}|TRUE|{{LOGGEDIN}}{{{noimage|}}}}}
 
   | image={{#ifexist:image:{{{value}}}|TRUE|{{LOGGEDIN}}{{{noimage|}}}}}
Line 13: Line 13:
 
   | image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}]]|{{{noimage|}}}}}
 
   | image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}]]|{{{noimage|}}}}}
 
   | link = [[{{{value}}}]]
 
   | link = [[{{{value}}}]]
 +
  | local link = {{#show:{{{value}}}|?Localname}}
 
   | external link = [{{{value}}} {{{value}}}]
 
   | external link = [{{{value}}} {{{value}}}]
 
   | text = {{{value}}}
 
   | text = {{{value}}}
 
   | embed = {{Embed|url={{{value}}}|width=226|height=226}}
 
   | embed = {{Embed|url={{{value}}}|width=226|height=226}}
 
   }}}}}</td></tr>}}}}}}
 
   }}}}}</td></tr>}}}}}}

Latest revision as of 20:35, 8 June 2016