Template:Project: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 45: Line 45:
{{!}}-
{{!}}-
! Type
! Type
{{!}} {{#switch:{{lc:{{{type}}}|member=Member's Project|infrastructure=Hackspace Infrastructure|#default={{{type}}}}
{{!}} {{#switch:{{lc:{{{type}}}|member=Member's Project|infrastructure=Hackspace Infrastructure|#default={{{type}}}}}}}
}}
}}
{{#ifexpr:{{{qrmode|1}}} > 0|
{{#ifexpr:{{{qrmode|1}}} > 0|

Revision as of 01:30, 6 January 2019

Project





QR code

Documentation

All arguments are optional. The default state of the template with no arguments is shown at the top of this page.

Note: if version is set, the project title links to the parent of the page that includes this template.

Usage

Inserting the following text onto your project page will produce an information box on your page that gives an overview of the project to the reader. All of the arguments are optional and can be written in any order.

Images look great with this template, include one if you can!


{{Project|image=File:Yourimage.jpg|created=xx/xx/xxxx|members=[[User:YourUsername|YourUsername]]|qrmode=0|type=member|status=In Progress}}


Arguments

image
An image, in the format File:<image name>.<ext>. DO NOT include the [[]] brackets otherwise the image will display full size.
name
Used to override the project name if it is different from the name of the wiki page (default: the page name without the Project: prefix).
primary
Primary contact.
This is a useful argument where more than one person has worked on the project.
created
The creation date of the project.
completeddate
The date the project was completed.
dormantdate
The date the project was put on hold or made dormant.
version
Project version number (e.g. 1).
members
List of members involved. Ideally, use [[User:username|username]] format.
status
Project status.
Please use the following categories: (planning/dormant/complete/in progress)
type
Is the project to benefit Hackspace infrastructure or is it a Members Project?
Please use the following categories: (infrastructure/member/other)
qrmode
Please use the following categories: (0/1/2)
If set to 1 (default), a link to the QR code is displayed.
If set to 2, it will display the QR code image on. If set to 0, do not display the QR code link or image.


Source

Thanks to London Hackspace for the original version of this template (Template:Project on London Hackspace wiki).