Difference between revisions of "Template:Contact"
(11 intermediate revisions by 2 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 | |
− | + | | label = | |
− | + | | name = Contact{{#var:get|contactSuffix|}} | |
− | + | | value = {{{name|}}} | |
− | + | | display = '''{{{name|}}}'''{{#if:{{{role|}}}|, {{{role}}}}} | |
− | + | | type = text }} | |
− | | label = | + | {{infoboxRow |
− | | name = Contact{{#var:get|contactSuffix|}} | + | | hidden = true |
− | | value = {{{name|}}} | + | | name = Role{{#var:get|contactSuffix|}} |
− | | display = '''{{{name|}}}'''{{#if:{{{role|}}}|, {{{role}}}}} | + | | value = {{{role|}}} |
− | | type = text | + | | type = text }} |
− | }}{{infoboxRow | + | {{infoboxRow |
− | | hidden = true | + | | label = |
− | | name = Role{{#var:get|contactSuffix|}} | + | | name = Street{{#var:get|contactSuffix|}} |
− | | value = {{{role|}}} | + | | value = {{{street|}}} |
− | | type = text | + | | type = text |
− | }}{{infoboxRow | + | | display = {{{street|}}}, {{{town}}} }} |
− | | label = | + | {{infoboxRow |
− | | name | + | | label = |
− | | value = {{{ | + | | name = Town{{#var:get|contactSuffix|}} |
− | | type | + | | value = {{{town|}}} |
− | + | | display = | |
− | | | + | | type = text }} |
− | + | {{infoboxRow | |
− | + | | label = | |
− | + | | name = Website{{#var:get|contactSuffix|}} | |
− | + | | value = {{{website|}}} | |
− | + | | type = text }} | |
− | | label = | + | {{infoboxRow |
− | | name | + | | label = |
− | | value = {{{ | + | | name = Email{{#var:get|contactSuffix|}} |
− | | display = | + | | value = {{{email|}}} |
− | | type | + | | display = [mailto:{{{email|}}} {{{email|}}}] |
− | }}{{infoboxRow | + | | type = text }} |
− | | label | + | {{infoboxRow |
− | | name | + | | label = |
− | | value | + | | name = Email{{#var:get|contactSuffix|}} |
− | | type | + | | value = {{{email 2|}}} |
− | + | | display = [mailto:{{{email 2|}}} {{{email 2|}}}] | |
− | + | | type = text }} | |
− | | label | + | {{infoboxRow |
− | | name | + | | label = Phone |
− | | value | + | | name = Telephone{{#var:get|contactSuffix|}} |
− | | display = | + | | value = {{#if:{{{telephone|}}}|+{{#str:replace|{{#str:replace|{{{telephone|}}}|\(0\)|/}}|[()]|.}}|}} |
− | | type | + | | display = {{{telephone|}}} |
− | }}{{infoboxRow | + | | type = text }}}} |
− | | label = | + | </includeonly> |
− | | name = | ||
− | | value = {{ | ||
− | |||
− | | type = text | ||
− | }}{{infoboxRow | ||
− | | label = | ||
− | | name = | ||
− | | value = {{#if:{{{ | ||
− | | display = {{{ | ||
− | | type = text | ||
− | }}</includeonly> |