Difference between revisions of "Template:Person"

From Whitespace (Hackerspace Gent)
Jump to: navigation, search
 
(33 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Person
 
{{Person
|Address=
+
| Address=
|Homepage=
+
| Homepage=
|Blog URL=
+
| Blog URL=
|Email=
+
| Email=
 +
| Twitter name=
 +
| PublicKey=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>
+
</noinclude><includeonly>{{#Widget:PersonalPamela|username={{PAGENAME}}}}
{| class="wikitable"
+
== Who is this? ==
! Homepage
+
 
| [[Has website::{{{Homepage|}}}]]
+
{{#if:{{{Homepage|}}}{{{Blog URL|}}}{{{Email|}}}{{{Address|}}}
|-
+
|{{#if:{{{Homepage|}}}|* Website: [[Has website::{{{Homepage|}}}]]|}}
! Blog URL
+
{{#if:{{{Blog URL|}}}|* Blog: [[Has blog URL::{{{Blog URL|}}}]]|}}
| [[Has blog URL::{{{Blog URL|}}}]]
+
{{#if:{{{Email|}}}|* Email: [[Has email address::{{{Email|}}}]]|}}
|-
+
{{#if:{{{Twitter name|}}}|* Twitter: [[Has twitter::https://twitter.com/{{{Twitter name|}}}]]|}}
! Email address
+
{{#if:{{{Address|}}}|*  Coordinates: [https://maps.google.be/maps?q={{urlencode:{{{Address|}}}}} [[Has coordinates::{{{Address|}}}]]]|}}|Someone who hasn't entered any personal info o_O Click the "edit with form" tab to fix this.}}
| [[Has email address::{{{Email|}}}]]
+
 
|-
+
{{#if:{{{PublicKey|}}}|
! Address
+
 
| [[Has coordinates::{{{Address|}}}]]
+
== Public Key ==
{{#display_point:{{{Address|}}}~{{PAGENAME}}}}
+
{{PublicKey|{{{PublicKey|}}}}}
|-
+
|}}
! Plans to attend
+
 
|
+
== At 0x20 ==
{{
+
 
#Ask: [[Category:Events]] [[Has end date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] [[Has attendee::{{PAGENAME}}]] OR [[Category:Events]] [[Has end date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] [[Has presenter::{{PAGENAME}}]]
+
* {{
 +
#Ask: [[Category:Projects]] [[Is current::Yes]] [[Has participant::{{PAGENAME}}]]
 +
| intro=Is currently participating in these [[projects]]:&nbsp;
 +
| default=Is not currently participating in any [[projects]].
 +
| format=list
 +
| limit=25
 +
}}
 +
* {{
 +
#Ask: [[Category:Events]] [[Has end date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] [[Has attendee::{{PAGENAME}}]]
 +
| intro=Plans to attend these [[events]]:&nbsp;
 +
| default=Is not planning to attend any [[events]].
 
| format=list
 
| format=list
 
| sort=Has end date
 
| sort=Has end date
Line 35: Line 47:
 
| limit=25
 
| limit=25
 
}}
 
}}
|-
+
* {{
! Attended events
+
#Ask: [[Category:Events]] [[Has end date::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] [[Has attendee::{{PAGENAME}}]]
|
+
| intro=Has attended these [[events]]:&nbsp;
{{
+
| default=Has not attended any [[events]] yet.
#Ask: [[Category:Events]] [[Has end date::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] [[Has attendee::{{PAGENAME}}]] OR [[Category:Events]] [[Has end date::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] [[Has presenter::{{PAGENAME}}]]
+
 
| format=list
 
| format=list
 
| sort=Has end date
 
| sort=Has end date
 
| order=desc
 
| order=desc
| limit=25
+
| limit=10
 
}}
 
}}
|}
+
* Attended or plans to attend a total of [[Has event amount::{{#ask:[[Has attendee::{{PAGENAME}}]]|format=count}}]] events.
  
 
[[Category:People]]
 
[[Category:People]]
 
</includeonly>
 
</includeonly>

Latest revision as of 16:17, 14 January 2013

This is the 'Person' template. It should be called in the following format:

{{Person
| Address=
| Homepage=
| Blog URL=
| Email=
| Twitter name=
| PublicKey=
}}

Edit the page to see the template text.