Template:Project: Difference between revisions

Template page
m (foo)
m (re-introduce a very little bit of title background shading)
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the 'Project' template.
This is the 'Project' template.
It should be called in the following format:
It should be used via [[Form:Project]] or in the following format:
<pre>
 
{{Project
<nowiki>
|name=
{{Project
|description=
| name       = </nowiki>Name des Projekts<nowiki>
|image=
| status      = </nowiki>idea|alpha|beta|stable|obsolete (default idea) <nowiki>
|location=
| description = </nowiki>Beschreibung<nowiki>
|people=
| image       = </nowiki>''(optional)'' Name des Bilds (ohne File: davor)<nowiki>
|sourcelink=
| location   = </nowiki>''(optional)'' Ort im Club<nowiki>
|sourcetext=
| people     = </nowiki>''(optional)'' Beteiligte Leute<nowiki>
}}
| username    = </nowiki>''(optional, not implemented)'' Falls nur ein Beteiligter: Wiki-Username<nowiki>
</pre>
| source      = </nowiki>''(optional)'' URL zu repo / quelltext<nowiki>
}}
</nowiki>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly><!--
{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]}}
-->{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]|[[Has no image::true| ]]}}<!--
{{#if:{{{sourcelink|}}}|[[Has repo::{{{sourcelink|}}}| ]]}}
-->{{#ifeq: {{#titleparts: {{PAGENAME}} | |-1 }} | en | [[Duplicate::Yes| ]] | [[Duplicate::No| ]] }}<!--
{| 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;"
-->{{#if: {{{project category|}}} | [[Project category::{{{project category}}}| ]] | [[Project category::Other| ]] }}<!--
! style="text-align: center; background-color:#ccffcc;" colspan="2" |<big>{{{name}}}</big>
 
|-
-->{{infobox start
! style="text-align: center;" colspan="2" |[[File:{{{image|}}}|frameless]]
 
|-
|headershade={{#switch: {{{status|idea}}}
| Description
              | idea = 127, 127, 127
| [[Has description::{{{description|}}}]]
              | alpha = 127, 127, 127
|-
              | beta = 255, 127, 0
{{#if:{{{location|}}}|{{!}}Location}}
              | stable = 0, 255, 0
{{#if:{{{location|}}}|{{!}}[[Has location::{{{location|}}}]]}}
              | obsolete = 0, 0, 0
|-
              }}
{{#if:{{{people|}}}|{{!}}People}}
|name={{{name}}} <sup>[[Project status::{{{status|unknown}}}]]</sup>
{{#if:{{{people|}}}|{{!}}{{{people|}}}}}
|image={{{image|}}}
|-
|description={{{description|}}}
{{#if:{{{sourcelink|}}}|{{!}}Source}}
}}<!--
{{#if:{{{sourcelink|}}}|{{!}}[{{{sourcelink|}}} {{{sourcetext|Link}}}]}}
 
|-
-->{{ifnotempty|{{{location|}}}|{{infobox row |name=Ort      |value=[[Has location::{{{location|}}}]] }}}}<!--
-->{{ifnotempty|{{{people|}}} |{{infobox row |name=Beteiligt |value={{{people|}}}                    }}}}<!--
-->{{ifnotempty|{{{source|}}} |{{infobox row |name=Quelltext |value=[[Has repo::{{{source|}}}]]      }}}}<!--
 
-->
|}
|}
[[Category:Projects]]
[[Category:Projects]]
</includeonly>
</includeonly>

Latest revision as of 08:32, 20 April 2024

This is the 'Project' template. It should be used via Form:Project or in the following format:

 {{Project
 | name        = Name des Projekts
 | status      = idea|alpha|beta|stable|obsolete (default idea) 
 | description = Beschreibung
 | image       = (optional) 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.