Template:Project: Difference between revisions

Template page
(infobox template)
m (re-introduce a very little bit of title background shading)
 
(24 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  {{Project
  {{Project
  | name        = </nowiki>Name des Projekts<nowiki>
  | name        = </nowiki>Name des Projekts<nowiki>
  | status      = </nowiki>''(not implemented)'' idea|alpha|beta|stable|obsolete <nowiki>
  | status      = </nowiki>idea|alpha|beta|stable|obsolete (default idea) <nowiki>
  | description = </nowiki>Beschreibung<nowiki>
  | description = </nowiki>Beschreibung<nowiki>
  | image      = </nowiki>''(optional)'' Name des Bilds (ohne File: davor)<nowiki>
  | image      = </nowiki>''(optional)'' Name des Bilds (ohne File: davor)<nowiki>
Line 16: Line 16:
</nowiki>
</nowiki>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly><!--
{{infobox start
-->{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]|[[Has no image::true| ]]}}<!--
|headercolor=#ccffcc
-->{{#ifeq: {{#titleparts: {{PAGENAME}} | |-1 }} | en | [[Duplicate::Yes| ]] | [[Duplicate::No| ]] }}<!--
|name={{{name}}}
-->{{#if: {{{project category|}}} | [[Project category::{{{project category}}}| ]] | [[Project category::Other| ]] }}<!--
|image={{{image}}}
|description={{{description}}}
}}


{{#if:{{{location|}}}|{{!-}}
-->{{infobox start
    {{!}}Ort
 
    {{!}}[[Has location::{{{location|}}}]]
|headershade={{#switch: {{{status|idea}}}
}}
              | idea = 127, 127, 127
{{#if:{{{people|}}}|{{!-}}
              | alpha = 127, 127, 127
    {{!}}Beteiligt
              | beta = 255, 127, 0
    {{!}}{{{people|}}}
              | stable = 0, 255, 0
}}
              | obsolete = 0, 0, 0
{{#if:{{{source|}}}|{{!-}}
              }}
    {{!}}Quelltext
|name={{{name}}} <sup>[[Project status::{{{status|unknown}}}]]</sup>
    {{!}}[[Has repo::{{{source|}}}]]
|image={{{image|}}}
}}
|description={{{description|}}}
}}<!--
 
-->{{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.