Difference between revisions of "Template:InfoboxRow"

From Culture.si
Line 1: Line 1:
{{#if:{{{2|}}}|{{#if:{{{1|}}}|<div class="info-row"><div class="row-label">{{{1}}}</div><div class="row-value"><span class="row-badges">{{#ifeq:Street|{{{1}}}|}}{{#ifeq:Email|{{{1}}}|}}{{#ifeq:Telephone|{{{1}}}|}}{{#ifeq:Fax|{{{1}}}|}}</span>{{{2}}}</div></div>
+
{{#if:{{{2|}}}|{{#if:{{{1|}}}|<div class="info-row"><div class="row-label">{{{1}}}</div><div class="row-value"><span class="row-badges">{{#ifeq:Email|{{{1}}}|}}{{#ifeq:Telephone|{{{1}}}|}}{{#ifeq:Fax|{{{1}}}|}}</span>{{#ifeq:Email|{{{1}}}|[mailto:}}{{{2}}}{{#ifeq:Email|{{{1}}}|]}}</div></div>
 
{{#set:{{{1}}}={{{2}}}}}
 
{{#set:{{{1}}}={{{2}}}}}
 
}}}}
 
}}}}

Revision as of 02:46, 15 September 2009