Template:Project
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (→Template for {{PAGENAME}}) |
m (same as for event) |
||
(17 intermediate revisions by one user not shown) | |||
Line 8: | Line 8: | ||
--> | [[Image:Crystal Project package graphics.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{what|}}}|{{{what}}}|{{PAGENAME}} }}</span> | --> | [[Image:Crystal Project package graphics.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{what|}}}|{{{what}}}|{{PAGENAME}} }}</span> | ||
|- | |- | ||
− | | colspan="2" style="padding: 7px;" | [[ | + | | 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=]] | | colspan="2" style="padding: 10px 0px; text-align:center;" |<!-- setting custom image if available-->[[Image:{{#if: {{{logo|}}} |<!--then-->{{{logo}}}|<!--else-->G8033.png}}|200px|link=]] | ||
Line 20: | Line 20: | ||
|- | |- | ||
| style="padding: 0 7px;" | '''[[Template:Project#Type|Type]]''': || [[Has Type::{{{type|}}}]] | | style="padding: 0 7px;" | '''[[Template:Project#Type|Type]]''': || [[Has Type::{{{type|}}}]] | ||
− | <!-- repository | + | <!-- 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 --> | <!-- /repository --> | ||
Line 29: | Line 34: | ||
| style="padding: 0 7px;" | '''[[Template:Project#Status|Status]]''': || [[Has Status::{{{status|}}}]] | | 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]]|, }} | + | | 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]]) | | + | | 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 *** --> | <!-- *** Type of project *** --> | ||
{{#if: {{{type|}}} | [[Category:{{{type}}}]] }} | {{#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 | + | 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.