Difference between revisions of "Template:Person"

From Whitespace (Hackerspace Gent)
Jump to: navigation, search
 
(19 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=
|PublicKey=
+
| 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}}}}
 
== Who is this? ==
 
== Who is this? ==
  
Line 19: Line 20:
 
{{#if:{{{Blog URL|}}}|* Blog: [[Has blog URL::{{{Blog URL|}}}]]|}}
 
{{#if:{{{Blog URL|}}}|* Blog: [[Has blog URL::{{{Blog URL|}}}]]|}}
 
{{#if:{{{Email|}}}|* Email: [[Has email address::{{{Email|}}}]]|}}
 
{{#if:{{{Email|}}}|* Email: [[Has email address::{{{Email|}}}]]|}}
{{#if:{{{Address|}}}|* Coordinates: [[Has coordinates::{{{Address|}}}]]|}}|Someone who hasn't entered any personal info o_O Click the "edit with form" tab to fix this.}}
+
{{#if:{{{Twitter name|}}}|* Twitter: [[Has twitter::https://twitter.com/{{{Twitter name|}}}]]|}}
{{#if:{{{PublicKey|}}}| {{PublicKey|{{{PublicKey|}}}}}|}}
+
{{#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.}}
 +
 
 +
{{#if:{{{PublicKey|}}}|  
 +
 
 +
== Public Key ==
 +
{{PublicKey|{{{PublicKey|}}}}}
 +
|}}
  
 
== At 0x20 ==
 
== At 0x20 ==
Line 32: Line 39:
 
}}
 
}}
 
* {{
 
* {{
#Ask: [[Category:Events]] [[Has end date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] <q>[[Has attendee::{{PAGENAME}}]] OR [[Has presenter::{{PAGENAME}}]]</q>
+
#Ask: [[Category:Events]] [[Has end date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] [[Has attendee::{{PAGENAME}}]]
 
| intro=Plans to attend these [[events]]:&nbsp;
 
| intro=Plans to attend these [[events]]:&nbsp;
 
| default=Is not planning to attend any [[events]].
 
| default=Is not planning to attend any [[events]].
Line 41: Line 48:
 
}}
 
}}
 
* {{
 
* {{
#Ask: [[Category:Events]] [[Has end date::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] <q>[[Has attendee::{{PAGENAME}}]] OR [[Has presenter::{{PAGENAME}}]]</q>
+
#Ask: [[Category:Events]] [[Has end date::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] [[Has attendee::{{PAGENAME}}]]
 
| intro=Has attended these [[events]]:&nbsp;
 
| intro=Has attended these [[events]]:&nbsp;
 
| default=Has not attended any [[events]] yet.
 
| default=Has not attended any [[events]] yet.
Line 49: Line 56:
 
| limit=10
 
| 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 17: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.