Difference between revisions of "Template:InfoboxRow"

From Culture.si
Line 1: Line 1:
{{#if:{{{2|}}}|{{#if:{{{1|}}}|<div class="info-row row-{{{1}}}"><div class="row-label">{{{1}}}</div><div class="row-value"><span class="row-badges">{{#switch:{{{1}}}
+
{{#if:{{{2|}}}|{{#if:{{{1|}}}|{{DataRow|{{{1}}}|{{{2}}}}}<div class="info-row row-{{{1}}}"><div class="row-label">{{{1}}}</div><div class="row-value"><span class="row-badges">{{#switch:{{{1}}}
 
|Telephone=☎
 
|Telephone=☎
 
|Fax=℻
 
|Fax=℻
 
}}</span>{{#ifeq:Email|{{{1}}}|[mailto:{{{2}}} {{{2}}}]|{{{2}}} }}</div></div> {{#ifeq:Town|{{{1}}}|{{#set:Region={{#sub:{{{2}}}|0|4}}xxx}}}} }}}}<noinclude>
 
}}</span>{{#ifeq:Email|{{{1}}}|[mailto:{{{2}}} {{{2}}}]|{{{2}}} }}</div></div> {{#ifeq:Town|{{{1}}}|{{#set:Region={{#sub:{{{2}}}|0|4}}xxx}}}} }}}}<noinclude>
{{DataRow|{{{1}}}|{{{2}}}}}
+
 
 
</noinclude>
 
</noinclude>

Revision as of 01:35, 16 September 2009