Difference between revisions of "Template:InfoboxContactPrint"

From Culture.si
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
*[[Template:infoboxRowPrint]]
 
*[[Template:infoboxRowPrint]]
 
*[[Template:InfoboxContactPrint]]
 
*[[Template:InfoboxContactPrint]]
</noinclude><includeonly>{{#if:{{{save|}}}|{{#var:set|contactSuffix|}}
+
</noinclude><includeonly>{{infoboxRowPrint
|{{#var:inc|contactCount}}{{#var:set|contactSuffix| {{#var:get|contactCount|}}}}<tr class="contact-separator"><td colspan="2">Sufi: {{#var:set|contactSuffix}}
 
</td></tr>
 
}}{{infoboxRowPrint
 
 
| label =  
 
| label =  
| name  = Contact{{#var:get|contactSuffix|}}
+
| name  = Name
| value = {{{Contact{{#var:get|contactSuffix|}}|}}}
+
| value = {{{name|}}}
| display = '''{{{Contact{{#var:get|contactSuffix|}}|}}}'''{{#if:{{{Role{{#var:get|contactSuffix|}}|}}}|, {{{Role{{#var:get|contactSuffix|}}}}}}}
+
| display = '''{{{name|}}}'''{{#if:{{{role|}}}|, {{{role}}}}}
 
| type  = text
 
| type  = text
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label =  
 
| label =  
| name  = Website{{#var:get|contactSuffix|}}
+
| name  = Website
| value = {{{Website{{#var:get|contactSuffix|}}|}}}
+
| value = {{{website|}}}
 
| type  = text
 
| type  = text
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label =  
 
| label =  
| name  = Email{{#var:get|contactSuffix|}}
+
| name  = Email
| value = {{{Email{{#var:get|contactSuffix|}}|}}}
+
| value = {{{email|}}}
| display = [mailto:{{{Email{{#var:get|contactSuffix|}}|}}} {{{Email{{#var:get|contactSuffix|}}|}}}]
 
 
| type  = text
 
| type  = text
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
 
| label  =
 
| label  =
| name    = Street{{#var:get|contactSuffix|}}
+
| name    = Street
| value  = {{{Street{{#var:get|contactSuffix|}}|}}}
+
| value  = {{{street|}}}
 
| type    = text
 
| type    = text
| display = {{{Street{{#var:get|contactSuffix|}}|}}}, [[{{{Town{{#var:get|contactSuffix|}}}}}]]
+
| display = {{{street|}}}, {{{town}}}
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
| label = Phone
+
| label = Telefon
| name  = Telephone{{#var:get|contactSuffix|}}
+
| name  = Telephone
| value = {{#if:{{{Telephone{{#var:get|contactSuffix|}}|}}}|+{{#str:replace|{{#str:replace|{{{Telephone{{#var:get|contactSuffix|}}|}}}|\(0\)|/}}|[()]|.}}|}}
+
| value = {{{telephone|}}}
| display = {{{Telephone{{#var:get|contactSuffix|}}|}}}
 
 
| type  = text
 
| type  = text
 
}}{{infoboxRowPrint
 
}}{{infoboxRowPrint
| label = Fax
+
| label = Faks
| name  = Fax{{#var:get|contactSuffix|}}
+
| name  = Fax
| value = {{{Fax{{#var:get|contactSuffix|}}|}}}
+
| value = {{{fax|}}}
 
| type  = text
 
| type  = text
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 20:40, 1 June 2016