Difference between revisions of "Template:Infobox"

From Culture.si
Line 1: Line 1:
 
{{#ifeq:{{#this:depth}}|1|
 
{{#ifeq:{{#this:depth}}|1|
<div class="infobox">{{#ifexists:image:{{{Image|{{FULLPAGENAME}}.jpg}}}|[[image:{{{Image|{{FULLPAGENAME}}.jpg}}}|260px]]}}
+
<div class="infobox">{{#ifexist:image:{{{Image|{{FULLPAGENAME}}.jpg}}}|[[image:{{{Image|{{FULLPAGENAME}}.jpg}}}|260px]]}}
 
{{dataRow|Image|Image:{{{Image|{{FULLPAGENAME}}.jpg}}} }}
 
{{dataRow|Image|Image:{{{Image|{{FULLPAGENAME}}.jpg}}} }}
 
<div>{{Contact|Name={{{Name|{{FULLPAGENAME}}}}}|Street={{{Street|}}}|Town={{{Town|}}}|Website={{{Website|}}}|Email={{{Email|}}}|Telephone={{{Telephone|}}}|Fax={{{Fax|}}}  
 
<div>{{Contact|Name={{{Name|{{FULLPAGENAME}}}}}|Street={{{Street|}}}|Town={{{Town|}}}|Website={{{Website|}}}|Email={{{Email|}}}|Telephone={{{Telephone|}}}|Fax={{{Fax|}}}  

Revision as of 17:37, 6 October 2009