Difference between revisions of "Template:Project"
Jump to navigation
Jump to search
(Added docs) |
(describe "custom_status") |
||
(32 intermediate revisions by 3 users not shown) | |||
Line 10: | Line 10: | ||
--><span style="font-size: 130%;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}<!-- | --><span style="font-size: 130%;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}<!-- | ||
-->}}</span><br /> | -->}}</span><br /> | ||
− | status: {{#switch: {{lc: {{{status|unknown}}}<!-- -->}}|<!-- | + | {{#ifeq:{{{status|}}}|game| |status: [[Status::{{#switch: {{lc: {{{status|unknown}}}<!-- -->}}|<!-- |
-->experimental|beta|stable|obsolete|broken={{{custom status|{{{status}}}}}}|<!-- | -->experimental|beta|stable|obsolete|broken={{{custom status|{{{status}}}}}}|<!-- | ||
− | -->unknown<!-- | + | -->unknown}}]]<!-- |
-->}} | -->}} | ||
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
− | {{#if:{{{image|}}}|<!-- | + | {{#if:{{{image|}}}|<!--881&KID=512&SRC=0E6E1C747C700D640872&DBSID=6&mid=4802 |
-->{{col sep}} colspan="2" style="text-align: center; padding: 12px;" {{!}} [[Image:{{{image}}}|{{{imagesize|220}}}px]]<!-- | -->{{col sep}} colspan="2" style="text-align: center; padding: 12px;" {{!}} [[Image:{{{image}}}|{{{imagesize|220}}}px]]<!-- | ||
-->}} | -->}} | ||
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
| style="vertical-align: top; padding:0.2em 0.5em;" | '''Description''' || {{{description}}} | | style="vertical-align: top; padding:0.2em 0.5em;" | '''Description''' || {{{description}}} | ||
+ | |- style="border-bottom:1px solid #F0F0F0;" | ||
+ | {{#if:{{{url|}}}|<!-- | ||
+ | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''URL'''<!-- | ||
+ | -->{{col sep}} [[URL::{{{url}}}]]<!-- | ||
+ | -->}} | ||
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
{{#if:{{{category|}}}|<!-- | {{#if:{{{category|}}}|<!-- | ||
Line 27: | Line 32: | ||
-->}} | -->}} | ||
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
− | {{#if:{{{author | + | {{#if:{{{author|}}}|<!-- |
− | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Author | + | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Author'''<!-- |
− | -->{{col sep}} | + | -->{{col sep}}[[Author::User:{{{author}}}]]<!-- |
− | + | -->}} | |
− | + | |- style="border-bottom:1px solid #F0F0F0;" | |
− | + | {{#if:{{{owner2|}}}|<!-- | |
− | + | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Author'''<!-- | |
− | + | -->{{col sep}}[[Author::User:{{{author2}}}]]<!-- | |
− | + | -->}} | |
− | + | |- style="border-bottom:1px solid #F0F0F0;" | |
− | + | {{#if:{{{owner3|}}}|<!-- | |
− | + | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Author'''<!-- | |
− | + | -->{{col sep}}[[Author::User:{{{author3}}}]]<!-- | |
− | |||
− | |||
− | |||
− | |||
-->}} | -->}} | ||
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
− | {{#if:{{{owner|{{{ | + | {{#if:{{{owner|}}}|<!-- |
+ | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Owner'''<!-- | ||
+ | -->{{col sep}}[[Owner::User:{{{owner}}}]]<!-- | ||
+ | -->}} | ||
+ | |- style="border-bottom:1px solid #F0F0F0;" | ||
+ | {{#if:{{{owner2|}}}|<!-- | ||
-->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Owner'''<!-- | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Owner'''<!-- | ||
− | -->{{col sep}} | + | -->{{col sep}}[[Owner::User:{{{owner2}}}]]<!-- |
− | + | -->}} | |
− | + | |- style="border-bottom:1px solid #F0F0F0;" | |
− | + | {{#if:{{{owner3|}}}|<!-- | |
− | + | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Owner'''<!-- | |
− | + | -->{{col sep}}[[Owner::User:{{{owner3}}}]]<!-- | |
− | + | -->}} | |
− | + | |- style="border-bottom:1px solid #F0F0F0;" | |
− | + | {{#if:{{{maintainer|}}}|<!-- | |
− | + | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Maintainer'''<!-- | |
− | + | -->{{col sep}}[[Maintainer::User:{{{maintainer}}}]]<!-- | |
− | + | -->}} | |
− | + | |- style="border-bottom:1px solid #F0F0F0;" | |
− | + | {{#if:{{{maintainer2|}}}|<!-- | |
− | + | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Maintainer'''<!-- | |
+ | -->{{col sep}}[[Maintainer::User:{{{maintainer2}}}]]<!-- | ||
-->}} | -->}} | ||
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
− | {{#if:{{{ | + | {{#if:{{{maintainer3|}}}|<!-- |
-->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Maintainer'''<!-- | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Maintainer'''<!-- | ||
− | -->{{col sep}} | + | -->{{col sep}}[[Maintainer::User:{{{maintainer3}}}]]<!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->}} | -->}} | ||
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
Line 87: | Line 80: | ||
-->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Location'''<!-- | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Location'''<!-- | ||
-->{{col sep}} {{{location}}}<!-- | -->{{col sep}} {{{location}}}<!-- | ||
+ | -->}} | ||
+ | |- style="border-bottom:1px solid #F0F0F0;" | ||
+ | {{#if:{{{git|}}}|<!-- | ||
+ | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Gitlab'''<!-- | ||
+ | -->{{col sep}} [https://git.zom.bi/{{{git}}} {{{git}}}]<!-- | ||
+ | -->}} | ||
+ | |- style="border-bottom:1px solid #F0F0F0;" | ||
+ | {{#if:{{{ip|}}}|<!-- | ||
+ | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''VPN-IP'''<!-- | ||
+ | -->{{col sep}} [[ip::{{{ip}}}]]<!-- | ||
-->}} | -->}} | ||
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
Line 102: | Line 105: | ||
-->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Hostname'''<!-- | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Hostname'''<!-- | ||
-->{{col sep}} {{{hostname}}}<!-- | -->{{col sep}} {{{hostname}}}<!-- | ||
+ | -->}} | ||
+ | |- style="border-bottom:1px solid #F0F0F0;" | ||
+ | {{#if:{{{server|}}}|<!-- | ||
+ | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Running on'''<!-- | ||
+ | -->{{col sep}} [[Server::{{{server}}}]]<!-- | ||
+ | -->}} | ||
+ | |- style="border-bottom:1px solid #F0F0F0;" | ||
+ | {{#if:{{{supersededby|}}}|<!-- | ||
+ | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Superseded by'''<!-- | ||
+ | -->{{col sep}} [[Superseded by::{{{supersededby}}}]]<!-- | ||
-->}} | -->}} | ||
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
Line 117: | Line 130: | ||
-->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Download'''<!-- | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Download'''<!-- | ||
-->{{col sep}} {{{download}}}<!-- | -->{{col sep}} {{{download}}}<!-- | ||
− | -->}} | + | -->}} |
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
{{#if:{{{source|}}}|<!-- | {{#if:{{{source|}}}|<!-- | ||
-->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Source Code'''<!-- | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Source Code'''<!-- | ||
-->{{col sep}} {{{source}}}<!-- | -->{{col sep}} {{{source}}}<!-- | ||
+ | -->}} | ||
+ | |- style="border-bottom:1px solid #F0F0F0;" | ||
+ | {{#if:{{{authentication|}}}|<!-- | ||
+ | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Authentication'''<!-- | ||
+ | -->{{col sep}} [[authentication::{{{authentication}}}]]<!-- | ||
+ | -->}} | ||
+ | |- style="border-bottom:1px solid #F0F0F0;" | ||
+ | {{#if:{{{authentication2|}}}|<!-- | ||
+ | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Authentication'''<!-- | ||
+ | -->{{col sep}} [[authentication::{{{authentication2}}}]]<!-- | ||
+ | -->}} | ||
+ | |- style="border-bottom:1px solid #F0F0F0;" | ||
+ | {{#if:{{{implements|}}}|<!-- | ||
+ | -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Implements'''<!-- | ||
+ | -->{{col sep}} [[Implements::{{{implements}}}]] (wikidata)<!-- | ||
-->}} | -->}} | ||
|}<!-- | |}<!-- | ||
Line 127: | Line 155: | ||
-->|[[Category:{{{category}}}{{#if:{{{subcategory|}}}|/{{{subcategory}}}}}]]<!-- | -->|[[Category:{{{category}}}{{#if:{{{subcategory|}}}|/{{{subcategory}}}}}]]<!-- | ||
-->|[[Category:Project]]}}<!-- | -->|[[Category:Project]]}}<!-- | ||
− | --></includeonly><noinclude> | + | --></includeonly><noinclude> |
+ | |||
{{Project | {{Project | ||
|name = Project Box | |name = Project Box | ||
Line 133: | Line 162: | ||
|status = beta | |status = beta | ||
|description = easy template for uniform project descriptions | |description = easy template for uniform project descriptions | ||
− | |author = | + | |url = https://w.zom.bi/index.php?title=Template:Project |
− | |maintainer = | + | |author = Paul |
+ | |maintainer = Paul | ||
+ | |category = Template | ||
}} | }} | ||
+ | Please include this Template on your projects. Please remove unused parameters if you copy the following example. | ||
+ | Status and Maintainer should ''always'' be present. The other parameters are not mandatory | ||
<nowiki> | <nowiki> | ||
+ | |||
{{Project | {{Project | ||
|name = | |name = | ||
|image = Dateiname.png | |image = Dateiname.png | ||
|status = experimental,beta,stable,obsolete,broken | |status = experimental,beta,stable,obsolete,broken | ||
+ | |custom_status = "Custom Status" | ||
|description = | |description = | ||
|author = user that feels responsible for this article | |author = user that feels responsible for this article | ||
|owner = | |owner = | ||
|maintainer = | |maintainer = | ||
+ | |maintainer2 = | ||
+ | |maintainer3 = | ||
|location = | |location = | ||
+ | |url = | ||
+ | |git = Name of gitlab repository | ||
+ | |ip = [[OpenVPN]]-IP | ||
+ | |hostname = Hostname | ||
+ | |license = License | ||
+ | |authentication= Authentication method, e.g. LDAP | ||
+ | |implements = Wikidata Item of the Protocol implemented by the service | ||
+ | |server = link to server, this service is running on | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
</noinclude> | </noinclude> |
Latest revision as of 21:46, 22 March 2023
Project Box status: beta | |
---|---|
Description | easy template for uniform project descriptions |
URL | https://w.zom.bi/index.php?title=Template:Project |
Category | Template |
Author | User:Paul |
Maintainer | User:Paul |
Please include this Template on your projects. Please remove unused parameters if you copy the following example. Status and Maintainer should always be present. The other parameters are not mandatory
{{Project |name = |image = Dateiname.png |status = experimental,beta,stable,obsolete,broken |custom_status = "Custom Status" |description = |author = user that feels responsible for this article |owner = |maintainer = |maintainer2 = |maintainer3 = |location = |url = |git = Name of gitlab repository |ip = [[OpenVPN]]-IP |hostname = Hostname |license = License |authentication= Authentication method, e.g. LDAP |implements = Wikidata Item of the Protocol implemented by the service |server = link to server, this service is running on }}