Difference between revisions of "Template:Person"

From Hackerspace ACKspace
Jump to: navigation, search
m (fixed styles: allow small screens)
 
(18 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
|Photo=
 
|Photo=
 
|Role=
 
|Role=
 +
|Committee=
 
|Member since=
 
|Member since=
 
|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>
{| 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 28: Line 32:
 
|-
 
|-
 
{{#if: {{{BoardRole|}}} |
 
{{#if: {{{BoardRole|}}} |
{{Template:!}} Board Role
+
  ! Board Role
{{Template:!}} brdrl
+
  {{Template:!}} {{#arraymap:{{{BoardRole|}}}|,|x|[[BoardRole::x]]}}
{{Template:!}}-
+
  {{Template:!}}-
| unused entry }}
+
}}
! Board Role
+
{{#if: {{{Committee|}}} |
| {{#arraymap:{{{BoardRole|}}}|,|x|[[BoardRole::x]]}}
+
  ! Committee(s)
|-
+
  {{Template:!}} {{#arraymap:{{{Committee|}}}|,|x|[[Committee::x]]}}
 +
  {{Template:!}}-
 +
}}
 
! Member since
 
! Member since
 
| [[Membersince::{{{Member since|}}}]]
 
| [[Membersince::{{{Member since|}}}]]
Line 43: 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]]}}
 
|}
 
|}
 
{{#if: {{{BoardRole|}}} |
 
Has BoardRole: {{#arraymap:{{{BoardRole{{{Template:!}}} }}} {{{Template:!}}},{{{Template:!}}}x{{{Template:!}}}[[BoardRole::x]]}}
 
|No boardrole }}
 
 
  
 
{{#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.