Template:Project: Difference between revisions

From London Hackspace Wiki
(Show full QR code if fullQR=1... or it would, if MediaWiki allowed me to do it!)
(Added documentation)
Line 2: Line 2:
|-
|-
! colspan="2" style="text-align: center;" | {{#if:{{{version|}}} | [[{{#titleparts:{{FULLPAGENAME}}|-1}}|{{{name|{{BASEPAGENAME}}}}}]] | {{{name|{{SUBPAGENAME}} }}} }}
! colspan="2" style="text-align: center;" | {{#if:{{{version|}}} | [[{{#titleparts:{{FULLPAGENAME}}|-1}}|{{{name|{{BASEPAGENAME}}}}}]] | {{{name|{{SUBPAGENAME}} }}} }}
|-
{{#if:{{{created|}}}|
{{!}}-
! Created
! Created
| {{{created|}}}
{{!}} {{{created}}}
}}
{{#if:{{{version|}}}|
{{#if:{{{version|}}}|
{{!}}-
{{!}}-
Line 10: Line 12:
{{!}} {{{version}}}
{{!}} {{{version}}}
}}
}}
|-
{{#if:{{{members|}}}|
{{!}}-
! Members
! Members
| {{{members|}}}
{{!}} {{{members}}}
}}
{{#if:{{{status|}}}|
{{#if:{{{status|}}}|
{{!}}-
{{!}}-
Line 23: Line 27:
</div>}} [http://chart.apis.google.com/chart?chs=200x200&cht=qr&chl=wiki.hackspace.org.uk/wiki/{{FULLPAGENAMEE}}&.png QR code]
</div>}} [http://chart.apis.google.com/chart?chs=200x200&cht=qr&chl=wiki.hackspace.org.uk/wiki/{{FULLPAGENAMEE}}&.png QR code]
|}
|}
<noinclude>
== Documentation ==
All arguments are optional.
'''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 <nowiki>[[User:username|username]]</nowiki> format.
;status
:Project status (e.g. Prototyping)
;fullQR
:If set to 1, should display the QR code on the page itself. But it won't, because MediaWiki isn't configured for this.
</noinclude>

Revision as of 18:56, 31 March 2011

Project



QR code

Documentation

All arguments are optional.

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)
fullQR
If set to 1, should display the QR code on the page itself. But it won't, because MediaWiki isn't configured for this.