Template:Volunteers: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary
No edit summary
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 object-oriented, it calls the template Person for the name and image fields which are common for all people-->
{| width="250" style="border:1px solid #ccc;float:right;background-color:#B5EAAA;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:#E3E4FA;line-height:1.5em;word-spacing:0.5px;"
|
|
{{#if:{{{image|}}} |{{Person
{{#if:{{{image|}}} |{{Person

Revision as of 03:17, 7 December 2011




EXAMPLE ON HOW TO USE THE TEMPLATE

Volunteer's name
Volunteer's name
Years of service write the years of service
Service type write the service type
Project(s) write the Project(s) involving the volunteer
Sending Organization write the Sending Organization of the volunteer
Degree(s) write the degree(s) of the volunteer
Field(s) of Study write the field(s) of study of the volunteer
University(ies) write the university/ies of the b.m.




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