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:Telephone|{{{1}}}|☎}}{{#ifeq:Fax|{{{1}}}|℻}}</span>{{#ifeq:Email|{{{1}}}|[mailto:{{{2}}} }}{{{2}}}{{#ifeq:Email|{{{1}}}|]}}</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:Telephone|{{{1}}}|☎}}{{#ifeq:Fax|{{{1}}}|℻}}</span>{{#ifeq:Email|{{{1}}}|[mailto:{{{2}}} }}{{{2}}}{{#ifeq:Email|{{{1}}}|]}}
 +
</div></div>
 
{{#set:{{{1}}}={{{2}}}}}
 
{{#set:{{{1}}}={{{2}}}}}
 
}}}}
 
}}}}

Revision as of 02:50, 15 September 2009