Template:Person

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
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: {{{logo|}}} |<!--then-->{{{logo}}}|<!--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#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:Meeting#Recurring|Recurring]]''': || [[Is Recurring::{{{recurring|}}}]]
+
| style="padding: 0 7px;"  | '''[[Template:Person#Xmpp|XMPP]]''': || [[Has xmpp address::{{{XMPP|}}}]]
 
|-
 
|-
| style="padding: 0 7px;" | '''[[Template:Meeting#Homepage|Homepage]]''':  || [[url::{{{url|}}}]]
+
| style="padding: 0 7px;" | '''[[Template:Person#Callsign|Callsign]]''':  || [[Has callsign::{{{Callsign|}}}]]
 
|-
 
|-
| style="padding: 0 7px;" | '''[[Template:Meeting#Attendees|Attendees]]''': || | [[Attendees::{{{attendees|}}}]]
+
| style="padding: 0 7px;" | '''[[Template:Person#Callsign|Callsign]]''': || <!-- implement arraymap -->
 
|-
 
|-
| style="padding: 0 7px;" | '''[[Template:Meeting#Contact Person|Contact Person(s)]]''': || {{#arraymap:{{{contact|}}}|,|x|[[Has Contact::User:x|x]] ([[Special:EmailUser/x|mail]]) |, }}
+
| 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#Venue|Venue]]''':  || [[At Venue::{{{venue|}}}]]
 
 
|-
 
|-
 
| 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:Meeting#Map|Map]]''':  
+
| 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:
 
}}
 
}}
 
|}
 
|}
<!-- -->
+
<!--
! XMPP
+
| [[Has xmpp address::{{{XMPP|}}}]]
+
|-
+
! Callsign
+
| [[Has callsign::{{{Callsign|}}}]]
+
|-
+
 
! Address
 
! Address
 
| [[Has coordinates::{{{Address|}}}]]
 
| [[Has coordinates::{{{Address|}}}]]
 
{{#display_point:{{{Address|}}}~{{PAGENAME}}}}
 
{{#display_point:{{{Address|}}}~{{PAGENAME}}}}
|-
 
! Member of
 
| <!-- implement arraymap -->
 
! Plans to attend
 
|
 
{{
 
#Ask: [[Category:Events]] [[Has end date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] <q>[[Has attendee::{{PAGENAME}}]] OR [[Has presenter::{{PAGENAME}}]]</q>
 
| format=list
 
| sort=Has end date
 
| order=desc
 
| limit=25
 
}}
 
 
|-
 
|-
 
! Attended events
 
! Attended events
Line 89: Line 75:
 
| limit=25
 
| limit=25
 
}}
 
}}
|}
+
-->
 
+
 
[[Category:People]]
 
[[Category:People]]
 
</includeonly>
 
</includeonly>

Revision as of 22: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.

Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools