Template:Volunteers: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
no edit summary
No edit summary
No edit summary
 
(10 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 76: Line 76:
* <b>period</b> : This variable expects from the editor to assign to it the period at FWC of the volunteer.
* <b>period</b> : This variable expects from the editor to assign to it the period at FWC of the volunteer.
* <b>service</b> : This variable expects from the editor to assign to it the service of the volunteer
* <b>service</b> : This variable expects from the editor to assign to it the service of the volunteer
* <b>projects</b> : This variable expects from the editor to assign to it the projectsof the volunteer
* <b>projects</b> : This variable expects from the editor to assign to it the projects of the volunteer
* <b>sending_organization</b> : This variable expects from the editor to assign to it the sending_organization of the volunteer
* <b>sending_organization</b> : This variable expects from the editor to assign to it the sending_organization of the volunteer
* <b>degrees</b> : This variable expects from the editor to assign to it the degrees of the volunteer
* <b>degrees</b> : This variable expects from the editor to assign to it the degrees of the volunteer
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>

Navigation menu