Template:Media Promotion: Difference between revisions
From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| border=" | {| 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:{{{ | {{#if:{{{acronym|}}} |{{Person | ||
|color=#8DB87C | |color=#8DB87C | ||
|image={{{image}}} | |image={{{image}}} | ||
|name={{{ | |name={{{acronym}}} | ||
}} }} | }} }} | ||
{| border="0" width="100%" cellspacing="5" style="background-color:#8DB87C;padding:0px" | {| border="0" width="100%" cellspacing="5" style="background-color:#8DB87C;padding:0px" | ||
Line 20: | Line 20: | ||
||{{#if:{{{interviewees|}}} | {{{interviewees}}} }} | ||{{#if:{{{interviewees|}}} | {{{interviewees}}} }} | ||
|- valign="top" style="font-size:11px" | |- valign="top" style="font-size:11px" | ||
| <b>{{#if:{{{ | | <b>{{#if:{{{dates|}}} | '''Date(s)''' }}</b> | ||
||{{#if:{{{ | ||{{#if:{{{dates|}}} | {{{dates}}} }} | ||
|- valign="top" style="font-size:11px" | |- valign="top" style="font-size:11px" | ||
| <b>{{#if:{{{link|}}} | ''' | | <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== | ||
{{ | {{Media Promotion | ||
| | |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 | ||
| | |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 | Copy and paste the code below to the page you wish to add a Media Promotion box such as this one: | ||
<pre> | <pre> | ||
{{ | {{Media Promotion | ||
| | |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 | ||
| | |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 66: | Line 76: | ||
<span style="color:red">event_title=SDD in Troodos</span> | <span style="color:red">event_title=SDD in Troodos</span> | ||
===List of Variables=== | ===List of Variables=== | ||
* <b> | * <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> | * <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> | <noinclude>[[Category:T/Events]]</noinclude> |
Latest revision as of 03:23, 7 December 2011
|
EXAMPLE ON HOW TO USE THE TEMPLATE
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