Template:Project: Difference between revisions

From Digital Cyprus
Jump to navigation Jump to search
(New template)
 
No edit summary
Line 1: Line 1:
{| border="0" width="285" style="margin:5px 0px 5px 10px; float:right; clear:right; border:1px solid #ccc; background-color:#E5E5E5; line-height:1.5em; word-spacing:0.5px;"
{| border="0" width="285" style="margin:5px 0px 5px 10px; float:right; clear:right; border:1px solid #ccc; background-color:#E5E5E5; line-height:1.5em; word-spacing:0.5px;"
|-
|-
! colspan="2" style="background-color:#f9f9f9; text-align:center; padding:5px; font-weight:bold; font-size:110%;" | Part of a series documented by Tech4Peace
! colspan="2" style="background-color:#f9f9f9; text-align:center; padding:5px; font-weight:normal; font-size:95%;" | {{#if:{{{series_title|}}}|{{{series_title}}}|Part of a series documented by Tech4Peace}}
|-
|-
! colspan="2" style="background-color:#f9f9f9; text-align:center; padding:5px;" | [[File:Tech4Peace_logo.png|100px]]
! colspan="2" style="background-color:#f9f9f9; text-align:center; padding:5px;" | [[File:{{#if:{{{series_logo|}}}|{{{series_logo}}}|Tech4Peace_logo.png}}|100px]]
|-
|-
|
|
Line 48: Line 48:
<noinclude>
<noinclude>
== Template documentation ==
== Template documentation ==
=== Usage example ===
=== Usage example ===
{{Project
{{Project
| series_title    = Supported by ABC Foundation
| series_logo      = ABC_logo.png
  | project_title    = My Project Name
  | project_title    = My Project Name
  | categories      = Cat1, Cat2
  | categories      = Cat1, Cat2
Line 64: Line 67:
}}
}}


Place this on any project page:
Place this on any project page:
<pre>
<pre>
{{Project
{{Project
| series_title    = Supported by ABC Foundation
| series_logo      = ABC_logo.png
  | project_title    = My Project Name
  | project_title    = My Project Name
  | categories      = Cat1, Cat2
  | categories      = Cat1, Cat2
Line 83: Line 88:


=== Parameters ===   
=== Parameters ===   
* <b>series_title</b> – Optional heading text above the logo (default: “Part of a series documented by Tech4Peace”)
* <b>series_logo</b> – Optional logo filename without `File:` (default: `Tech4Peace_logo.png`)
* <b>project_title</b> – Title of the project   
* <b>project_title</b> – Title of the project   
* <b>categories</b> – Comma‑separated categories for page classification   
* <b>categories</b> – Comma‑separated categories for page classification   
Line 95: Line 102:
* <b>partners</b> – Project partners   
* <b>partners</b> – Project partners   
* <b>links</b> – External link(s), e.g. official website
* <b>links</b> – External link(s), e.g. official website
</noinclude>

Revision as of 14:39, 7 May 2025

Part of a series documented by Tech4Peace
File:Tech4Peace logo.png


Template documentation

Usage example

Supported by ABC Foundation
File:ABC logo.png
Project Title My Project Name
Categories Cat1, Cat2
Contract Title Full Contract Title
Host Organization Host Org Name
Funding Agency Agency Name
Contract Number 123‑ABC
Start Date Month Day, Year
End Date Month Day, Year
Total Cost US $Amount
Regions Served Region1; Region2
Partners Partner1; Partner2
Links Link label


Place this on any project page:

{{Project
 | series_title     = Supported by ABC Foundation
 | series_logo      = ABC_logo.png
 | project_title    = My Project Name
 | categories       = Cat1, Cat2
 | contract_title   = Full Contract Title
 | host_organization= Host Org Name
 | funding_agency   = Agency Name
 | contract_number  = 123‑ABC
 | start_date       = Month Day, Year
 | end_date         = Month Day, Year
 | total_cost       = US $Amount
 | regions_served   = Region1; Region2
 | partners         = Partner1; Partner2
 | links            = [https://… Link label]
}}

Parameters

  • series_title – Optional heading text above the logo (default: “Part of a series documented by Tech4Peace”)
  • series_logo – Optional logo filename without `File:` (default: `Tech4Peace_logo.png`)
  • project_title – Title of the project
  • categories – Comma‑separated categories for page classification
  • contract_title – Formal contract title
  • host_organization – Organization hosting the project
  • funding_agency – Agency providing funding
  • contract_number – Identifier of the contract
  • start_date – Contract start date
  • end_date – Contract end date
  • total_cost – Total project cost
  • regions_served – Geographic regions served
  • partners – Project partners
  • links – External link(s), e.g. official website