Template:Volunteers: Difference between revisions
From Future Worlds Center Wiki
Jump to navigationJump to search
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 | <!-- This template is more flexible, it calls the template Person for the name and image fields which are common for all people--> | ||
{| | {| 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=# | |color=#d9f4d3 | ||
|image={{{image}}} | |image={{{image}}} | ||
|name={{{name}}} | |name={{{name}}} | ||
}} }} | }} }} | ||
{| border="0" width="100%" cellspacing="5" style="background-color:# | {| 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 | 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> |
Latest revision as of 08:06, 15 August 2012
|
EXAMPLE ON HOW TO USE THE TEMPLATE
Copy and paste the code below to the page you wish to add a Volunteer's box such as this one:
{{Volunteers |name=Volunteer's name |image=image.jpg |period=write the years of service |service=write the service type |projects= write the Project(s) involving the volunteer |sending_organization=write the Sending Organization of the volunteer |degrees=write the degree(s) of the volunteer |fields=write the field(s) of study of the volunteer |universities=write the university/ies of the volunteer }}
Then replace the content of the variables with your own, for example :
Replace
name=Volunteer's name
With
name=Soteris Demetriou
List of Variables
- name : This variable expects from the editor to assign to it the name of the volunteer
- image : This variable expects from the editor to assign to it the image of the volunteer. You must first upload an image using the upload file option of the toolbox available on the left column of the page. This option is visible if and only if you are logged in.
- period : This variable expects from the editor to assign to it the period at FWC of the volunteer.
- service : This variable expects from the editor to assign to it the service of the volunteer
- projects : This variable expects from the editor to assign to it the projects of the volunteer
- sending_organization : This variable expects from the editor to assign to it the sending_organization of the volunteer
- degrees : This variable expects from the editor to assign to it the degrees of the volunteer
- fields : This variable expects from the editor to assign to it the fields of study of the volunteer
- universities : This variable expects from the editor to assign to it the universities of the volunteer