Template:Project: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
Adding image argument ...hopefully
ce - qr code mode 2 does display qr code image
Line 41: Line 41:
--><noinclude>
--><noinclude>
{{clear}}
{{clear}}
__NOEDITSECTION__
 
== Documentation ==
== Documentation ==
Thanks to London Hackspace for this template
All arguments are optional, but you should have at least 1 (ideally more). Don't worry about the way it looks on this page: that's purely because no arguments are specified.
All arguments are optional, but you should have at least 1 (ideally more). Don't worry about the way it looks on this page: that's purely because no arguments are specified.


Line 66: Line 63:
:Project status (e.g. Prototyping)
:Project status (e.g. Prototyping)
;qrmode
;qrmode
:If set to 1 (default), display a link to the QR code. If set to 2, should display the QR code on the page itself. But it won't, because MediaWiki isn't configured for this. If set to 0, do not display the QR code link at all.
:(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===
===Source===
Thanks to London Hackspace for this template.
* [https://wiki.london.hackspace.org.uk/view/Template:Project Template:Project on London Hackspace wiki]


* [https://wiki.london.hackspace.org.uk/view/Template:Project Template:Project on London Hackspace wiki]
[[Category:Templates infoboxes]]
[[Category:Templates infoboxes]]
</noinclude>
</noinclude>

Revision as of 17:19, 4 January 2019

Project




QR code

Documentation

All arguments are optional, but you should have at least 1 (ideally more). Don't worry about the way it looks on this page: that's purely because no arguments are specified.

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

Arguments

image
An image, in the format File:<image name>.<ext>. DO NOT include the [[]] brackets otherwise the image will display full size.
name
Project name override (default: the page name without the Project: prefix)
primary
Primary Contact
created
Creation date
version
Project version number (e.g. 1).
members
List of members involved. Ideally, use [[User:username|username]] format.
status
Project status (e.g. Prototyping)
qrmode
(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 this template.