Difference between revisions of "Template:Contact"
(10 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | {{#if:{{{save|}}} | + | {{#if:{{{save|}}}|{{#var:set|contactSuffix|}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{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 | {{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 }}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</includeonly> | </includeonly> |