Difference between revisions of "Template:Project"

From AIRWiki
Jump to: navigation, search
Line 26: Line 26:
{{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}}}|200px|Image of the project {{PAGENAME}}]]'''}}[[prjImage::Image:{{{image}}}]]}}
{{#ifeq:{{{image|}}}|||{{Tablelongrow|Value='''[[Image:{{{image}}}|200px|Image of the project {{PAGENAME}}]]'''}}[[prjImage::Image:{{{image}}}|]]}}

Revision as of 13:46, 11 February 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!

 | 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.
 | 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.