Difference between revisions of "Template:Contact"

From Culture.si
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
 +
{{#if:{{#var:get|contactCount|}}||
 
{{#if:{{{save|}}}
 
{{#if:{{{save|}}}
 
|{{#var:set|contactSuffix|}}
 
|{{#var:set|contactSuffix|}}
Line 30: Line 31:
 
| value  = {{{street|}}}
 
| value  = {{{street|}}}
 
| type    = text
 
| type    = text
| display = {{{street|}}}, [[{{{town}}}]] }}
+
| display = {{{street|}}}, {{{town}}} }}
 
{{infoboxRow
 
{{infoboxRow
 
| label  =
 
| label  =
Line 59: Line 60:
 
| value = {{#if:{{{telephone|}}}|+{{#str:replace|{{#str:replace|{{{telephone|}}}|\(0\)|/}}|[()]|.}}|}}
 
| value = {{#if:{{{telephone|}}}|+{{#str:replace|{{#str:replace|{{{telephone|}}}|\(0\)|/}}|[()]|.}}|}}
 
| display = {{{telephone|}}}
 
| display = {{{telephone|}}}
| type  = text }}
+
| type  = text }}}}
{{infoboxRow
 
| label = Fax
 
| name  = Fax{{#var:get|contactSuffix|}}
 
| value = {{#if:{{{fax|}}}|+{{#str:replace|{{#str:replace|{{{fax|}}}|\(0\)|/}}|[()]|.}}|}}
 
| display = {{{fax|}}}
 
| type  = text }}
 
 
</includeonly>
 
</includeonly>

Latest revision as of 19:26, 21 March 2023