Template:Project

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m
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"
+
OUTSOURCED
| align="center" colspan="2" style="background-color: white; text-align: center;" |
+
[[ProjectName::{{{what|}}}]]
{| width="100%"
+
/OUTSOURCED
|- class="ext-header"
+
--> {| class="" cellpadding="2" cellspacing="0" <!--
! style="padding: 7px; font-size: 1.5em; color: white; background: #000066" align="center" | [[Image:Crystal Project package graphics.png|left|40px]] {{PAGENAME}}
+
--> style="float: right; width: 300px; margin: 0 0 1em 1em; border: 2px solid #AAAAAA; background-color: #FFFFFF"
 +
|+ '''[[Form:Project|Add your Project]]'''
 
|-
 
|-
| style="padding: 10px 0px;" | {{#if: {{{logo|}}} | [[Image:{{{logo}}}|200px]] | [[Image:G8033.png|200px]] }}
+
! 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;" | [[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 Meeting::{{{meetings|}}}]] | none }}
 +
<!--
 +
How can we automate that?
 
|-
 
|-
| [[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|}}}]]
 
|-
 
|-
| {{#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 Members::User:x|x]]|, }}
 
|-
 
|-
| [[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" | Type of Project:
+
|-
+
| [[TypeOfProject::{{{type|}}}]]
+
|-
+
! style="padding: 0 7px; background: #CCCCFF" | Status:
+
|-
+
| [[ProjectStatus::{{{status|}}}]]
+
|-
+
! style="padding: 0 7px; background: #CCCCFF" | Contact:
+
|-
+
| {{#arraymap:{{{contact|}}}|,|x|[[ProjectLeader::User:x|x]] ([[Special:EmailUser/x|mail]]) |, }}
+
|-
+
! style="padding: 0 7px; background: #CCCCFF" | Members:
+
|-
+
| {{#arraymap:{{{members|}}}|,|x|[[ProjectMember::User:x|x]]|, }}
+
 
|}
 
|}
|}
 
<!--More semantic info that doesn't fit above-->
 
[[Category:Project]]
 
<!-- Semantic end-->
 
 
</includeonly>
 
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
==Template for {{PAGENAME}}==
 
==Template for {{PAGENAME}}==
Line 54: Line 39:
 
{{Project
 
{{Project
 
| logo = <filename>
 
| logo = <filename>
| what= <project name>
+
<!--| what= <project name> -->
 
| type= <type of project, select from (security, hardware, software, charity, misc, art)>
 
| type= <type of project, select from (security, hardware, software, charity, misc, art)>
 
| intro=A short introduction
 
| intro=A short introduction
 
| meetings=Fridays, 9pm
 
| meetings=Fridays, 9pm
 
| status=running
 
| status=running
| who=Everyone interested in learning how to solder
 
 
| contact = <comma-separated list of users>
 
| contact = <comma-separated list of users>
 
| members = <comma-separated list of users>
 
| members = <comma-separated list of users>

Revision as of 17:34, 22 December 2009


Template for Project

Please consider using the Form:Project page to add your project.

If you don't want to, copy and paste this code to your project page, then edit it to suit your needs

{{Project
| logo = <filename>
<!--| what= <project name> -->
| type= <type of project, select from (security, hardware, software, charity, misc, art)>
| intro=A short introduction
| meetings=Fridays, 9pm
| status=running
| contact = <comma-separated list of users>
| members = <comma-separated list of users>
}}
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools