Template:Best Practices: Difference between revisions

From MARINA
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
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:{{{title|}}} | '''Title''' }}</b></font>
||{{#if:{{{title|}}} | {{{title}}} }}
|- 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>
This is the "Best Practices" template.
<br /><br /><br />
It should be called in the following format:
__TOC__
==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
      |tite=write the title
      |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=
      |name=write the Project Name                 
|logo=
      |logo=Marina_logo_banner.jpg                                         
|general_description=
      |general_description=Write the general description of the project
|duration=
      |title=write the title
|project_coordinator=
      |duration=write the duration (years (from-to)) of the project
|fundings_framework=
      |project_coordinator=write the coordination (Name, Email and Phone) of the project
|website=
      |fundings_framework=write the fundings framework (e.g. SIS, SWAFS, others) of the project
|eu_member_state=
      |website=write the website of the project
|non_eu_states=
      |eu_member_state=write the EU Member State (Enter all that participated)
|marine_region_focus=
      |non_eu_states=write the Non EU-states (Enter all that participated)
|marine_related_issues=
      |marine_region_focus=write the Marine Region Focus (Enter all where the project has had actions)
|sectors=
      |marine_related_issues=write the Marine Related Issues (Enter all that apply)
|themes=
      |sectors=write the Sectors (Enter all that apply)
|stakeholders_involved=
      |themes=write the Themes  (Enter all that apply)
|keywords=
      |stakeholders_involved=write the Stakeholders Involved
      |keywords=write keywords (Enter keywords for facilitating the end-user search here)
}}
}}
</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}}
|}


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

Latest revision as of 07:35, 8 November 2017

{{{name}}}
[[File:{{{logo}}}|285px|text-top|{{{name}}}]]





EXAMPLE ON HOW TO USE THE TEMPLATE

Project Name
Project Name
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
Keyword(s) 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:

{{Best Practices  
       |name=write the Project Name                   
       |logo=Marina_logo_banner.jpg                                           
       |general_description=Write the general description of the project
       |title=write the title
       |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)
}}

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

  Replace 
            name=write the Project Name  
  With 
            name=Project Name

List of Variables