Template:Project: Difference between revisions

Template page
m (Doku)
(merge source{link,text})
Line 12: Line 12:
  | people      = </nowiki>''(optional)'' Beteiligte Leute<nowiki>
  | people      = </nowiki>''(optional)'' Beteiligte Leute<nowiki>
  | username    = </nowiki>''(optional, not implemented)'' Falls nur ein Beteiligter: Wiki-Username<nowiki>
  | username    = </nowiki>''(optional, not implemented)'' Falls nur ein Beteiligter: Wiki-Username<nowiki>
  | sourcelink  = </nowiki>''(optional)'' URL zu repo / quelltext<nowiki>
  | source      = </nowiki>''(optional)'' URL zu repo / quelltext<nowiki>
| sourcetext  = </nowiki>''(optional)'' Text zu dieser URL<nowiki>
  }}
  }}
</nowiki>
</nowiki>
Line 19: Line 18:
</noinclude><includeonly>
</noinclude><includeonly>
{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]}}
{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]}}
{{#if:{{{sourcelink|}}}|[[Has repo::{{{sourcelink|}}}| ]]}}
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccffcc;" colspan="2" |<big>{{{name}}}</big>
! style="text-align: center; background-color:#ccffcc;" colspan="2" |<big>{{{name}}}</big>
Line 34: Line 32:
{{#if:{{{people|}}}|{{!}}{{{people|}}}}}
{{#if:{{{people|}}}|{{!}}{{{people|}}}}}
|-
|-
{{#if:{{{sourcelink|}}}|{{!}}Source}}
{{#if:{{{source|}}}|{{!}}Source}}
{{#if:{{{sourcelink|}}}|{{!}}[{{{sourcelink|}}} {{{sourcetext|Link}}}]}}
{{#if:{{{source|}}}|{{!}}[[Has repo::{{{source|}}}]]}}
|-
|-
|}
|}
[[Category:Projects]]
[[Category:Projects]]
</includeonly>
</includeonly>

Revision as of 19:13, 18 June 2012

This is the 'Project' template. It should be called in the following format:

 {{Project
 | name        = Name des Projekts
 | status      = (not implemented) idea|alpha|beta|stable|obsolete 
 | description = Beschreibung
 | image       = Name des Bilds (ohne File: davor)
 | location    = (optional) Ort im Club
 | people      = (optional) Beteiligte Leute
 | username    = (optional, not implemented) Falls nur ein Beteiligter: Wiki-Username
 | source      = (optional) URL zu repo / quelltext
 }}

Edit the page to see the template text.