Difference between revisions of "Template:Branch"

From Cyber-Kids Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
{| border="0" width="100%" cellspacing="5" style="background-color:#FFFF66;padding:0px"
{| border="0" width="100%" cellspacing="5" style="background-color:#FFFF66;padding:0px"
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| width="25%" |<b>{{#if:{{{project|}}} | '''Project''' }}</b>
| width="25%" |<b>{{#if:{{{location|}}} | '''Location''' }}</b>
||{{#if:{{{project|}}} | {{{project}}} }}
||{{#if:{{{location|}}} | {{{location}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{place|}}} | '''Place''' }}</b>
| <b>{{#if:{{{country|}}} | '''Country''' }}</b>
||{{#if:{{{place|}}} | {{{place}}} }}
||{{#if:{{{country|}}} | {{{country}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{dates|}}} | '''Date(s)''' }}</b>
| <b>{{#if:{{{period|}}} | '''Period''' }}</b>
||{{#if:{{{dates|}}} | {{{dates}}} }}
||{{#if:{{{period|}}} | {{{period}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{moderator|}}} | '''Person in charge''' }}</b>
| <b>{{#if:{{{type|}}} | '''Type''' }}</b>
||{{#if:{{{moderator|}}} | {{{moderator}}} }}
||{{#if:{{{type|}}} | {{{type}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{participants_type|}}} | '''Type of participants''' }}</b>
| <b>{{#if:{{{manager|}}} | '''Manager''' }}</b>
||{{#if:{{{participants_type|}}} | {{{participants_type}}} }}
||{{#if:{{{manager|}}} | {{{manager}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{participants_num|}}} | '''Number of participants''' }}</b>
||{{#if:{{{participants_num|}}} | {{{participants_num}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{total_duration|}}} | '''Total Duration'''  }}</b>
||{{#if:{{{total_duration|}}} | {{{total_duration}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{link|}}} | '''Link(s)''' }}</b>
||{{#if:{{{link|}}} | {{{link}}} }}
|}
|}
|}
|}
Line 40: Line 31:


{{Branch
{{Branch
   |acronym=Title of the event
   |acronym=Title of the Branch
   |image=image.jpg
   |image=image.jpg
   |project=Project under which the event was organized
   |locationt=Branch Location
   |place= Place of event
   |country= Country
   |dates=Dates of event
   |period=Period
   |moderator=write the person in charge of the event
   |type=Type
  |participants_type=write the type of participants
   |manager=Manager
  |participants_num=write the number of participants/beneficiaries
  |total_duration=Total Duration of event
   |link=Link(s) to press release(s)
}}
}}


Line 57: Line 45:
{{Branch
{{Branch
   |acronym=Title of the event
   |acronym=Title of the event
   |image=event_image.jpg
   |image=image.jpg
   |project=Project under which the event was organized
   |locationt=Branch Location
   |place= Place of event
   |country= Country
   |dates=Dates of event
   |period=Period
   |moderator=write the person in charge of the event
   |type=Type
  |participants_type=write the type of participants
   |manager=Manager
  |participants_num=write the number of participants/beneficiaries
  |total_duration=Total Duration of event
   |link=Link(s) to press release(s)
}}
}}


Line 72: Line 57:
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  
             acronym=Title of the event
             acronym=Title of the Branch
   With  
   With  
             <span style="color:red">acronym=SDD in Troodos</span>
             <span style="color:red">acronym=TEST</span>
===List of Variables===
===List of Variables===
* <b>acronym</b> : This variable expects from the editor to assign to it the title of the event
* <b>acronym</b> : This variable expects from the editor to assign to it the title of the Branch
* <b>image</b> : This variable expects from the editor to assign to it the image of the Event. 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 Branch. 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</b> : This variable expects from the editor to assign to it the project under which the event was organized
* <b>location</b> : This variable expects from the editor to assign to it the Location of Branch
* <b>place</b> : This variable expects from the editor to assign to it the place that the event took/is taking place
* <b>country</b> : This variable expects from the editor to assign to it the Country
* <b>dates</b> : This variable expects from the editor to assign to it the dates of the event
* <b>period</b> : This variable expects from the editor to assign to it the Period
* <b>moderator</b> : This variable expects from the editor to assign to it the name of the person in charge for the event
* <b>type</b> : This variable expects from the editor to assign to it the Type
* <b>participants_type</b> : This variable expects from the editor to assign to it the type of the participants
* <b>manager</b> : This variable expects from the editor to assign to it the Manager
* <b>participants_num</b> : This variable expects from the editor to assign to it the number of participants
* <b>total_duration</b> : This variable expects from the editor to assign to it the total_duration of the event
* <b>link</b> : This variable expects from the editor to assign to it the link(s) to press release(s)
</noinclude>
</noinclude>
<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 12:26, 31 January 2015





EXAMPLE ON HOW TO USE THE TEMPLATE

Title of the Branch
Title of the Branch
Country Country
Period Period
Type Type
Manager Manager



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

{{Branch
  |acronym=Title of the event
  |image=image.jpg
  |locationt=Branch Location
  |country= Country
  |period=Period
  |type=Type
  |manager=Manager
}}

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

  Replace 
            acronym=Title of the Branch
  With 
            acronym=TEST

List of Variables

  • acronym : This variable expects from the editor to assign to it the title of the Branch
  • image : This variable expects from the editor to assign to it the image of the Branch. 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.
  • location : This variable expects from the editor to assign to it the Location of Branch
  • country : This variable expects from the editor to assign to it the Country
  • period : This variable expects from the editor to assign to it the Period
  • type : This variable expects from the editor to assign to it the Type
  • manager : This variable expects from the editor to assign to it the Manager