Template:Project
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
m (same as for event) |
||
(39 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><!-- |
− | {| | + | --> {| class="" cellpadding="2" cellspacing="0" <!-- |
− | | | + | --> style="float: right; width: 300px; margin: 0 0 1em 1em; border: 2px solid #AAAAAA; background-color: #FFFFFF" |
− | + | |+ '''[[Form:Project|Add your Project]]''' | |
− | + | ||
− | + | ||
|- | |- | ||
− | + | ! colspan="2" <!-- This is the header | |
+ | --> style="padding-top: 0.5em; color: white; background-color: #AAAAAA" <!-- | ||
+ | --> | [[Image:Crystal Project package graphics.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{what|}}}|{{{what}}}|{{PAGENAME}} }}</span> | ||
|- | |- | ||
− | + | | colspan="2" style="padding: 7px;" | [[Has description::{{{intro|}}}]] | |
|- | |- | ||
− | | [[ | + | | colspan="2" style="padding: 10px 0px; text-align:center;" |<!-- setting custom image if available-->[[Image:{{#if: {{{logo|}}} |<!--then-->{{{logo}}}|<!--else-->G8033.png}}|200px|link=]] |
|- | |- | ||
− | + | | style="padding: 0 7px;" | '''[[Template:Project#Meetings|Meetings]]''': || {{#ifeq: {{{status|}}} | running | [[Has Meetings::{{{meetings|}}}]] | none }} | |
+ | <!-- | ||
+ | How can we automate recurring meetings from the Has meetings property? | ||
|- | |- | ||
− | | [[ | + | | style="padding: 0 7px;" | '''[[Template:Project#Recurring|Recurring]]''': || [[Is Recurring::{{{recurring|}}}]] |
+ | --> | ||
|- | |- | ||
− | ! style="padding: 0 7px; | + | | style="padding: 0 7px;" | '''[[Template:Project#Type|Type]]''': || [[Has Type::{{{type|}}}]] |
+ | <!-- display tracker and repository for all types of projects, if they're set --> | ||
+ | <!-- http://www.mediawiki.org/wiki/Help:Parser_functions_in_templates --> | ||
+ | {{#if: {{{repository|}}} | | ||
+ | {{!-}} | ||
+ | {{!}} style="padding: 0 7px;" {{!}} '''[[Template:Project#Repository|Repository]]''': {{!!}} [[Has repository::{{{repository|}}}]] | ||
+ | }} | ||
+ | {{#if: {{{tracker|}}} | | ||
+ | {{!-}} | ||
+ | {{!}} style="padding: 0 7px;" {{!}} '''[[Template:Project#Tracker|Tracker]]''': {{!!}} [[Has tracker::{{{tracker|}}}]] | ||
+ | }} | ||
+ | <!-- /repository --> | ||
|- | |- | ||
− | | [[ | + | | style="padding: 0 7px;" | '''[[Template:Project#Status|Status]]''': || [[Has Status::{{{status|}}}]] |
|- | |- | ||
− | + | | style="padding: 0 7px;" | '''[[Template:Project#Members|Members]]''': || | {{#arraymap:{{{members|}}}|,|x|[[Has Member::User:x|x]]}}<br/><span style="font-weight:bold;"><!-- | |
+ | -->{{#ifanon: | | ||
+ | {{#autoedit:form=Project | ||
+ | |target={{FULLPAGENAME}} | ||
+ | |link text=Add me! | ||
+ | |query string=Project[members]={{#arraymap: | ||
+ | {{#ask:[[{{FULLPAGENAME}}]] | ||
+ | |?Has Member | ||
+ | |format=list | ||
+ | |headers=hide | ||
+ | |link=none | ||
+ | }} | ||
+ | |,|x|{{#sub:x|5|0}} | ||
+ | }}, {{#username:}} | reload}} | ||
+ | }}</span> | ||
|- | |- | ||
− | | {{# | + | | style="padding: 0 7px;" | '''[[Template:Project#Contact Person|Contact Person]]''': || {{#arraymap:{{{contact|}}}|,|x|[[Has Contact::User:x|x]] ([[Special:EmailUser/x|mail]])}} |
|- | |- | ||
− | + | | colspan="2" style="padding: 0.5em; color: white; background-color: #AAAAAA" | <span style="font-size: 120%;">Tools</span> | |
|- | |- | ||
− | | | + | | style="padding: 0 7px;" | '''[[Template:Project#QrCode|QrCode]]''': || {{#qrcode: scheme=http}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | | {{# | + | |
|} | |} | ||
− | |||
− | |||
− | |||
[[Category:Project]] | [[Category:Project]] | ||
− | <!-- | + | <!-- *** Type of project *** --> |
+ | {{#if: {{{type|}}} | [[Category:{{{type}}}]] }} | ||
+ | <!-- *** Set variables that are not displayed on the page *** --> | ||
+ | {{#set: Has picture=File:{{{logo|}}} }} | ||
</includeonly> | </includeonly> | ||
− | |||
<noinclude> | <noinclude> | ||
==Template for {{PAGENAME}}== | ==Template for {{PAGENAME}}== | ||
− | + | Please use the [[Form:Project]] page to add your project.<br/> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | [[ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
</noinclude> | </noinclude> |
Latest revision as of 20:13, 24 December 2011
[edit] Template for Project
Please use the Form:Project page to add your project.