Difference between revisions of "Template:Contact"
(52 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | *[[Template:Infobox]] | ||
+ | *[[Template:InfoboxRow]] | ||
+ | *[[Template:Contact]] | ||
+ | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | + | {{#if:{{{save|}}}|{{#var:set|contactSuffix|}} | |
− | {{infoboxRow|Contact|{{{ | + | {{infoboxRow |
− | }}{{ | + | | 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 | ||
+ | | 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 | ||
+ | | label = | ||
+ | | name = Website{{#var:get|contactSuffix|}} | ||
+ | | value = {{{website|}}} | ||
+ | | type = text }} | ||
+ | {{infoboxRow | ||
+ | | label = | ||
+ | | name = Email{{#var:get|contactSuffix|}} | ||
+ | | value = {{{email|}}} | ||
+ | | display = [mailto:{{{email|}}} {{{email|}}}] | ||
+ | | type = text }} | ||
+ | {{infoboxRow | ||
+ | | label = | ||
+ | | name = Email{{#var:get|contactSuffix|}} | ||
+ | | value = {{{email 2|}}} | ||
+ | | 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> | </includeonly> |