Template:Person
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
|||
(42 intermediate revisions by 4 users not shown) | |||
Line 12: | Line 12: | ||
|PGP= | |PGP= | ||
|XMPP= | |XMPP= | ||
− | |Callsign= | + | |Callsign=<this is for radio amateurs> |
− | |Member of= | + | |Skills= |
+ | |Member of= | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
Edit the page to see the template text. | Edit the page to see the template text. | ||
+ | |||
+ | == Skills == | ||
+ | See the [[Skills]] page for a list of skills per member. | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
--> {| class="" cellpadding="2" cellspacing="0" <!-- | --> {| class="" cellpadding="2" cellspacing="0" <!-- | ||
Line 28: | Line 33: | ||
| colspan="2" style="padding: 10px 0px; text-align:center;" |<!-- setting custom image if available-->[[Image:{{#if: {{{avatar|}}} |<!--then-->{{{avatar}}}|<!--else-->G8033.png}}|200px|link=]] | | 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#Name|Name]]''': || [[Has firstname::{{{Firstname}}}]] [[Has surname::{{{Surname|}}}]] | + | | style="padding: 0 7px;" | '''[[Template:Person#Name|Name]]''': || [[Has firstname::{{{Firstname|}}}]] [[Has surname::{{{Surname|}}}]] |
|- | |- | ||
| style="padding: 0 7px;" | '''[[Template:Person#Website|Website]]''': || [[Has website::{{{Website|}}}]] | | style="padding: 0 7px;" | '''[[Template:Person#Website|Website]]''': || [[Has website::{{{Website|}}}]] | ||
|- | |- | ||
− | | style="padding: 0 7px;" | '''[[Template:Person#Email|Email]]''': || [[Has email address::{{#replace:{{{Email}}}|@|<nowiki> </nowiki>theAtSign<nowiki> </nowiki>}}]] | + | | style="padding: 0 7px;" | '''[[Template:Person#Email|Email]]''': || [[Has email address::{{#replace:{{{Email|}}}|@|<nowiki> </nowiki>theAtSign<nowiki> </nowiki>}}]] |
|- | |- | ||
| style="padding: 0 7px;" | '''[[Template:Person#PGP|PGP]]''': || [[Has pgp keyid::{{{PGP|}}}]] | | style="padding: 0 7px;" | '''[[Template:Person#PGP|PGP]]''': || [[Has pgp keyid::{{{PGP|}}}]] | ||
|- | |- | ||
− | | style="padding: 0 7px;" | '''[[Template:Person#Xmpp|XMPP]]''': || [[Has xmpp address::{{#replace:{{{XMPP}}}|@|<nowiki> </nowiki>theAtSign<nowiki> </nowiki>}}]] | + | | style="padding: 0 7px;" | '''[[Template:Person#Xmpp|XMPP]]''': || [[Has xmpp address::{{#replace:{{{XMPP|}}}|@|<nowiki> </nowiki>theAtSign<nowiki> </nowiki>}}]] |
|- | |- | ||
| style="padding: 0 7px;" | '''[[Template:Person#Callsign|Callsign]]''': || [[Has callsign::{{{Callsign|}}}]] | | style="padding: 0 7px;" | '''[[Template:Person#Callsign|Callsign]]''': || [[Has callsign::{{{Callsign|}}}]] | ||
|- | |- | ||
− | | style="padding: 0 7px;" | '''[[ | + | | style="padding: 0 7px;" | '''[[Circles of Interest|Has interests]]''': || {{#ask: [[Has Interest::{{FULLPAGENAME}}]] }} |
|- | |- | ||
− | | style="padding: 0 7px;" | '''[[Template:Person#Attending|Plans to attend]]''': || {{#Ask: [[EndDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] <q>[[Has attendee::{{FULLPAGENAME}}]] OR [[Has presenter::{{FULLPAGENAME}}]]</q> | + | | style="padding: 0 7px;" | '''[[Template:Person#Skills|Has these skills]]''': || {{#arraymap:{{{Skills|}}}|, |x|[[Has Skill::{{lc:x}}]]}} |
+ | |- | ||
+ | | style="padding: 0 7px;" | '''[[Template:Person#MemberOf|Is also a member of]]''': || {{#arraymap:{{{Member of|}}}|, |x|[[Is Member of ::Organisation:x|x]]}} | ||
+ | |- | ||
+ | | style="padding: 0 7px;vertical-align:top;" | '''[[Template:Person#Attending|Plans to attend]]''': || {{#Ask: [[EndDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] <q>[[Has attendee::{{FULLPAGENAME}}]] OR [[Has presenter::{{FULLPAGENAME}}]]</q> | ||
| format=list | | format=list | ||
| sort=EndDate | | sort=EndDate | ||
| order=desc | | order=desc | ||
− | | limit= | + | | limit=10 |
}} | }} | ||
|- | |- | ||
− | | style="padding: 0 7px;" | '''[[Template:Person#Attended|Attended]]''': || {{#Ask: | + | | style="padding: 0 7px;vertical-align:top;" | '''[[Template:Person#Attended|Attended]]''': || {{#Ask: |
[[EndDate::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] <q>[[Has attendee::{{FULLPAGENAME}}]] OR [[Has presenter::{{FULLPAGENAME}}]]</q> | [[EndDate::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] <q>[[Has attendee::{{FULLPAGENAME}}]] OR [[Has presenter::{{FULLPAGENAME}}]]</q> | ||
| format=list | | format=list | ||
| sort=EndDate | | sort=EndDate | ||
| order=desc | | order=desc | ||
− | | limit= | + | | limit=20 |
}} | }} | ||
− | |- | + | {{#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|}}}]]<br/><!-- | |
− | + | -->({{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]]''': | |
+ | {{!-}} | ||
+ | {{!}}{{!!}} style="text-align:center;padding: 5px;" {{!}} <!-- using location~title~label syntax --> | ||
{{ | {{ | ||
#display_point: | #display_point: | ||
− | {{#show: {{{location|}}} | ?Has address}} {{#show: {{{location|}}} | ?Has city}}~{{Address|{{#show: {{{location|}}} | ?Has address}}|{{#show: {{{location|}}} | ?Has city}}|{{#show: {{{location|}}} | ?Has country}}}} | + | {{#show: {{{location|}}} | ?Has address}} {{#show: {{{location|}}} | ?Has city}}~{{Address|{{#show: {{{location|}}} | ?Has address}}|{{#show: {{{location|}}} | ?Has city}}|{{#show: {{{location|}}} | ?Has country}}~This is where {{PAGENAME}} lives.; |
+ | }} | ||
|width=250 | |width=250 | ||
|height=250 | |height=250 | ||
− | | | + | |geoservice=google |
− | |controls= | + | |controls=pan, zoom |
}} | }} | ||
+ | }} <!-- end if has address --> | ||
|} | |} | ||
− | <!-- | + | <!-- Euh, what was that? |
! Address | ! Address | ||
| [[Has coordinates::{{{Address|}}}]] | | [[Has coordinates::{{{Address|}}}]] | ||
{{#display_point:{{{Address|}}}~{{PAGENAME}}}} | {{#display_point:{{{Address|}}}~{{PAGENAME}}}} | ||
--> | --> | ||
+ | |||
[[Category:Person]] | [[Category:Person]] | ||
</includeonly> | </includeonly> |
Latest revision as of 20:06, 14 March 2015
This is the 'Person' template. It should be called in the following format:
{{Person |Firstname= |Surname= |Avatar=<filename> |Address= |Website= |Email= |PGP= |XMPP= |Callsign=<this is for radio amateurs> |Skills= |Member of= }}
Edit the page to see the template text.
[edit] Skills
See the Skills page for a list of skills per member.