Template:Project: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
{{#ifexpr:{{{qrmode|1}}} > 0| | {{#ifexpr:{{{qrmode|1}}} > 0| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" style="text-align: center;" {{!}} {{#ifeq:{{{qrmode|1}}}|2| | {{!}} colspan="2" style="text-align: center;" {{!}} {{#ifeq:{{{qrmode|1}}}|2|<div style="height: 200px; width: 200px; margin: 0 auto; background: no-repeat 50% 50% #ccc; text-align: center; vertical-align: middle"> | ||
http://chart.apis.google.com/chart?chs=200x200&cht=qr&chl=http://wiki.nottinghack.org.uk/wiki/{{FULLPAGENAMEE}}&.png | |||
</div>}} [http://chart.apis.google.com/chart?chs=200x200&cht=qr&chl=wiki.nottingahck.org.uk/wiki/{{FULLPAGENAMEE}}&.png QR code]}} | |||
|} | |} | ||
<noinclude> | <noinclude> |
Revision as of 18:24, 17 May 2012
Project
| |
---|---|
QR code |
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.
Note: if version is set, the project title links to the parent of the page that includes this template.
Arguments
- name
- Project name override (default: the page name without the Project: prefix)
- 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
- 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.