Difference between revisions of "Template:Project info"
Line 2: | Line 2: | ||
This template and registers the relevant categories and properties for a project. Will protest loudly in bold red if mandatory information is missing. If you do not wish to provide a certain piece of required information: do not use this template. Or else you will corrupt the database with incorrect information. | This template and registers the relevant categories and properties for a project. Will protest loudly in bold red if mandatory information is missing. If you do not wish to provide a certain piece of required information: do not use this template. Or else you will corrupt the database with incorrect information. | ||
− | Usage: <nowiki>{{</nowiki>project info|''description''=|''financing''=|''active''=|''start date''=|''end date''=|''name''=<nowiki>{{PAGENAME}}}}</nowiki> | + | Usage: <nowiki>{{</nowiki>project info|''description''=|''fields''=|''financing''=|''active''=|''start date''=|''end date''=|''name''=<nowiki>{{PAGENAME}}}}</nowiki> |
− | All the parameters are named, and can be given in any order. ''description'' should be a shortest-possible style description of the project's purpose or activities, which should not start with the word "a" or a capital letter, and should not end with a full stop character. ''financing'' indicates which organisation provides the main financing for the project (see [[Property:Project financing]]). ''start date'' and ''end date'' give the start and end dates of the project. ''active'' states whether or not the project is currently considered to be active (see [[Property:Project active]]). ''name'' defaults to <nowiki>{{PAGENAME}}</nowiki> and should in principle never have to be set to anything else. | + | All the parameters are named, and can be given in any order. ''description'' should be a shortest-possible style description of the project's purpose or activities, which should not start with the word "a" or a capital letter, and should not end with a full stop character. ''fields'' is a comma separated list of [[Category:Field|fields]] associated with this project. ''financing'' indicates which organisation provides the main financing for the project (see [[Property:Project financing]]). ''start date'' and ''end date'' give the start and end dates of the project. ''active'' states whether or not the project is currently considered to be active (see [[Property:Project active]]). ''name'' defaults to <nowiki>{{PAGENAME}}</nowiki> and should in principle never have to be set to anything else. |
This template produces a small table with the given information as readable output, but this can be suppressed by setting ''quiet''=true. | This template produces a small table with the given information as readable output, but this can be suppressed by setting ''quiet''=true. | ||
Line 47: | Line 47: | ||
</tr> | </tr> | ||
</table>}} | </table>}} | ||
− | [[Category:Project]]</includeonly> | + | [[Category:Project]]{{set category list|field|{{{fields|}}}}}</includeonly> |
Revision as of 09:09, 13 March 2012
This template and registers the relevant categories and properties for a project. Will protest loudly in bold red if mandatory information is missing. If you do not wish to provide a certain piece of required information: do not use this template. Or else you will corrupt the database with incorrect information.
Usage: {{project info|description=|fields=|financing=|active=|start date=|end date=|name={{PAGENAME}}}}
All the parameters are named, and can be given in any order. description should be a shortest-possible style description of the project's purpose or activities, which should not start with the word "a" or a capital letter, and should not end with a full stop character. fields is a comma separated list of associated with this project. financing indicates which organisation provides the main financing for the project (see Property:Project financing). start date and end date give the start and end dates of the project. active states whether or not the project is currently considered to be active (see Property:Project active). name defaults to {{PAGENAME}} and should in principle never have to be set to anything else.
This template produces a small table with the given information as readable output, but this can be suppressed by setting quiet=true.
Example:
{{project info |description=web portal frontend for a cluster resource for bioinformatics |financing=SNIC |active=yes |start date=2011-05-20 |end date= }}