23
επεξεργασίες
(New template) |
Χωρίς σύνοψη επεξεργασίας |
||
Γραμμή 1: | Γραμμή 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: | ! 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]] | ||
|- | |- | ||
| | | | ||
Γραμμή 48: | Γραμμή 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 | ||
Γραμμή 64: | Γραμμή 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 | ||
Γραμμή 83: | Γραμμή 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 | ||
Γραμμή 95: | Γραμμή 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> |