Template:Media Promotion: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
(Created page with "{| border="1" width="295" style="float:right;background-color:#FF7260;line-height:90%;word-spacing:0.5px;" | {{#if:{{{event_title|}}} |{{Person |color=#FF7260 |image={{{image}}}...")
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|  border="1" width="295" style="float:right;background-color:#FF7260;line-height:90%;word-spacing:0.5px;"
{|  border="0" width="285" style="margin:5px 0px 5px 10px;float:right;clear:right;border:1px solid #ccc;background-color:#8DB87C;line-height:1.5em;word-spacing:0.5px;"
|
|
{{#if:{{{event_title|}}} |{{Person
{{#if:{{{acronym|}}} |{{Person
|color=#FF7260
|color=#8DB87C
|image={{{image}}}
|image={{{image}}}
|name={{{event_title}}}
|name={{{acronym}}}
}} }}
}} }}
{| border="0" width="100%" cellspacing="5" style="background-color:#FF7260;padding:0px"
{| border="0" width="100%" cellspacing="5" style="background-color:#8DB87C;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:{{{project|}}} | '''Project''' }}</b>
Line 20: Line 20:
||{{#if:{{{interviewees|}}} | {{{interviewees}}} }}
||{{#if:{{{interviewees|}}} | {{{interviewees}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{date|}}} | '''Date''' }}</b>
| <b>{{#if:{{{dates|}}} | '''Date(s)''' }}</b>
||{{#if:{{{date|}}} | {{{date}}} }}
||{{#if:{{{dates|}}} | {{{dates}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{link|}}} | '''External Link)''' }}</b>
| <b>{{#if:{{{audience|}}} | '''Audience''' }}</b>
||{{#if:{{{audience|}}} | {{{audience}}} }}
|- 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}}} }}
||{{#if:{{{link|}}} | {{{link}}} }}
|}
|}
Line 33: Line 39:
==EXAMPLE ON HOW TO USE THE TEMPLATE==
==EXAMPLE ON HOW TO USE THE TEMPLATE==


{{Event
{{Media Promotion
   |event_title=Title of the event
   |acronym=Title of the event
   |image=SoterisDemetriou.jpg
   |image=SoterisDemetriou.jpg
   |project=Project under which the event was organized
   |project=Project under which the event was organized
Line 40: Line 46:
   |host=Name of the journalist hosting the event
   |host=Name of the journalist hosting the event
   |interviewees=write the name(s) of the associate(s) interviewed
   |interviewees=write the name(s) of the associate(s) interviewed
   |date=write the date that the event took place
   |dates=write the date that the event took place
  |audience=Write the type of the audience
  |total_duration=Write the total duration of the event
   |link=Provide an external link to this event
   |link=Provide an external link to this event
}}
}}




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 Media Promotion box such as this one:
<pre>
<pre>
{{Event
{{Media Promotion
   |event_title=Title of the event
   |acronym=Title of the event
   |image=event_image.jpg
   |image=event_image.jpg
   |project=Project under which the event was organized
   |project=Project under which the event was organized
Line 54: Line 62:
   |host=Name of the journalist hosting the event
   |host=Name of the journalist hosting the event
   |interviewees=write the name(s) of the associate(s) interviewed
   |interviewees=write the name(s) of the associate(s) interviewed
   |date=write the date that the event took place
   |dates=write the date that the event took place
  |audience=Write the type of the audience
  |total_duration=Write the total duration of the event
   |link=Provide an external link to this event
   |link=Provide an external link to this event
}}
}}
Line 62: Line 72:
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
             event_title=Title of the event
   With  
   With  
             <span style="color:red">acronym=SDD in Troodos</span>
             <span style="color:red">event_title=SDD in Troodos</span>
===List of Variables===
===List of Variables===
* <b>event_title</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 event
* <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 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>project</b> : This variable expects from the editor to assign to it the project under which the event was organized
* <b>project</b> : This variable expects from the editor to assign to it the project under which the event was organized
Line 72: Line 82:
* <b>host</b> : This variable expects from the editor to assign to it the name of the journalist hosting the event
* <b>host</b> : This variable expects from the editor to assign to it the name of the journalist hosting the event
* <b>interviewees</b> : This variable expects from the editor to assign to it the name(s) of the associate(s) interviewed
* <b>interviewees</b> : This variable expects from the editor to assign to it the name(s) of the associate(s) interviewed
* <b>date</b> : This variable expects from the editor to assign to it the date that the event took or is taking place
* <b>dates</b> : This variable expects from the editor to assign to it the date that the event took or is taking place
* <b>audience</b> : This variable expects from the editor to assign to it the type of the audience of this event
* <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 any external link(s) to this event
* <b>link</b> : This variable expects from the editor to assign to it any external link(s) to this event
</noinclude>
</noinclude>
<noinclude>[[Category:T/Events]]</noinclude>

Latest revision as of 04:23, 7 December 2011





EXAMPLE ON HOW TO USE THE TEMPLATE

Title of the event
Title of the event
Project Project under which the event was organized
Media Name Media name
Host (Journalist) Name of the journalist hosting the event
Interviewee(s) write the name(s) of the associate(s) interviewed
Date(s) write the date that the event took place
Audience Write the type of the audience
Total Duration Write the total duration of the event
Link(s) Provide an external link to this event



Copy and paste the code below to the page you wish to add a Media Promotion box such as this one:

{{Media Promotion
  |acronym=Title of the event
  |image=event_image.jpg
  |project=Project under which the event was organized
  |media_name= Media name
  |host=Name of the journalist hosting the event
  |interviewees=write the name(s) of the associate(s) interviewed
  |dates=write the date that the event took place
  |audience=Write the type of the audience
  |total_duration=Write the total duration of the event
  |link=Provide an external link to this event
}}

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

  Replace 
            event_title=Title of the event
  With 
            event_title=SDD in Troodos

List of Variables

  • acronym : This variable expects from the editor to assign to it the title of the event
  • image : 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.
  • project : This variable expects from the editor to assign to it the project under which the event was organized
  • media_name : This variable expects from the editor to assign to it the name of the media where the event was/is promoted
  • host : This variable expects from the editor to assign to it the name of the journalist hosting the event
  • interviewees : This variable expects from the editor to assign to it the name(s) of the associate(s) interviewed
  • dates : This variable expects from the editor to assign to it the date that the event took or is taking place
  • audience : This variable expects from the editor to assign to it the type of the audience of this event
  • total_duration : This variable expects from the editor to assign to it the total duration of the event
  • link : This variable expects from the editor to assign to it any external link(s) to this event