Difference between revisions of "Template:Person"

From Hackerspace ACKspace
Jump to: navigation, search
 
m (fixed styles: allow small screens)
 
(33 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
|Photo=
 
|Photo=
 
|Role=
 
|Role=
 +
|Committee=
 
|Member since=
 
|Member since=
|E-Mail Address=
 
 
|Homepage=
 
|Homepage=
 
|IM Address=
 
|IM Address=
 +
|Extension=
 
|Languages=
 
|Languages=
 
|CAcert Assurer=
 
|CAcert Assurer=
 +
|PGP key fingerprint=
 +
|Achievements=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{| class="wikitable"
+
{| style="max-width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 +
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>User: {{PAGENAME}}</big>
 +
|-
 +
! colspan=2|{{#if: {{{Photo|}}} | [[Image:{{{Photo|}}}|thumb|350px|center]] | }}
 +
|-
 
! Name
 
! Name
 
| [[Name::{{{Name|}}}]]
 
| [[Name::{{{Name|}}}]]
|-
 
! Photo
 
| [[Photo::{{{Photo|}}}]]
 
 
|-
 
|-
 
! Role
 
! Role
 
| {{#arraymap:{{{Role|}}}|,|x|[[Role::x]]}}
 
| {{#arraymap:{{{Role|}}}|,|x|[[Role::x]]}}
 
|-
 
|-
 +
{{#if: {{{BoardRole|}}} |
 +
  ! Board Role
 +
  {{Template:!}} {{#arraymap:{{{BoardRole|}}}|,|x|[[BoardRole::x]]}}
 +
  {{Template:!}}-
 +
}}
 +
{{#if: {{{Committee|}}} |
 +
  ! Committee(s)
 +
  {{Template:!}} {{#arraymap:{{{Committee|}}}|,|x|[[Committee::x]]}}
 +
  {{Template:!}}-
 +
}}
 
! Member since
 
! Member since
 
| [[Membersince::{{{Member since|}}}]]
 
| [[Membersince::{{{Member since|}}}]]
|-
 
! E-Mail Address
 
| [[EMailAddress::{{{E-Mail Address|}}}]]
 
 
|-
 
|-
 
! Homepage
 
! Homepage
Line 38: Line 49:
 
! IM Address
 
! IM Address
 
| [[IMAddress::{{{IM Address|}}}]]
 
| [[IMAddress::{{{IM Address|}}}]]
 +
|-
 +
! Extension
 +
| [[Extension::{{{Extension|}}}]]
 
|-
 
|-
 
! Languages
 
! Languages
| [[Languages::{{{Languages|}}}]]
+
| {{#arraymap:{{{Languages|}}}|,|x|[[Languages::x]]}}
 
|-
 
|-
 
! CAcert Assurer
 
! CAcert Assurer
 
| {{#arraymap:{{{CAcert Assurer|}}}|,|x|[[CAcertAssurer::x]]}}
 
| {{#arraymap:{{{CAcert Assurer|}}}|,|x|[[CAcertAssurer::x]]}}
 +
|-
 +
! PGP key
 +
| {{#if: {{{PGP key fingerprint|}}} | [[PGP key::http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x{{#sub:{{#replace:{{{PGP key fingerprint|}}}| |}}|-16}}|{{#sub:{{#replace:{{{PGP key fingerprint|}}}| |}}|-16}}]][[Category:PGP keys]] | No PGP key defined. Create your PGP key pair by following [https://ssd.eff.org/en/module/how-use-pgp-linux this guide]. }}
 +
|-
 +
! PGP key fingerprint
 +
| [[PGP key fingerprint::{{{PGP key fingerprint|}}}]]
 +
|-
 +
! Achievements
 +
| {{#arraymap:{{{Achievements|}}}|,|x|[[Achievement::x]]}}
 
|}
 
|}
  
 +
{{#ifeq:{{{CAcert Assurer}}}|Yes|[[Category:CAcert Assurers]]}}
 
[[Category:People]]
 
[[Category:People]]
</includeonly>
+
<includeonly>

Latest revision as of 14:07, 20 March 2018

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

{{Person
|Name=
|Photo=
|Role=
|Committee=
|Member since=
|Homepage=
|IM Address=
|Extension=
|Languages=
|CAcert Assurer=
|PGP key fingerprint=
|Achievements=
}}

Edit the page to see the template text.