Template:Best Practices: Difference between revisions

From MARINA
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{|style="width:285px;margin:5px 0px 5px 10px;float:right;clear:right;border:2px solid #33abdf;background-color:#ffffff;line-height:1.5em;word-spacing:0.5px;color:#ffffff;"
|
{{Person
|color=#ffffff;
|name={{{name}}}
|image={{{logo}}}
}}
{|style="background-color:#ffffff;padding:0px; border:0px; wodth:100%; cellspacing:5;color:#000000;"
|- valign="top" style="font-size:11px;"
| width="25%" |<font color="#565051"><b>{{#if:{{{general_description|}}} | '''General description''' }}</b></font>
||{{#if:{{{general_description|}}} | {{{general_description}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{duration|}}} | '''Duration''' }}</b></font>
||{{#if:{{{duration|}}} | {{{duration}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{project_coordinator|}}} | '''Project coordinator''' }}</b></font>
||{{#if:{{{project_coordinator|}}} | {{{project_coordinator}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{fundings_framework|}}} | '''Fundings framework''' }}</b></font>
||{{#if:{{{fundings_framework|}}} | {{{fundings_framework}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{website|}}} | '''Website''' }}</b></font>
||{{#if:{{{website|}}} | {{{website}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{eu_member_state|}}} | '''EU Member State'''  }}</b></font>
||{{#if:{{{eu_member_state|}}} | {{{eu_member_state}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{non_eu_states|}}} | '''Non EU-states''' }}</b></font>
||{{#if:{{{non_eu_states|}}} | {{{non_eu_states}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{marine_region_focus|}}} | '''Marine Region Focus''' }}</b></font>
||{{#if:{{{marine_region_focus|}}} | {{{marine_region_focus}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{marine_related_issues|}}} | '''Marine Related Issues''' }}</b></font>
||{{#if:{{{marine_related_issues|}}} | {{{marine_related_issues}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{sectors|}}} | '''Sectors''' }}</b></font>
||{{#if:{{{sectors|}}} | {{{sectors}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{themes|}}} | '''Themes''' }}</b></font>
||{{#if:{{{themes|}}} | {{{themes}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{stakeholders_involved|}}} | '''Stakeholders Involved''' }}</b></font>
||{{#if:{{{stakeholders_involved|}}} | {{{stakeholders_involved}}} }}
|- valign="top" style="font-size:11px"
| <font color="#565051"><b>{{#if:{{{keywords|}}} | '''Keyword(s)''' }}</b></font>
||{{#if:{{{keywords|}}} | {{{keywords}}} }}
|}
|}
<noinclude>
<noinclude>
<br /><br /><br />
This is the "Best Practices" template.
__TOC__
It should be called in the following format:
==EXAMPLE ON HOW TO USE THE TEMPLATE==
 
{{Best_Practices                                          <!-- The name of the template e.g "Best Practices" -->
      |name=Project Name 
      |                <!-- Append to variable acronym the content "xxx" -->
      |logo=Marina_logo_banner.jpg                  <!-- You can replace all the template's variables with the                                                                                                                                                                                                                                          appropriate content-->
      |general_description=Write the general description of the project
      |duration=write the duration (years (from-to)) of the project
      |project_coordinator=write the coordination (Name, Email and Phone) of the project
      |fundings_framework=write the fundings framework (e.g. SIS, SWAFS, others) of the project
      |website=write the website of the project
      |eu_member_state=write the EU Member State (Enter all that participated)
      |non_eu_states=write the Non EU-states (Enter all that participated)
      |marine_region_focus=write the Marine Region Focus (Enter all where the project has had actions)
      |marine_related_issues=write the Marine Related Issues (Enter all that apply)
      |sectors=write the Sectors (Enter all that apply)
      |themes=write the Themes  (Enter all that apply)
      |stakeholders_involved=write the Stakeholders Involved
      |keywords=write keywords (Enter keywords for facilitating the end-user search here)
}}
 
 
Copy and paste the code below to the page you wish to add an Associate's box such as this one:
<pre>
<pre>
{{Best Practices
{{Best Practices
      |name=write the Project Name                 
|name=
      |logo=Marina_logo_banner.jpg                                         
|logo=
      |general_description=Write the general description of the project
|general_description=
      |duration=write the duration (years (from-to)) of the project
|duration=
      |project_coordinator=write the coordination (Name, Email and Phone) of the project
|project_coordinator=
      |fundings_framework=write the fundings framework (e.g. SIS, SWAFS, others) of the project
|fundings_framework=
      |website=write the website of the project
|website=
      |eu_member_state=write the EU Member State (Enter all that participated)
|eu_member_state=
      |non_eu_states=write the Non EU-states (Enter all that participated)
|non_eu_states=
      |marine_region_focus=write the Marine Region Focus (Enter all where the project has had actions)
|marine_region_focus=
      |marine_related_issues=write the Marine Related Issues (Enter all that apply)
|marine_related_issues=
      |sectors=write the Sectors (Enter all that apply)
|sectors=
      |themes=write the Themes  (Enter all that apply)
|themes=
      |stakeholders_involved=write the Stakeholders Involved
|stakeholders_involved=
      |keywords=write keywords (Enter keywords for facilitating the end-user search here)
|keywords=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
! name
| [[Property name::{{{name|}}}]]
|-
! logo
| {{{logo|}}}
|-
! general_description
| {{{general_description|}}}
|-
! duration
| {{{duration|}}}
|-
! project_coordinator
| {{{project_coordinator|}}}
|-
! fundings_framework
| {{{fundings_framework|}}}
|-
! website
| {{{website|}}}
|-
! eu_member_state
| {{{eu_member_state|}}}
|-
! non_eu_states
| {{{non_eu_states|}}}
|-
! marine_region_focus
| {{{marine_region_focus|}}}
|-
! marine_related_issues
| {{{marine_related_issues|}}}
|-
! sectors
| {{{sectors|}}}
|-
! themes
| {{{themes|}}}
|-
! stakeholders_involved
| {{{stakeholders_involved|}}}
|-
! keywords
| {{{keywords|}}}
|-
!
| {{#ask:[[Property name::{{SUBJECTPAGENAME}}]]|format=list}}
|}


Then replace the content of the variables with your own, for example :
[[Category:Best Practices]]
  Replace
</includeonly>
            name=write the Project Name 
  With
            <span style="color:red">name=Project Name</span>
===List of Variables===
 
</noinclude>

Revision as of 02:06, 19 September 2017

This is the "Best Practices" template. It should be called in the following format:

{{Best Practices
|name=
|logo=
|general_description=
|duration=
|project_coordinator=
|fundings_framework=
|website=
|eu_member_state=
|non_eu_states=
|marine_region_focus=
|marine_related_issues=
|sectors=
|themes=
|stakeholders_involved=
|keywords=
}}

Edit the page to see the template text.