You are an anonymous user who can't edit RoboWiki.
Log in if you already have an account. If you would like to become an editor for the wiki, request an account.

Difference between revisions of "Template:MemberInfoBox"

From RoboWiki
Jump to navigation Jump to search
(Add if for mentoryear and pipe escape)
(Add if and pipe escape for member and college cells.)
Line 22: Line 22:
 
! Gender
 
! Gender
 
| {{ucfirst: {{{Gender|}}}}} {{#set:Gender={{{Gender|}}}}}
 
| {{ucfirst: {{{Gender|}}}}} {{#set:Gender={{{Gender|}}}}}
 +
<!-- Begin Member Cells-->
 +
{{#if: {{{MemberInYear|}}} | {{#!:
 
|-
 
|-
 
! Member in Year(s)
 
! Member in Year(s)
 
| {{#arraymap:{{{MemberInYear|}}}|,|x|[[Member of robotics in year::x]]}}
 
| {{#arraymap:{{{MemberInYear|}}}|,|x|[[Member of robotics in year::x]]}}
 +
}}
 +
}}
 +
<!-- End Member Cells -->
 
<!-- Begin Mentor Cells -->
 
<!-- Begin Mentor Cells -->
 
{{#if: {{{MentorInYear|}}} | {{#!:
 
{{#if: {{{MentorInYear|}}} | {{#!:
Line 33: Line 38:
 
}}
 
}}
 
<!-- End Mentor Cells -->
 
<!-- End Mentor Cells -->
 +
<!-- Begin College Cells -->
 +
{{#if: {{[College|}}} | {{#!:
 
|-
 
|-
 
! College
 
! College
 
| [[college::{{{College|}}}]]
 
| [[college::{{{College|}}}]]
 +
}}
 +
}}
 +
<!-- End College Cells -->
 
|}
 
|}
 
</includeonly>
 
</includeonly>

Revision as of 21:34, 28 March 2010

It should be called in the following format:

{{MemberInfoBox
|Image=
|Gender=
|MemberInYear=
|MentorInYear=
|College=
}}

Edit the page to see the template text.