Difference between revisions of "Template:Contact"

From Culture.si
 
(11 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
*[[Template:InfoboxRow]]
 
*[[Template:InfoboxRow]]
 
*[[Template:Contact]]
 
*[[Template:Contact]]
</noinclude><includeonly>{{#if:{{{save|}}}|{{#var:set|contactSuffix|}}
+
</noinclude>
|{{#var:inc|contactCount}}{{#var:set|contactSuffix|_{{#var:get|contactCount|}}}}
+
<includeonly>
}}{{#subobject:|
+
{{#if:{{{save|}}}|{{#var:set|contactSuffix|}}
|Full_Name={{{name|}}}
+
{{infoboxRow
|Role={{{role|}}}
+
| label =  
|Website={{{website|}}}
+
| name  = Contact{{#var:get|contactSuffix|}}
|Email={{{email|}}}
+
| value = {{{name|}}}
|Telephone={{{telephone|}}}
+
| display = '''{{{name|}}}'''{{#if:{{{role|}}}|, {{{role}}}}}
}}{{infoboxRow
+
| type  = text }}
| label =  
+
{{infoboxRow
| name  = Contact{{#var:get|contactSuffix|}}
+
| hidden = true
| value = {{{name|}}}
+
| name  = Role{{#var:get|contactSuffix|}}
| display = '''{{{name|}}}'''{{#if:{{{role|}}}|, {{{role}}}}}
+
| value = {{{role|}}}
| type  = text
+
| type  = text }}
}}{{infoboxRow
+
{{infoboxRow
| hidden = true
+
| label   =
| name  = Role{{#var:get|contactSuffix|}}
+
| name   = Street{{#var:get|contactSuffix|}}
| value = {{{role|}}}
+
| value   = {{{street|}}}
| type  = text
+
| type   = text
}}{{infoboxRow
+
| display = {{{street|}}}, {{{town}}} }}
| label =  
+
{{infoboxRow
| name = Website{{#var:get|contactSuffix|}}
+
| label   =
| value = {{{website|}}}
+
| name   = Town{{#var:get|contactSuffix|}}
| type = text
+
| value   = {{{town|}}}
}}{{infoboxRow
+
| display =
| label =
+
| type   = text }}
| name  = Email{{#var:get|contactSuffix|}}
+
{{infoboxRow
| value = {{{email|}}}
+
| label =  
| display = [mailto:{{{email|}}} {{{email|}}}]
+
| name = Website{{#var:get|contactSuffix|}}
| type  = text
+
| value = {{{website|}}}
}}{{infoboxRow
+
| type = text }}
| label =  
+
{{infoboxRow
| name = Email{{#var:get|contactSuffix|}}
+
| label =  
| value = {{{email 2|}}}
+
| name = Email{{#var:get|contactSuffix|}}
| display = [mailto:{{{email 2|}}} {{{email 2|}}}]
+
| value = {{{email|}}}
| type = text
+
| display = [mailto:{{{email|}}} {{{email|}}}]
}}{{infoboxRow
+
| type = text }}
| label   =
+
{{infoboxRow
| name   = Street{{#var:get|contactSuffix|}}
+
| label =  
| value   = {{{street|}}}
+
| name  = Email{{#var:get|contactSuffix|}}
| type   = text
+
| value = {{{email 2|}}}
| display = {{{street|}}}, [[{{{town}}}]]
+
| display = [mailto:{{{email 2|}}} {{{email 2|}}}]
}}{{infoboxRow
+
| type  = text }}
| label   =
+
{{infoboxRow
| name   = Town{{#var:get|contactSuffix|}}
+
| label = Phone
| value   = {{{town|}}}
+
| name  = Telephone{{#var:get|contactSuffix|}}
| display =
+
| value = {{#if:{{{telephone|}}}|+{{#str:replace|{{#str:replace|{{{telephone|}}}|\(0\)|/}}|[()]|.}}|}}
| type   = text
+
| display = {{{telephone|}}}
}}{{infoboxRow
+
| type  = text }}}}
| label = Phone
+
</includeonly>
| name  = Telephone{{#var:get|contactSuffix|}}
 
| value = {{#if:{{{telephone|}}}|+{{#str:replace|{{#str:replace|{{{telephone|}}}|\(0\)|/}}|[()]|.}}|}}
 
| display = {{{telephone|}}}
 
| type  = text
 
}}{{infoboxRow
 
| label = Fax
 
| name  = Fax{{#var:get|contactSuffix|}}
 
| value = {{#if:{{{fax|}}}|+{{#str:replace|{{#str:replace|{{{fax|}}}|\(0\)|/}}|[()]|.}}|}}
 
| display = {{{fax|}}}
 
| type  = text
 
}}</includeonly>
 

Latest revision as of 18:38, 2 October 2024