Difference between revisions of "Template:Contact"
(27 intermediate revisions by 6 users not shown) | |||
Line 3: | Line 3: | ||
*[[Template:InfoboxRow]] | *[[Template:InfoboxRow]] | ||
*[[Template:Contact]] | *[[Template:Contact]] | ||
− | </noinclude><includeonly>{{#if:{{{save|}}}|{{#var:set|contactSuffix| | + | </noinclude> |
− | + | <includeonly> | |
− | + | {{#if:{{{save|}}}|{{#var:set|contactSuffix|}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
{{infoboxRow | {{infoboxRow | ||
− | | | + | | label = |
− | | name = | + | | name = Contact{{#var:get|contactSuffix|}} |
− | | value = {{{role|}}} | + | | value = {{{name|}}} |
− | | type = text | + | | display = '''{{{name|}}}'''{{#if:{{{role|}}}|, {{{role}}}}} |
− | }} | + | | type = text }} |
{{infoboxRow | {{infoboxRow | ||
− | | | + | | hidden = true |
− | | name = | + | | name = Role{{#var:get|contactSuffix|}} |
− | | value = {{{ | + | | value = {{{role|}}} |
− | | type = text | + | | type = text }} |
− | }} | ||
{{infoboxRow | {{infoboxRow | ||
− | | label = | + | | label = |
− | | name | + | | name = Street{{#var:get|contactSuffix|}} |
− | | value = {{{ | + | | value = {{{street|}}} |
− | | display = | + | | type = text |
− | + | | display = {{{street|}}}, {{{town}}} }} | |
− | }} | ||
{{infoboxRow | {{infoboxRow | ||
− | | label = | + | | label = |
− | | name = | + | | name = Town{{#var:get|contactSuffix|}} |
− | | value = {{{ | + | | value = {{{town|}}} |
− | | type = text | + | | display = |
− | + | | type = text }} | |
− | }} | ||
{{infoboxRow | {{infoboxRow | ||
− | | label | + | | label = |
− | | name | + | | name = Website{{#var:get|contactSuffix|}} |
− | | value | + | | value = {{{website|}}} |
− | + | | type = text }} | |
− | | type | ||
− | }} | ||
{{infoboxRow | {{infoboxRow | ||
− | | label = | + | | label = |
− | | name = | + | | name = Email{{#var:get|contactSuffix|}} |
− | | value = {{{ | + | | value = {{{email|}}} |
− | | type = text | + | | display = [mailto:{{{email|}}} {{{email|}}}] |
− | }} | + | | type = text }} |
{{infoboxRow | {{infoboxRow | ||
− | | label = | + | | label = |
− | | name = | + | | name = Email{{#var:get|contactSuffix|}} |
− | | value = {{{ | + | | value = {{{email 2|}}} |
− | | type = text | + | | display = [mailto:{{{email 2|}}} {{{email 2|}}}] |
− | }} | + | | type = text }} |
+ | {{infoboxRow | ||
+ | | label = Phone | ||
+ | | name = Telephone{{#var:get|contactSuffix|}} | ||
+ | | value = {{#if:{{{telephone|}}}|+{{#str:replace|{{#str:replace|{{{telephone|}}}|\(0\)|/}}|[()]|.}}|}} | ||
+ | | display = {{{telephone|}}} | ||
+ | | type = text }}}} | ||
+ | </includeonly> |