Difference between revisions of "Template:Contact"

From Culture.si
 
(10 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 25: Line 17:
 
| value = {{{role|}}}
 
| value = {{{role|}}}
 
| type  = text }}
 
| type  = text }}
 +
{{infoboxRow
 +
| label  =
 +
| name    = Street{{#var:get|contactSuffix|}}
 +
| value  = {{{street|}}}
 +
| type    = text
 +
| display = {{{street|}}}, {{{town}}} }}
 +
{{infoboxRow
 +
| label  =
 +
| name    = Town{{#var:get|contactSuffix|}}
 +
| value  = {{{town|}}}
 +
| display =
 +
| type    = text }}
 
{{infoboxRow
 
{{infoboxRow
 
| label =  
 
| label =  
Line 42: Line 46:
 
| display = [mailto:{{{email 2|}}} {{{email 2|}}}]  
 
| display = [mailto:{{{email 2|}}} {{{email 2|}}}]  
 
| type  = text }}
 
| type  = text }}
{{infoboxRow
 
| label  =
 
| name    = Street{{#var:get|contactSuffix|}}
 
| value  = {{{street|}}}
 
| type    = text
 
| display = {{{street|}}}, [[{{{town}}}]] }}
 
{{infoboxRow
 
| label  =
 
| name    = Town{{#var:get|contactSuffix|}}
 
| value  = {{{town|}}}
 
| display =
 
| type    = text }}
 
 
{{infoboxRow
 
{{infoboxRow
 
| label = Phone
 
| label = Phone
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