Template:Person
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (smw maintenance in progress) |
m |
||
Line 25: | Line 25: | ||
--> | [[Image:Person.png|link=|left|40px]] <span style="font-size: 150%;">{{PAGENAME}}</span> | --> | [[Image:Person.png|link=|left|40px]] <span style="font-size: 150%;">{{PAGENAME}}</span> | ||
|- | |- | ||
− | | colspan="2" style="padding: 10px 0px; text-align:center;" |<!-- setting custom image if available-->[[Image:{{#if: {{{ | + | | colspan="2" style="padding: 10px 0px; text-align:center;" |<!-- setting custom image if available-->[[Image:{{#if: {{{avatar|}}} |<!--then-->{{{avatar}}}|<!--else-->G8033.png}}|200px|link=]] |
|- | |- | ||
| style="padding: 0 7px;" | '''[[Template:Person#Website|Website]]''': || [[Has website::{{{Website}}}]] | | style="padding: 0 7px;" | '''[[Template:Person#Website|Website]]''': || [[Has website::{{{Website}}}]] | ||
Line 31: | Line 31: | ||
| style="padding: 0 7px;" | '''[[Template:Person#Email|Email]]''': || [[Has email address::{{{Email|}}}]] | | style="padding: 0 7px;" | '''[[Template:Person#Email|Email]]''': || [[Has email address::{{{Email|}}}]] | ||
|- | |- | ||
− | | style="padding: 0 7px;" | '''[[Template: | + | | style="padding: 0 7px;" | '''[[Template:Person#Xmpp|XMPP]]''': || [[Has xmpp address::{{{XMPP|}}}]] |
|- | |- | ||
− | | style="padding: 0 7px;" | '''[[Template: | + | | style="padding: 0 7px;" | '''[[Template:Person#Callsign|Callsign]]''': || [[Has callsign::{{{Callsign|}}}]] |
|- | |- | ||
− | | style="padding: 0 7px;" | '''[[Template: | + | | style="padding: 0 7px;" | '''[[Template:Person#Callsign|Callsign]]''': || <!-- implement arraymap --> |
|- | |- | ||
− | | style="padding: 0 7px;" | '''[[Template: | + | | style="padding: 0 7px;" | '''[[Template:Person#Attending|Plans to attend]]''': || {{#Ask: [[Category:Events]] |
+ | [[Has EndDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] <q>[[Has attendee::{{PAGENAME}}]] OR [[Has presenter::{{PAGENAME}}]]</q> | ||
+ | | format=list | ||
+ | | sort=Has EndDate | ||
+ | | order=desc | ||
+ | | limit=25 | ||
+ | }} | ||
|- | |- | ||
| colspan="2" style="padding: 0.5em; color: white; background-color: #AAAAAA" | <span style="font-size: 120%;">Location</span> | | colspan="2" style="padding: 0.5em; color: white; background-color: #AAAAAA" | <span style="font-size: 120%;">Location</span> | ||
− | |||
− | |||
|- | |- | ||
| style="padding: 0 7px;" | '''[[Template:Event#Where|Where]]''': || [[Has location::{{{location|}}}]] ({{Address|{{#show: {{{location|}}} | ?Has address|link=none}}|{{#show: {{{location|}}} | ?Has city}}|{{#show: {{{location|}}} | ?Has country}}}}) | | style="padding: 0 7px;" | '''[[Template:Event#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: | + | | colspan="2" style="vertical-align:top; padding: 0 7px;" | '''[[Template:Person#Map|Map]]''': |
|- | |- | ||
| colspan="2" style="text-align:center;padding: 0 7px;" | | | colspan="2" style="text-align:center;padding: 0 7px;" | | ||
Line 57: | Line 61: | ||
}} | }} | ||
|} | |} | ||
− | <!- | + | <!-- |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
! Address | ! Address | ||
| [[Has coordinates::{{{Address|}}}]] | | [[Has coordinates::{{{Address|}}}]] | ||
{{#display_point:{{{Address|}}}~{{PAGENAME}}}} | {{#display_point:{{{Address|}}}~{{PAGENAME}}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
! Attended events | ! Attended events | ||
Line 89: | Line 75: | ||
| limit=25 | | limit=25 | ||
}} | }} | ||
− | + | --> | |
− | + | ||
[[Category:People]] | [[Category:People]] | ||
</includeonly> | </includeonly> |
Revision as of 21:52, 1 May 2010
This is the 'Person' template. It should be called in the following format:
{{Person |Firstname= |Surname= |Avatar=<filename> |Address= |Website= |Email= |XMPP= |Callsign= |Member of=<comma separated list of other organisations> }}
Edit the page to see the template text.