Difference between revisions of "Template:Project"
From AIRWiki
DavidLaniado (Talk | contribs) |
m |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
| title=design of a bird-wing-based flying machine | | title=design of a bird-wing-based flying machine | ||
| short_descr=goal of this project is to design and develop bird-like artificial wings for a simple prototype of a machine that can fly, carrying one or more persons | | short_descr=goal of this project is to design and develop bird-like artificial wings for a simple prototype of a machine that can fly, carrying one or more persons | ||
+ | | coordinator=Leonardo Da Vinci | ||
+ | | ***NOTE:*** you can specify a LIST of coordinators, separating them with a semicolon (;). Coordinators and tutors can overlap. | ||
| tutor=Leonardo Da Vinci | | tutor=Leonardo Da Vinci | ||
− | | ***NOTE:*** you can specify a LIST of tutors, separating them with a semicolon (;) | + | | ***NOTE:*** you can specify a LIST of tutors, separating them with a semicolon (;). Tutors and coordinators can overlap. |
+ | | collaborator= | ||
+ | | ***NOTE:*** you can specify one or more collaborators, separating them with a semicolon (;). | ||
| students= | | students= | ||
| ***NOTE:*** you can specify a LIST of students, separating them with a semicolon (;) | | ***NOTE:*** you can specify a LIST of students, separating them with a semicolon (;) | ||
Line 24: | Line 28: | ||
{{Tablelongrow|Color=#FFCC66|Style=border-top: 1px solid #808080;|Value=<b>[[prjTitle::{{{title}}}]]</b>}} | {{Tablelongrow|Color=#FFCC66|Style=border-top: 1px solid #808080;|Value=<b>[[prjTitle::{{{title}}}]]</b>}} | ||
|- | |- | ||
− | {{#ifeq:{{{image|}}}|||{{Tablelongrow|Value='''[[Image:{{{image}}}| | + | {{#ifeq:{{{image|}}}|||{{Tablelongrow|Value='''[[Image:{{{image}}}|200px|Image of the project {{PAGENAME}}]]'''}}[[prjImage::Image:{{{image}}}|]]}} |
|- | |- | ||
− | {{#ifeq:{{{short_descr|}}}|||{{Tablerow|Label=Short Description|Value={{{short_descr}}}}}}} | + | {{#ifeq:{{{short_descr|}}}|||{{Tablerow|Label=Short Description|Value=[[prjDescription::{{{short_descr}}}]]}}}} |
+ | |||
+ | |- | ||
+ | {{#ifeq:{{{proposal|}}}|||{{Tablerow|Label=Corresponding Proposal|Value=[[fromProposal::{{{proposal}}}]]}}}} | ||
+ | |||
+ | |- | ||
+ | {{Tablerow|Label=Coordinator|Value={{#ifeq:{{{coordinator|}}}|||{{#arraymap:{{{coordinator|}}}|; |x|[[prjCoordinator::User:x|x]] ({{#show: User:x| ?Email }})}}}}}} | ||
|- | |- | ||
{{Tablerow|Label=Tutor|Value={{#ifeq:{{{tutor|}}}|||{{#arraymap:{{{tutor|}}}|; |x|[[prjTutor::User:x|x]] ({{#show: User:x| ?Email }})}}}}}} | {{Tablerow|Label=Tutor|Value={{#ifeq:{{{tutor|}}}|||{{#arraymap:{{{tutor|}}}|; |x|[[prjTutor::User:x|x]] ({{#show: User:x| ?Email }})}}}}}} | ||
+ | |||
+ | |- | ||
+ | {{Tablerow|Label=Collaborator|Value={{#ifeq:{{{collaborator|}}}|||{{#arraymap:{{{collaborator|}}}|; |x|[[prjCollaborator::User:x|x]] ({{#show: User:x| ?Email }})}}}}}} | ||
|- | |- | ||
Line 39: | Line 52: | ||
|- | |- | ||
− | {{#ifeq:{{{restopic|}}}|||{{Tablerow|Label=Research Topic|Value=[[prjResTopic::{{{restopic}}}|]][[{{{restopic}}}]]}}}} | + | {{Tablerow|Label=Research Topic|Value={{#ifeq:{{{restopic|}}}|||{{#arraymap:{{{restopic|}}}|; |x|[[prjResTopic::x|x]]}}}}}} |
+ | <!--{{Tablerow|Label=Research Topic|Value=[[prjResTopic::{{{restopic}}}|]][[{{{restopic}}}]]}}}}--> | ||
|- | |- |
Latest revision as of 16:39, 6 April 2010
This template simplifies the creation of articles about projects. When inserted in a project's page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
To use this template, insert the following at the beginning of your project page. All fields are strictly optional and should be omitted if no data is given.
Please delete all lines that you do not give useful information for!
{{Project | title=design of a bird-wing-based flying machine | short_descr=goal of this project is to design and develop bird-like artificial wings for a simple prototype of a machine that can fly, carrying one or more persons | coordinator=Leonardo Da Vinci | ***NOTE:*** you can specify a LIST of coordinators, separating them with a semicolon (;). Coordinators and tutors can overlap. | tutor=Leonardo Da Vinci | ***NOTE:*** you can specify a LIST of tutors, separating them with a semicolon (;). Tutors and coordinators can overlap. | collaborator= | ***NOTE:*** you can specify one or more collaborators, separating them with a semicolon (;). | students= | ***NOTE:*** you can specify a LIST of students, separating them with a semicolon (;) | resarea=mechanics | restopic=flying machines | start=start date | end=end date | image=name of picture (e.g. "flying_machine.jpg"), use "upload file" on the left }}
The order of the fields is not relevant. The template should be given as the first thing on a page.