Difference between revisions of "Template: Infobox"
From Nydus Network
| Line 14: | Line 14: | ||
-->unknown<!-- | -->unknown<!-- | ||
-->}} | -->}} | ||
| − | <small style="float:right"> | + | <small style="float:right">doku</small> |
|- style="border-bottom:1px solid #F0F0F0;" | |- style="border-bottom:1px solid #F0F0F0;" | ||
{{#if:{{{image|}}}|<!-- | {{#if:{{{image|}}}|<!-- | ||
| Line 60: | Line 60: | ||
-->{{col sep}} {{{download}}}<!-- | -->{{col sep}} {{{download}}}<!-- | ||
-->}} | -->}} | ||
| − | |}[[ | + | |}[[Category:Project]][[Category:Projectstatus {{#switch:{{lc: {{{status|unknown}}}}}|experimental=Experimental|beta=Beta|stable=Stable|obsolete=Obsolete|Unbekannt}}]]{{#set:pr_title={{{name|{{PAGENAME}}}}}}}{{#set:pr_status={{{status}}}}}{{#set:pr_image={{{image}}}}}{{#set:pr_description={{{description}}}}}{{#set:pr_authors={{{author}}}}}{{#set:pr_username={{{username}}}}}{{#set:pr_version={{{version}}}}}{{#set:pr_update={{{update|}}} }}{{#set:pr_platform={{{platform}}}}}{{#set:pr_license={{{license}}}}} |
<!-- {{#set:pr_download={{{download}}}}} --> | <!-- {{#set:pr_download={{{download}}}}} --> | ||
| − | |||
| − | |||
| − | |||
{{DISPLAYTITLE:{{{name|}}} }} | {{DISPLAYTITLE:{{{name|}}} }} | ||
</includeonly> | </includeonly> | ||
| Line 85: | Line 82: | ||
}} | }} | ||
</pre> | </pre> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude><includeonly>{| class="wikitable" | </noinclude><includeonly>{| class="wikitable" | ||
|- | |- | ||
Revision as of 17:55, 23 May 2018
| {{#if:|{{{name}}}|Infobox}} Release status: {{#switch: unknown|experimental|beta|stable|obsolete={{{status}}}|unknown}} doku | |||
|---|---|---|---|
| [[Image:{{{image}}}|220px]]}} | |||
| Description | {{{description}}} | ||
| Author(s) | {{#ifeq: {{{username}}}|{{{username}}} | {{{author}}} (}}[[Benutzer:{{{username}}}|{{{username}}}]]{{#ifeq: {{{username}}}|{{{username}}} | {{{author}}}}}}} |
| Last Version | {{{version}}}{{#ifeq: | ()}}}} | |
| Platform | {{{platform}}}}} | ||
| License | {{{license}}}}} | ||
| Download | {{{download}}}}} | ||
Property "Pr status" (as page type) with input value "{{{status}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Property "Pr image" (as page type) with input value "{{{image}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Property "Pr description" (as page type) with input value "{{{description}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Property "Pr authors" (as page type) with input value "{{{author}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Property "Pr username" (as page type) with input value "{{{username}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Property "Pr version" (as page type) with input value "{{{version}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Property "Pr platform" (as page type) with input value "{{{platform}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
Property "Pr license" (as page type) with input value "{{{license}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
</includeonly>
This is the "Infobox" template. It should be called in the following format:
{{Infobox
|name = Name of the project, default is the sitename.
|status = Set the status of the project, fals options will set it to "unkown". (options: experimental, stable and obsolete)
|image = Requires a file name. settled to 220px.
|description = Describe the project.
|author = Who is in charge?
|version = Optional: Give Feedback to your current version.
|platform = Optional: Indicate further platforms, where your project is developed.
|license = Optional: Name the license of your project.
|download = Optional: Set a downloadable URL for your project.
|update = Function for further extensions.
}}