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 silent annotation for gender.)
(Add college field.)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Member" template.
 
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
Line 7: Line 6:
 
|MemberInYear=
 
|MemberInYear=
 
|MentorInYear=
 
|MentorInYear=
 +
|College=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 +
[[Category:Templates]]
 
</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="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;"
Line 18: Line 19:
 
|-
 
|-
 
! Gender
 
! Gender
| {{ucfirst: {{{Gender|}}}}}
+
| {{ucfirst: {{{Gender|}}}}} {{#set:Gender={{{Gender|}}}}}
 
|-
 
|-
 
! Member in Year(s)
 
! Member in Year(s)
Line 25: Line 26:
 
! Mentor in Year(s)
 
! Mentor in Year(s)
 
| {{#arraymap:{{{MentorInYear|}}}|,|x|[[Mentor in year::x]]}}
 
| {{#arraymap:{{{MentorInYear|}}}|,|x|[[Mentor in year::x]]}}
 +
|-
 +
! College
 +
| [[college:{{{College|}}}]]
 
|}
 
|}
 
{{{Intro|}}}
 
 
{{#set:Gender={{{Gender|}}}}}
 
[[Category:Members]]
 
 
</includeonly>
 
</includeonly>

Revision as of 12:43, 23 March 2010

It should be called in the following format:

{{Member
|Gender=
|MemberInYear=
|MentorInYear=
|College=
}}

Edit the page to see the template text.