Template:Project: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
m fixed spelling mistake in QR code link
m testing
Line 5: Line 5:
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} {{#if: {{{image|}}}|
{{!}} colspan="2" style="text-align:center;" {{!}} {{#if: {{{image|}}}|
[[{{{image}}} |{{#ifexpr: {{{imagewidth|220}}}>220 |220|{{{imagewidth|220}}}}}px|link={{{image}}}|none|center]]{{#if: {{{caption|}}}|''{{{caption}}}''}}}}
[[{{{image}}} |{{#ifexpr: {{{imagewidth|220}}}>220 |220|{{{imagewidth|220}}}}}px|none|center]]{{#if: {{{caption|}}}|''{{{caption}}}''}}}}
|
|
}}
}}

Revision as of 23:11, 4 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.

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 (Template:Project on London Hackspace wiki).