Difference between revisions of "Template:Branch"
Jump to navigation
Jump to search
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:{{{ | | width="25%" |<b>{{#if:{{{location|}}} | '''Location''' }}</b> | ||
||{{#if:{{{ | ||{{#if:{{{location|}}} | {{{location}}} }} | ||
|- valign="top" style="font-size:11px" | |- valign="top" style="font-size:11px" | ||
| <b>{{#if:{{{ | | <b>{{#if:{{{country|}}} | '''Country''' }}</b> | ||
||{{#if:{{{ | ||{{#if:{{{country|}}} | {{{country}}} }} | ||
|- valign="top" style="font-size:11px" | |- valign="top" style="font-size:11px" | ||
| <b>{{#if:{{{ | | <b>{{#if:{{{period|}}} | '''Period''' }}</b> | ||
||{{#if:{{{ | ||{{#if:{{{period|}}} | {{{period}}} }} | ||
|- valign="top" style="font-size:11px" | |- valign="top" style="font-size:11px" | ||
| <b>{{#if:{{{ | | <b>{{#if:{{{type|}}} | '''Type''' }}</b> | ||
||{{#if:{{{ | ||{{#if:{{{type|}}} | {{{type}}} }} | ||
|- valign="top" style="font-size:11px" | |- valign="top" style="font-size:11px" | ||
| <b>{{#if:{{{ | | <b>{{#if:{{{manager|}}} | '''Manager''' }}</b> | ||
||{{#if:{{{ | ||{{#if:{{{manager|}}} | {{{manager}}} }} | ||
|} | |} | ||
|} | |} | ||
Line 42: | Line 33: | ||
|acronym=Title of the event | |acronym=Title of the event | ||
|image=image.jpg | |image=image.jpg | ||
| | |locationt=Branch Location | ||
| | |country= Country | ||
| | |period=Period | ||
| | |type=Type | ||
|manager=Manager | |||
| | |||
}} | }} | ||
Line 57: | Line 45: | ||
{{Branch | {{Branch | ||
|acronym=Title of the event | |acronym=Title of the event | ||
|image= | |image=image.jpg | ||
| | |locationt=Branch Location | ||
| | |country= Country | ||
| | |period=Period | ||
| | |type=Type | ||
|manager=Manager | |||
| | |||
}} | }} | ||
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 | acronym=Title of the Branch | ||
With | With | ||
<span style="color:red">acronym=SDD in Troodos</span> | <span style="color:red">acronym=SDD in Troodos</span> | ||
===List of Variables=== | ===List of Variables=== | ||
* <b>acronym</b> : This variable expects from the editor to assign to it the title of the | * <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 | * <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> | * <b>location</b> : This variable expects from the editor to assign to it the Location of Branch | ||
* <b>country</b> : This variable expects from the editor to assign to it the Country | |||
* <b> | * <b>period</b> : This variable expects from the editor to assign to it the Period | ||
* <b> | * <b>type</b> : This variable expects from the editor to assign to it the Type | ||
* <b> | * <b>manager</b> : This variable expects from the editor to assign to it the Manager | ||
* <b> | |||
</noinclude> | </noinclude> | ||
<noinclude>[[Category:Templates]]</noinclude> | <noinclude>[[Category:Templates]]</noinclude> |
Revision as of 12:26, 31 January 2015
|
EXAMPLE ON HOW TO USE THE TEMPLATE
|
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=SDD in Troodos
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