Template:Project

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m (same as for event)
 
(52 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><!--
{| align="right" cellpadding="4" cellspacing="0" style="width: 300px; margin: 0 0 1em 1em; border: 1px solid #999; border-right-width: 2px; border-bottom-width: 2px; background-color: #FF0000"
+
--> {| class="" cellpadding="2" cellspacing="0" <!--
| align="center" colspan="2" style="background-color: white; text-align: center;" |
+
--> style="float: right; width: 300px; margin: 0 0 1em 1em; border: 2px solid #AAAAAA; background-color: #FFFFFF"
{| width="100%"
+
|+ '''[[Form:Project|Add your Project]]'''
! style="padding: 7px; font-size: 1.5em; color: white; background: #000066" align="center" | {{{what}}}
+
 
|-
 
|-
| style="padding: 10px 0px;" | {{#if: {{{logo|}}} | [[Image:{{{logo}}}|250px]] | [[Image:G8033.png|250px]] }}
+
! 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>
 
|-
 
|-
! style="padding: 0 7px; background: #CCCCFF" | What:
+
| colspan="2" style="padding: 7px;" | [[Has description::{{{intro|}}}]]
 
|-
 
|-
| [[ProjectName::{{{what|}}}]]
+
| 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; background: #CCCCFF" | Intro:
+
| 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?
 
|-
 
|-
| [[intro::{{{intro|}}}]]
+
| style="padding: 0 7px;"  | '''[[Template:Project#Recurring|Recurring]]''': || [[Is Recurring::{{{recurring|}}}]]
 +
-->
 
|-
 
|-
! style="padding: 0 7px; background: #CCCCFF" | Meetings:
+
| 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 -->
 
|-
 
|-
| {{#ifeq: {{{status|}}} | running | [[Weekday::{{{meetings|}}}]] | none }}
+
| style="padding: 0 7px;"  | '''[[Template:Project#Status|Status]]''': || [[Has Status::{{{status|}}}]]
 
|-
 
|-
! style="padding: 0 7px; background: #CCCCFF" | Who:
+
| 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>
 
|-
 
|-
| [[Attendees::{{{who|}}}]]
+
| 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; background: #CCCCFF" | Status:
+
| colspan="2" style="padding: 0.5em; color: white; background-color: #AAAAAA" | <span style="font-size: 120%;">Tools</span>
 
|-
 
|-
| [[ProjectStatus::{{{status|}}}]]
+
| style="padding: 0 7px;"  | '''[[Template:Project#QrCode|QrCode]]''': || {{#qrcode: scheme=http}}
|-
+
! style="padding: 0 7px; background: #CCCCFF" | Head:
+
|-
+
| [[User:{{{head}}}|{{{head}}}]]
+
 
|}
 
|}
|}
 
<!--More semantic info that doesn't fit above-->
 
[[Person::{{{head}}}| ]]
 
 
[[Category:Project]]
 
[[Category:Project]]
<!-- Semantic end-->
+
<!-- *** 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}}==
Copy and paste this code to your project page, then edit it to suit your needs<br/>
+
Please use the [[Form:Project]] page to add your project.<br/>
<pre>
+
{{Project
+
| logo=Image:Arduino316.jpg
+
| what=Open Multitouch
+
| meetings=Fridays, 9pm
+
| status=running
+
| who=Everyone interested in learning how to solder
+
| head=Tschew
+
}}
+
</pre>
+
 
</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.

Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools