Template:Europe Aid Project: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
no edit summary
No edit summary
No edit summary
 
(31 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| border="1" width="295" style="float:right;background-color:#C6DEFF;line-height:90%;word-spacing:0.5px;"
{{Abs_EU_Aid_Format_Info
|
      |width=100%
{| border="0" width="100%" align="center" cellspacing="5" style="background-color:#C6DEFF;padding:0px"
      |margin_bottom=0
! align="center" valign="top"|EUROPE-AID Project
      |bg_color=LightBlue
|-
      |image={{#if:{{{image|}}} | {{{image}}} }}
| align="center" border="0" | {{#if:{{{image|}}} | {{ScaleImage
      |project_title={{#if:{{{project_title|}}} | {{{project_title}}} }}
|imagename={{{image}}}
      |acronym={{#if:{{{acronym|}}} | {{{acronym}}} }}
|caption={{{project_title}}}
      |donor={{#if:{{{donor|}}} | {{{donor}}} }}
|newwidth=200px              <!-- new width=15,scales the image to 15%, new width=80px,scales the image to 80px-->
      |lead_partner={{#if:{{{lead_partner|}}} | {{{lead_partner}}} }}
      |call={{#if:{{{call|}}} | {{{call}}} }}
      |link_call={{#if:{{{link_call|}}} | {{{link_call}}} }}
      |agreement_number={{#if:{{{agreement_number|}}} | {{{agreement_number}}} }}
      |partners={{#if:{{{partners|}}} | {{{partners}}} }}
      |countries={{#if:{{{countries|}}} | {{{countries}}} }}
      |cost={{#if:{{{cost|}}} | {{{cost}}} }}
      |grant={{#if:{{{grant|}}} | {{{grant}}} }}
      |cost_fwc={{#if:{{{cost_fwc|}}} | {{{cost_fwc}}} }}
      |grant_fwc={{#if:{{{grant_fwc|}}} | {{{grant_fwc}}} }}
      |dates={{#if:{{{dates|}}} | {{{dates}}} }}
      |start_day={{{start_day}}}
      |start_month={{{start_month}}}
      |start_year={{{start_year}}}
      |end_day={{{end_day}}}
      |end_month={{{end_month}}}
      |end_year={{{end_year}}}
      |description={{#if:{{{description|}}} | {{{description}}} }}
      |main_page={{#if:{{{main_page|}}} | {{{main_page}}} }}
      |website={{#if:{{{website|}}} | {{{website}}} }}
      |about={{#if:{{{about|}}} | {{{about}}} }}
}}
}}
|}
{| border="0" width="100%" cellspacing="5" style="background-color:#E3E4FA;padding:0px"
|- valign="top" style="font-size:11px"
| width="25%" |<b>{{#if:{{{project_title|}}} | '''Project Title''' }}</b>
||{{#if:{{{project_title|}}} | {{{project_title}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{lead_partners|}}} | '''Lead Partners''' }}</b>
||{{#if:{{{lead_partners|}}} | {{{lead_partners}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{agreement_number|}}} | '''Agreement n°''' }}</b>
||{{#if:{{{agreement_number|}}} | {{{agreement_number}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{partners|}}} | '''Partners''' }}</b>
||{{#if:{{{partners|}}} | {{{partners}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{countries|}}} | '''Countries of the action''' }}</b>
||{{#if:{{{countries|}}} | {{{countries}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{cost|}}} | '''Cost of Action'''  }}</b>
||{{#if:{{{cost|}}} | {{{cost}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{eu_aid|}}} | '''Europe Aid contribution''' }}</b>
||{{#if:{{{eu_aid|}}} | {{{eu_aid}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{dates|}}} | '''Dates''' }}</b>
||{{#if:{{{dates|}}} | {{{dates}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{description|}}} | '''Project Description''' }}</b>
||{{#if:{{{description|}}} | {{{description}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{website|}}} | '''Project website''' }}</b>
||{{#if:{{{website|}}} | {{{website}}} }}
|}
|}


<noinclude>
<noinclude>
Line 48: Line 34:
__TOC__
__TOC__
==EXAMPLE ON HOW TO USE THE TEMPLATE==
==EXAMPLE ON HOW TO USE THE TEMPLATE==
 
<b>This info box will strech to all the space available to it.<br />It is suitable when it is enclosed in an element of a defined width.</b>
{{Associates                                          <!-- The name of the template e.g "Associates" -->
{{Europe_Aid_Project                                         
      |name=My Name                    <!-- Append to variable name the content "Elia Petridou" -->
      |image=moblang.jpg                  
|image=SoterisDemetriou.jpg     <!-- You can replace all the template's variables with the                                                                                                                                                                                                                                         appropriate content-->
      |project_title=Moblang 
  |period=write the period at FWC    <!-- if a variable left empty e.g "period=" or not used    at all then it will not appear on the template -->
      |acronym=my project's acronym
       |title=write the title of the associate
      |donor=write the donor of the project   
       |projects=write the project(s) of the associate
      |lead_partner=write the lead partner of the project
       |interests=write the interests of the associate
      |call=write the call/action of the project
       |degrees=write the degree(s) of the associate
       |link_call=link to the call/action of the project
       |fields=write the fiels(s) of study of the associate
       |agreement_number=write the agreement number for the project
       |universities=write the university/ies of the associate
      |partners=write the partner(s) of the project
       |specializations=write the specialization(s) of the associate
       |countries=write the countries of the action
       |achievements=write the notable achievements of the associate
       |cost=write the cost of the action
      |grant=write the grant for the project
       |cost_fwc=write the cost for FWC for the project
      |grant_fwc=write the grant for FWC for the project
       |dates=write the dates of the project
       |description=write a description of the project
      |main_page=link to the project's Main Page
      |website=write the url of the website of the project
       |about=Link this to the FWC pedia page of the project
}}
}}




Copy and paste the code below to the page you wish to add an Associate's box such as this one:
Copy and paste the code below to the page you wish to add a box such as this one:
<pre>
<pre>
{{Associates                                         
{{Europe_Aid_Project                                         
       |name=write the name of the Associate                   
       |image=moblang.jpg                 
       |image=SoterisDemetriou.jpg
      |project_title=Moblang 
       |period=write the period at FWC   
      |acronym=my project's acronym
       |title=write the title of the associate
      |donor=write the donor of the project   
       |projects=write the project(s) of the associate
       |lead_partner=write the lead partner of the project
       |interests=write the interests of the associate
       |call=write the call/action of the project
       |degrees=write the degree(s) of the associate
       |link_call=link to the call/action of the project
       |fields=write the fiels(s) of study of the associate
       |agreement_number=write the agreement number for the project
       |universities=write the university/ies of the associate
      |partners=write the partner(s) of the project
       |specializations=write the specialization(s) of the associate
       |countries=write the countries of the action
       |achievements=write the notable achievements of the associate
       |cost=write the cost of the action
       |grant=write the grant for the project
      |cost_fwc=write the cost for FWC for the project
      |grant_fwc=write the grant for FWC for the project
       |dates=write the dates of the project
      |start_day=01
      |start_month=01
      |start_year=2001
      |end_day=01
      |end_month=01
      |end_year=2002
       |description=write a description of the project
      |main_page=link to the project's Main Page
      |website=write the url of the website of the project
       |about=Link this to the FWC pedia page of the project
}}
}}
</pre>
</pre>


Then replace the content of the variables with your own, for example :
Then replace the content of the variables with your own, for example :
   Replace  
   Replace  
             name=write the name of the Associate 
             project_title=Moblang
   With  
   With  
             <span style="color:red">name=Your name</span>
             <span style="color:red">project_title=Cyberethics</span>
===List of Variables===
===List of Variables===
* <b>name</b> : This variable expects from the editor to assign to it the name of the Associate
* <b>image</b> : This variable expects from the editor to assign to it the logo of the project. 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>image</b> : This variable expects from the editor to assign to it the image of the Associate. 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>project_title</b> : This variable expects from the editor to assign to it the contract title of the project
* <b>period</b> : This variable expects from the editor to assign to it the period at FWC of the Associate
* <b>acronym</b> : This variable expects from the editor to assign to it the acronym of the project
* <b>title</b> : This variable expects from the editor to assign to it the title of the Associate
* <b>donor</b> : This variable expects from the editor to assign to it the donor of the project
* <b>projects</b> : This variable expects from the editor to assign to it the projects of the Associate
* <b>lead_partner</b> : This variable expects from the editor to assign to it the lead partner of the project.
* <b>interests</b> : This variable expects from the editor to assign to it the interests of the Associate
* <b>call</b> : This variable expects from the editor to assign to it the call/action of the project.
* <b>degrees</b> : This variable expects from the editor to assign to it the degrees of the Associate
* <b>link_call</b> : This variable expects from the editor to provide a link to the call/action of the project.
* <b>fields</b> : This variable expects from the editor to assign to it the fields of study of the Associate
* <b>agreement_number</b> : This variable expects from the editor to assign to it the agreement number of the project.
* <b>universities</b> : This variable expects from the editor to assign to it the universities of the Associate
* <b>partners</b> : This variable expects from the editor to assign to it the partners of the project
* <b>specializations</b> : This variable expects from the editor to assign to it the specializations of the Associate
* <b>countries</b> : This variable expects from the editor to assign to it the countries of the action.
* <b>achievements</b> : This variable expects from the editor to assign to it the achievements of the Associate
* <b>cost</b> : This variable expects from the editor to assign to it the cost of the action.
* <b>grant</b> : This variable expects from the editor to assign to it the Europe Aid contribution for the project.
* <b>cost_fwc</b> : This variable expects from the editor to assign to it the cost for FWC for the project.
* <b>grant_fwc</b> : This variable expects from the editor to assign to it the grant for FWC for the project.
* <b>dates</b> : This variable expects from the editor to assign to it the dates of the project.
* <b>description</b> : This variable expects from the editor to assign to it a short description of the project.
* <b>main_page</b> : This variable expects from the editor to assign to it the main page (this needs to be corrected or completed)
* <b>website</b> : This variable expects from the editor to assign to it the url of the website of the project e.g. http://www.moblang.eu.
* <b>about</b> : This variable expects from the editor to provide a link to the FWC-pedia page of the project.
</noinclude>
</noinclude>

Navigation menu