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