Template:Interns: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| border="1" width="290" style="float:right;background-color:#C6DEFF;"
{| width="285" style="margin:5px 0px 5px 10px;float:right;clear:right;border:1px solid #ccc;background-color:#C6DEFF;line-height:1.5em;word-spacing:0.5px;"
|
|
{| border="0" cellspacing="0" style="background-color:#C6DEFF;padding:0px"
{{#if:{{{image|}}} |{{Person
! align="center" colspan="2" valign="top"|{{{name}}}
|color=#C6DEFF
|-
|image={{{image}}}
| align="center" colspan="2" border="0" | {{{image}}}
|name={{{name}}}
|- valign="top" style="font-size:11px;width:90px"
}} }}
| <b>''Period at FWC''</b>
{| border="0" width="100%" cellspacing="5" style="background-color:#C6DEFF;padding:0px"
||{{{period}}}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>''Field of Study''</b>
| width="20%" |<b>{{#if:{{{period|}}} | '''Period at FWC''' }}</b>
||{{{field}}}
||{{#if:{{{period|}}} | {{{period}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>''Sending University''</b>
| <b>{{#if:{{{field|}}} | '''Field of Study''' }}</b>
||{{{university}}}
||{{#if:{{{field|}}} | {{{field}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>''Sending Professor''</b>
| <b>{{#if:{{{university|}}} | '''Sending University''' }}</b>
||{{{professor}}}
||{{#if:{{{university|}}} | {{{university}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>''Local Mentor''</b>
| <b>{{#if:{{{professor|}}} | '''Sending Professor''' }}</b>
||{{{mentor}}}
||{{#if:{{{professor|}}} | {{{professor}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>''Involvement at FWC''</b>
| <b>{{#if:{{{mentor|}}} | '''Local Mentor''' }}</b>
||{{{involvement}}}
||{{#if:{{{mentor|}}} | {{{mentor}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>''Achievements''</b>
| <b>{{#if:{{{involvement|}}} | '''Involvement at FWC''' }}</b>
||{{{achievements}}}
||{{#if:{{{involvement|}}} | {{{involvement}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{achievements|}}} | '''Achievements''' }}</b>
||{{#if:{{{achievements|}}} | {{{achievements}}} }}
|}
|}
|}
|}
<noinclude>
<br /><br /><br />
__TOC__
==EXAMPLE ON HOW TO USE THE TEMPLATE==


{{Interns                                                <!-- The name of the template -->
      |name=write the Intern's name                    <!-- Append to variable name the content "Elia Petridou" -->
|image=SoterisDemetriou.jpg    <!-- You can replace all the template's variables with the                                                                                                                                                                                                                                          appropriate content-->
      |period=write the years of service    <!-- if a variable left empty e.g "period=" or not used    at all then it will not appear on the template -->
      |field=write the field of study of the intern
      |university=write the sending university of the intern
      |professor=write the sending professor of the intern.
      |mentor=write the local mentor of the intern
      |involvement=write the involvement of the intern at FWC
      |achievements=write the notable achievements of the intern
}}


<!--
{| border="1" width="225" style="float:right"
!align="center" colspan="4" valign="top"|{{{name}}}
|-
|align="left" colspan="4"|{{{image}}}<br>
<b>''Period at FWC'':</b>{{{period}}}<br><b>''Field of Study'':</b>{{{field}}}<br><b>''Sending University'':</b>{{{university}}}<br>
<b>''Sending Professor'':</b>{{{professor}}}<br><b>''Local Mentor'':</b>{{{mentor}}}<br><b>''Involvement at FWC'':</b>{{{involvement}}}<br><b>''Achievements'':</b>{{{achievements}}}
|}
-->


Copy and paste the code below to the page you wish to add an Intern's box such as this one:
<pre>
{{Interns                                               
      |name=write the Intern's name                   
      |image=image.jpg 
      |period=write the years of service 
      |field=write the field of study of the intern
      |university=write the sending university of the intern
      |professor=write the sending professor of the intern.
      |mentor=write the local mentor of the intern
      |involvement=write the involvement of the intern at FWC
      |achievements=write the notable achievements of the intern
}}
</pre>
Then replace the content of the variables with your own, for example :
  Replace
            name=write the Intern's name   
  With
            <span style="color:red">name=Soteris Demetriou</span>
===List of Variables===
* <b>name</b> : This variable expects from the editor to assign to it the name of the Intern
* <b>image</b> : This variable expects from the editor to assign to it the image of the Intern. 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.
* <b>period</b> : This variable expects from the editor to assign to it the period at FWC of the Intern
* <b>field</b> : This variable expects from the editor to assign to it the fields of study of the Intern
* <b>university</b> : This variable expects from the editor to assign to it the universities of the Intern
* <b>professor</b> : This variable expects from the editor to assign to it the professor of the Intern
* <b>mentor</b> : This variable expects from the editor to assign to it the mentor of the Intern
* <b>achievements</b> : This variable expects from the editor to assign to it the achievements of the Intern
</noinclude>
<noinclude>[[Category:T/People]]</noinclude>
<!-- http://www.mediawiki.org/wiki/Help:Tables -->
<!-- http://www.mediawiki.org/wiki/Help:Tables -->

Latest revision as of 04:16, 7 December 2011




EXAMPLE ON HOW TO USE THE TEMPLATE

write the Intern's name
write the Intern's name
Period at FWC write the years of service
Field of Study write the field of study of the intern
Sending University write the sending university of the intern
Sending Professor write the sending professor of the intern.
Local Mentor write the local mentor of the intern
Involvement at FWC write the involvement of the intern at FWC
Achievements write the notable achievements of the intern




Copy and paste the code below to the page you wish to add an Intern's box such as this one:

{{Interns                                                
       |name=write the Intern's name                     
       |image=image.jpg  
       |period=write the years of service   
       |field=write the field of study of the intern
       |university=write the sending university of the intern
       |professor=write the sending professor of the intern.
       |mentor=write the local mentor of the intern
       |involvement=write the involvement of the intern at FWC
       |achievements=write the notable achievements of the intern
}}

Then replace the content of the variables with your own, for example :

  Replace 
            name=write the Intern's name    
  With 
            name=Soteris Demetriou

List of Variables

  • name : This variable expects from the editor to assign to it the name of the Intern
  • image : This variable expects from the editor to assign to it the image of the Intern. 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 Intern
  • field : This variable expects from the editor to assign to it the fields of study of the Intern
  • university : This variable expects from the editor to assign to it the universities of the Intern
  • professor : This variable expects from the editor to assign to it the professor of the Intern
  • mentor : This variable expects from the editor to assign to it the mentor of the Intern
  • achievements : This variable expects from the editor to assign to it the achievements of the Intern