Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Volunteers: Difference between revisions

Template page
No edit summary
No edit summary
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!-- Alternative Solution -->
<!-- Alternative Solution -->
<!-- This template is more object-oriented, it calls the template Person for the name and image fields which are common for all people-->
<!-- This template is more flexible, it calls the template Person for the name and image fields which are common for all people-->
{| border="1" width="250" style="float:right;background-color:#C6DEFF;line-height:90%;word-spacing:0.5px;"
{| width="285" style="margin:5px 0px 5px 10px;float:right;clear:right;border:1px solid #ccc;background-color:#d9f4d3;line-height:1.5em;word-spacing:0.5px;"
|
|
{{#if:{{{image|}}} |{{Person
{{#if:{{{image|}}} |{{Person
|color=#B5EAAA
|color=#d9f4d3
|image={{{image}}}
|image={{{image}}}
|name={{{name}}}
|name={{{name}}}
}} }}
}} }}
{| border="0" width="100%" cellspacing="5" style="background-color:#B5EAAA;padding:0px"
{| border="0" width="100%" cellspacing="5" style="background-color:#d9f4d3;padding:0px"
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| width="20%" |<b>{{#if:{{{period|}}} | ''Years of service'' }}</b>
| width="20%" |<b>{{#if:{{{period|}}} | '''Years of service''' }}</b>
||{{#if:{{{period|}}} | {{{period}}} }}
||{{#if:{{{period|}}} | {{{period}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{service|}}} | ''Service type'' }}</b>
| <b>{{#if:{{{service|}}} | '''Service type''' }}</b>
||{{#if:{{{service|}}} | {{{service}}} }}
||{{#if:{{{service|}}} | {{{service}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
|  <b>{{#if:{{{projects|}}} | ''Project(s)'' }}</b>
|  <b>{{#if:{{{projects|}}} | '''Project(s)''' }}</b>
||{{#if:{{{projects|}}} | {{{projects}}} }}
||{{#if:{{{projects|}}} | {{{projects}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{sending_organization|}}} | ''Sending Organization'' }}</b>
| <b>{{#if:{{{sending_organization|}}} | '''Sending Organization''' }}</b>
||{{#if:{{{sending_organization|}}} | {{{sending_organization}}} }}
||{{#if:{{{sending_organization|}}} | {{{sending_organization}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{degrees|}}} | ''Degree(s)'' }}</b>
| <b>{{#if:{{{degrees|}}} | '''Degree(s)''' }}</b>
||{{#if:{{{degrees|}}} | {{{degrees}}} }}
||{{#if:{{{degrees|}}} | {{{degrees}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{fields|}}} | ''Field(s) of Study'' }}</b>
| <b>{{#if:{{{fields|}}} | '''Field(s) of Study''' }}</b>
||{{#if:{{{fields|}}} | {{{fields}}} }}
||{{#if:{{{fields|}}} | {{{fields}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{universities|}}} | ''University(ies)'' }}</b>
| <b>{{#if:{{{universities|}}} | '''University(ies)''' }}</b>
||{{#if:{{{universities|}}} | {{{universities}}} }}
||{{#if:{{{universities|}}} | {{{universities}}} }}
|}
|}
Line 51: Line 51:




Copy and paste the code below to the page you wish to add an SDD Report table such as this one:
Copy and paste the code below to the page you wish to add a Volunteer's box such as this one:
<pre>
<pre>
{{Volunteers                                           
{{Volunteers                                           
Line 82: Line 82:
* <b>universities</b> : This variable expects from the editor to assign to it the universities of the volunteer
* <b>universities</b> : This variable expects from the editor to assign to it the universities of the volunteer
</noinclude>
</noinclude>
<noinclude>[[Category:T/People]]</noinclude>