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

Revision as of 03:02, 15 September 2009