Template:Project: Difference between revisions
Jump to navigation
Jump to search
→Arguments: project with manu |
take two |
||
Line 27: | Line 27: | ||
! Model | ! Model | ||
| {{{model}}} | | {{{model}}} | ||
|- {{#if:{{{status|}}}| [[Category:Projects ({{#switch:{{lc:{{{status|}}}}}|planning=planning|dormant=dormant|complete=complete|#default=in progress}})]] <!--Set cat based on status-->| style="display: none;" <!-- Hide row if parameter doesn't exist --> }} | |- {{#if:{{{status|}}}|[[Category:Projects ({{#switch:{{lc:{{{status|}}}}}|planning=planning|dormant=dormant|complete=complete|#default=in progress}})]] | <!--Set cat based on status-->| style="display: none;" <!-- Hide row if parameter doesn't exist --> }} | ||
! Status | ! Status | ||
|{{{status}}} | |{{{status}}} |
Revision as of 15:47, 24 February 2019
Project | |
---|---|
Status | {{{status}}} |
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 at the top of 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= |name= |primary= |created= |completeddate= |dormantdate= |version= |members= |status= |type= |livestatus= |qrmode=1 }}
Arguments
- image
- An image, in the format File:<image name>.<ext>. DO NOT include the [[]] brackets otherwise the image will display full size.
- caption
- This adds text under the image used for the infobox.
- 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, format DD/MM/YYYY. If day of month unknown use 01.
- completeddate
- The date the project was completed, format DD/MM/YYYY. If day of month unknown use 01.
- dormantdate
- The date the project was put on hold or made dormant, format DD/MM/YYYY. If day of month unknown use 01.
- 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?
- Including this will automatically apply the relevant category to your project.
- Please use the following categories: (infrastructure/member/event/workshop/other)
- livestatus
- This can be used for projects that may be dormant or complete but still maintained/ live eg. vending machines
- 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.
Extended arguments
- manufacturer
- Some projects have associated manufacturers (for example, Vending_Machine/Westomatic).
- model
- Some projects have associated models (for example, Vending_Machine/Westomatic).
Source
Thanks to London Hackspace for the original version of this template (Template:Project on London Hackspace wiki).