Difference between revisions of "Template:Contact"
(9 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | {{#if:{{{save|}}} | + | {{#if:{{{save|}}}|{{#var:set|contactSuffix|}} |
− | + | {{infoboxRow | |
− | |{{#var: | + | | label = |
− | {{# | + | | name = Contact{{#var:get|contactSuffix|}} |
− | + | | value = {{{name|}}} | |
− | + | | display = '''{{{name|}}}'''{{#if:{{{role|}}}|, {{{role}}}}} | |
− | | | + | | type = text }} |
− | | | + | {{infoboxRow |
− | | | + | | hidden = true |
+ | | name = Role{{#var:get|contactSuffix|}} | ||
+ | | value = {{{role|}}} | ||
+ | | type = text }} | ||
{{infoboxRow | {{infoboxRow | ||
| label = | | label = | ||
Line 19: | Line 22: | ||
| value = {{{street|}}} | | value = {{{street|}}} | ||
| type = text | | type = text | ||
− | | display = {{{street|}}}, | + | | display = {{{street|}}}, {{{town}}} }} |
{{infoboxRow | {{infoboxRow | ||
| label = | | label = | ||
Line 26: | Line 29: | ||
| display = | | display = | ||
| type = text }} | | type = text }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{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 }}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</includeonly> | </includeonly> |