Difference between revisions of "Template:Contact"

From Culture.si
 
(5 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{#if:{{{save|}}}
+
{{#if:{{{save|}}}|{{#var:set|contactSuffix|}}
|{{#var:set|contactSuffix|}}
 
|{{#var:inc|contactCount}}{{#var:set|contactSuffix|_{{#var:get|contactCount|}}}}}}
 
{{#subobject:|
 
|Full_Name={{{name|}}}
 
|Role={{{role|}}}
 
|Website={{{website|}}}
 
|Email={{{email|}}}
 
|Telephone={{{telephone|}}}}}
 
 
{{infoboxRow
 
{{infoboxRow
 
| label =  
 
| label =  
Line 30: Line 22:
 
| value  = {{{street|}}}
 
| value  = {{{street|}}}
 
| type    = text
 
| type    = text
| display = {{{street|}}}, [[{{{town}}}]] }}
+
| display = {{{street|}}}, {{{town}}} }}
 
{{infoboxRow
 
{{infoboxRow
 
| label  =
 
| label  =
Line 59: Line 51:
 
| 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 18:38, 2 October 2024