Template:Person
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (Testing map showing on address availability only) |
m (Trying to hide complete Location information) |
||
Line 56: | Line 56: | ||
| limit=25 | | limit=25 | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#if: {{#show: {{{location|}}} |?Has address }} | | {{#if: {{#show: {{{location|}}} |?Has address }} | | ||
+ | {{!-}} | ||
+ | {{!}} colspan="2" style="padding: 0.5em; color: white; background-color: #AAAAAA" {{!}} <span style="font-size: 120%;">Location</span> | ||
+ | {{!-}} | ||
+ | {{!}} style="padding: 0 7px;" {{!}} '''[[Template:Person#Where|Where]]''': {{!!}} [[Has location::{{{location|}}}]] | ||
+ | ( {{Address | ||
+ | | {{#show: {{{location|}}} | ?Has address|link=none}} | ||
+ | | {{#show: {{{location|}}} | ?Has city}} | ||
+ | | {{#show: {{{location|}}} | ?Has country}} }} ) | ||
+ | {{!-}} | ||
+ | {{!}} colspan="2" style="vertical-align:top; padding: 0 7px;" {{!}} '''[[Template:Person#Map|Map]]''': | ||
+ | {{!-}} | ||
+ | {{!}} colspan="2" style="text-align:center;padding: 0 7px;" {{!}} | ||
{{#display_point: | {{#display_point: | ||
{{#show: {{{location|}}} | ?Has address}} {{#show: {{{location|}}} | ?Has city}}~{{Address|{{#show: {{{location|}}} | ?Has address}}| | {{#show: {{{location|}}} | ?Has address}} {{#show: {{{location|}}} | ?Has city}}~{{Address|{{#show: {{{location|}}} | ?Has address}}| | ||
Line 76: | Line 80: | ||
}} | }} | ||
|} | |} | ||
− | <!-- | + | <!-- Euh, what was that? |
! Address | ! Address | ||
| [[Has coordinates::{{{Address|}}}]] | | [[Has coordinates::{{{Address|}}}]] |
Revision as of 13:16, 24 September 2010
This is the 'Person' template. It should be called in the following format:
{{Person |Firstname= |Surname= |Avatar=<filename> |Address= |Website= |Email= |PGP= |XMPP= |Callsign= |Member of=<comma separated list of other organisations> }}
Edit the page to see the template text.