Template:Project: Difference between revisions

Template page
(projektbox, dinge)
(Immer kategorisieren)
(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><!--
{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]}}
-->{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]|[[Has no image::true| ]]}}<!--
{| cellpadding="5" cellspacing="0" style="<!--
-->{{#ifeq: {{#titleparts: {{PAGENAME}} | |-1 }} | en | [[Duplicate::Yes| ]] | [[Duplicate::No| ]] }}<!--
    --> width: 30em; float: right; clear: right; <!--
-->{{#if: {{{project category|}}} | [[Project category::{{{project category}}}| ]] | [[Project category::Other| ]] }}<!--
    --> margin-bottom: 0.5em; margin-left: 1em; padding: 0; text-align: left; <!--
    --> font-size: 90%; border: 1px solid #aaaaaa; background-color: #eee; color: black;"


! colspan="2" style="text-align: center; border-bottom: 1px solid #aaaaaa; background-color: #ccffcc" <!--
-->{{infobox start
    --> | <big>{{{name}}}</big>
|-
| colspan="2" style="text-align: center" <!--
    --> | {{#if:{{{image|}}}|[[File:{{{image|}}}|frameless]]|[[Has no image::true| ]]}}
|-
| colspan="2" style="text-align: center; border-bottom: 1px solid #aaaaaa" <!--
    --> | [[Has description::{{{description|}}}]]


{{#if:{{{location|}}}|{{!-}}
|headercolor={{#switch: {{{status|idea}}}
    {{!}}Ort
              | idea = #cccccc
    {{!}}[[Has location::{{{location|}}}]]
              | alpha = #cccccc
}}
              | beta = #f0e040
{{#if:{{{people|}}}|{{!-}}
              | stable = #40c040
    {{!}}Beteiligt
              | obsolete = #000000
    {{!}}{{{people|}}}
              }}
}}
|darkheader={{#switch: {{{status|idea}}}
{{#if:{{{source|}}}|{{!-}}
              | idea | alpha | beta = 0
    {{!}}Quelltext
              | stable | obsolete = 1
    {{!}}[[Has repo::{{{source|}}}]]
            }}
}}
|name={{{name}}} <sup>[[Project status::{{{status|unknown}}}]]</sup>
|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>

Revision as of 13:15, 4 January 2013

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.