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
Line 1: Line 1:
{|  border="1" width="295" style="float:right;background-color:#FF7260;line-height:90%;word-spacing:0.5px;"
{|  border="1" width="295" style="float:right;background-color:#8DB87C;line-height:90%;word-spacing:0.5px;"
|
|
{{#if:{{{event_title|}}} |{{Person
{{#if:{{{event_title|}}} |{{Person
|color=#FF7260
|color=#8DB87C
|image={{{image}}}
|image={{{image}}}
|name={{{event_title}}}
|name={{{event_title}}}
}} }}
}} }}
{| 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>

Revision as of 05:06, 21 October 2011





EXAMPLE ON HOW TO USE THE TEMPLATE

{{{acronym}}}
{{{acronym}}}
Project Project under which the event was organized
Link(s) 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:

{{Event
  |event_title=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
  |date=write the date that the event took place
  |link=Provide an external link to this event
}}

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

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

List of Variables

  • event_title : 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
  • date : This variable expects from the editor to assign to it the date that the event took or is taking place
  • link : This variable expects from the editor to assign to it any external link(s) to this event