Difference between revisions of "Template:Person"

From Hackerspace ACKspace
Jump to: navigation, search
(added achievements to person template)
m (fixed styles: allow small screens)
 
(14 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
|Photo=
 
|Photo=
 
|Role=
 
|Role=
 +
|Committee=
 
|Member since=
 
|Member since=
 
|Homepage=
 
|Homepage=
Line 13: Line 14:
 
|Languages=
 
|Languages=
 
|CAcert Assurer=
 
|CAcert Assurer=
 +
|PGP key fingerprint=
 
|Achievements=
 
|Achievements=
 
}}
 
}}
Line 18: Line 20:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{| style="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="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>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>User: {{PAGENAME}}</big>
 
|-
 
|-
! colspan=2|[[Image:{{{Photo|}}}|thumb|350px|center]]
+
! colspan=2|{{#if: {{{Photo|}}} | [[Image:{{{Photo|}}}|thumb|350px|center]] | }}
 
|-
 
|-
 
! Name
 
! Name
Line 32: Line 34:
 
   ! Board Role
 
   ! Board Role
 
   {{Template:!}} {{#arraymap:{{{BoardRole|}}}|,|x|[[BoardRole::x]]}}
 
   {{Template:!}} {{#arraymap:{{{BoardRole|}}}|,|x|[[BoardRole::x]]}}
 +
  {{Template:!}}-
 +
}}
 +
{{#if: {{{Committee|}}} |
 +
  ! Committee(s)
 +
  {{Template:!}} {{#arraymap:{{{Committee|}}}|,|x|[[Committee::x]]}}
 
   {{Template:!}}-
 
   {{Template:!}}-
 
}}
 
}}
Line 47: Line 54:
 
|-
 
|-
 
! 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
 
! Achievements
Line 58: Line 71:
 
{{#ifeq:{{{CAcert Assurer}}}|Yes|[[Category:CAcert Assurers]]}}
 
{{#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.