Difference between revisions of "Template:Person"

From Hackerspace ACKspace
Jump to: navigation, search
(Undo revision 7054 by Stuiterveer (talk))
m (fixed styles: allow small screens)
 
(7 intermediate revisions by one other user not shown)
Line 14: Line 14:
 
|Languages=
 
|Languages=
 
|CAcert Assurer=
 
|CAcert Assurer=
|PGP key=
 
 
|PGP key fingerprint=
 
|PGP key fingerprint=
 
|Achievements=
 
|Achievements=
Line 21: 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 61: Line 60:
 
|-
 
|-
 
! PGP key
 
! PGP key
| {{#if: {{{PGP key|}}} | [[PGP key::http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x{{{PGP key|}}}|{{{PGP key|}}}]][[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]. }}
+
| {{#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
Line 72: 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.