Difference between revisions of "Template:Person"

From Hackerspace ACKspace
Jump to: navigation, search
m
(having trouble getting to fix the 'optional' variable)
Line 26: Line 26:
 
! Role
 
! Role
 
| {{#arraymap:{{{Role|}}}|,|x|[[Role::x]]}}
 
| {{#arraymap:{{{Role|}}}|,|x|[[Role::x]]}}
{{#if: {{{BoardRole|}}} |
+
|-
{{{Template:!}}}-
+
! Board Role
! BoardRole
+
| {{#arraymap:{{{BoardRole|}}}|,|x|[[BoardRole::x]]}}
{{{Template:!}}} {{#arraymap:{{{BoardRole|}}}|,|x|[[BoardRole::x]]}}
 
| }}
 
 
 
 
|-
 
|-
 
! Member since
 
! Member since
Line 48: Line 45:
 
| {{#arraymap:{{{CAcert Assurer|}}}|,|x|[[CAcertAssurer::x]]}}
 
| {{#arraymap:{{{CAcert Assurer|}}}|,|x|[[CAcertAssurer::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>

Revision as of 12:08, 15 October 2011

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

{{Person
|Name=
|Photo=
|Role=
|Member since=
|Homepage=
|IM Address=
|Languages=
|CAcert Assurer=
}}

Edit the page to see the template text.