Difference between revisions of "Template:Project"
From AIRWiki
DavidLaniado (Talk | contribs) |
DavidLaniado (Talk | contribs) m |
||
Line 36: | Line 36: | ||
|- | |- | ||
{{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=Students|Value={{#ifeq:{{{students|}}}|||{{#arraymap:{{{students|}}}|; |x|[[prjStudent::User:x|x]] ({{#show: User:x| ?Email }})}}}}}} | ||
|- | |- | ||
Line 41: | Line 44: | ||
|- | |- | ||
− | {{#ifeq:{{{restopic|}}}|||{{Tablerow|Label=Research Topic|Value=[[prjResTopic::{{{restopic}}}]]}}}} | + | {{#ifeq:{{{restopic|}}}|||{{Tablerow|Label=Research Topic|Value=[[prjResTopic::{{{restopic}}}]][[{{{resarea}}}]]}}}} |
|- | |- |
Revision as of 00:44, 30 May 2009
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 | tutor=Leonardo Da Vinci | ***NOTE:*** you can specify a LIST of tutors, 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.