Vorlage:InfoBox: Unterschied zwischen den Versionen
Zeile 55: | Zeile 55: | ||
|} | |} | ||
</onlyinclude> | </onlyinclude> | ||
+ | |||
+ | <onlyinclude><!-- | ||
+ | --><div style='font-size: 88%;line-height:1.5em;margin-left:10px;margin-bottom:1.5em;vertical-align:text-top;z-index: 2;<!-- | ||
+ | -->align: left;<!-- | ||
+ | -->float: right;<!-- | ||
+ | -->background:#F9F9F9;<!-- | ||
+ | -->margin-top:1.5em;<!-- | ||
+ | -->display: inline-block;<!-- | ||
+ | -->border-width:1px;<!-- | ||
+ | -->border-style:solid;<!-- | ||
+ | -->width: 280px; }}<!-- | ||
+ | -->padding:7px 15px 7px 7px;<!-- | ||
+ | -->min-height:52px;'<!-- | ||
+ | -->><!-- | ||
+ | -->{{#if: {{{title|}}} | <div style="font-weight:bold;text-align:center;font-size:150%;margin-top:0.4em;">{{{title}}}</div><br /> }}<!-- | ||
+ | -->{{#if: {{{logo|}}} | [[File:{{{logo}}}|center|{{{logo_size|256px}}}]]<br /> }}<!-- | ||
+ | -->{{#if: {{{screenshot|}}} | [[File:{{{screenshot}}}|center|{{{screenshot_size|256px}}}]]<br />}}<!-- | ||
+ | -->{{#if: {{{screenshot_description|}}} | <div style="text-align:center;margin-top:-1.3em;"><small>{{{screenshot_description}}}</small></div>}}<!-- | ||
+ | --><table> | ||
+ | |||
+ | {{#if: {{{oauthor|}}} | ||
+ | |<tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Original<br />author(s)</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{oauthor}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{developers|}}} | ||
+ | |<tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Developer(s)</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{developers}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{initialrelease|}}} | ||
+ | |<tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Initial release</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{initialrelease}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{stablerelease|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Stable release</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{stablerelease}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{developmentstatus|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Development status</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{developmentstatus}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{writtenin|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Written in</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{writtenin}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{forkof|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">This is a fork of</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{forkof}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{pluginfor|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">This is a plugin for</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{pluginfor}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | |||
+ | -->{{#if: {{{belongsto|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">This belongs to</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{belongsto}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{operatingsystem|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Operating system</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{operatingsystem}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{platform|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Platform</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{platform}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{language|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Language</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{language}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{type|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Type</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{type}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{license|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">License</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{license}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{website|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Website</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{website}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{needsrootonandroid|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Needs root</td> | ||
+ | <td style="align:left;vertical-align:text-top;">{{{needsrootonandroid}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{fdroid|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Download</td> | ||
+ | <td >[[File:Icons_fdroid_available-on-fdroid.svg|128px|link={{{fdroid|}}}]][[is available on::F-Droid| ]]</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{googleplay|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Download</td> | ||
+ | <td>[[File:Icons_googleplay_get_it_icon.png|128px|link={{{googleplay|}}}]]</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{applestore|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Download</td> | ||
+ | <td>[[File:Icons_apple_store_badge.svg|128px|link={{{applestore|}}}]]</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{downloadpage|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Download page</td> | ||
+ | <td>{{{downloadpage|}}}</td> | ||
+ | </tr> }}<!-- | ||
+ | |||
+ | -->{{#if: {{{sourcecode|}}} | ||
+ | | <tr> | ||
+ | <td style="white-space:nowrap;font-weight:bold;align:left;vertical-align:text-top;">Source code</td> | ||
+ | <td>{{{sourcecode|}}}</td> | ||
+ | </tr> }} | ||
+ | </table><!-- | ||
+ | -->{{#if: {{{notes|}}} | <br /><span style="font-weight:bold;text-decoration:underline;">Notes:</span><br />{{{notes}}} }}<!-- | ||
+ | --></div></onlyinclude> | ||
+ | |||
+ | ==Description== | ||
+ | "Inspired" by the [https://en.wikipedia.org/w/index.php?title=Template:Infobox_software Infobox_software] on Wikipedia and self created because importing the box from Wikipedia results in a dependency hell. | ||
+ | |||
+ | ==Variables== | ||
+ | * title | ||
+ | ** Name of the software | ||
+ | * logo | ||
+ | ** The filename in the wiki, without the "File:" part. | ||
+ | * logo_size | ||
+ | ** Anything <nowiki>[[File:xyz|]]</nowiki> accepts as a value | ||
+ | * screenshot | ||
+ | ** The filename in the wiki, without the "File:" part. | ||
+ | * screenshot_description | ||
+ | ** This description appears below the image in <small>small style</small> | ||
+ | * screenshot_size | ||
+ | ** Anything <nowiki>[[File:xyz|]]</nowiki> accepts as a value | ||
+ | * oauthor | ||
+ | ** The original author | ||
+ | * developers | ||
+ | ** Current developer or developers | ||
+ | * initialrelease | ||
+ | ** Date of the first release | ||
+ | * stablerelease | ||
+ | ** Date of stable release | ||
+ | * developmentstatus | ||
+ | * writtenin | ||
+ | ** Programming Language(s) used in the project | ||
+ | * operatingsystem | ||
+ | ** OS this software runs on | ||
+ | * platform | ||
+ | * downloadpage | ||
+ | * language | ||
+ | ** Language(s) the software is available in | ||
+ | * type | ||
+ | ** Like VoIP, Game, etc. | ||
+ | * license | ||
+ | * website | ||
+ | ** Project website | ||
+ | * fdroid | ||
+ | ** Downloadbutton for [[F-Droid]] | ||
+ | * googleplay | ||
+ | ** Downloadbutton for [[Google Play]] | ||
+ | * applestore | ||
+ | ** shows an apple app store icon | ||
+ | * forkof | ||
+ | ** URL of the origins project webpage | ||
+ | * sourcecode | ||
+ | ** URL to the sourcecode | ||
+ | * notes | ||
+ | * pluginfor | ||
+ | ** If the software is a plugin for another software then link it here | ||
+ | * belongsto | ||
+ | ** If the software belongs to another one, for example an Android app y for app x, then link it here | ||
+ | |||
+ | |||
+ | ==Example== | ||
+ | See [[Plumble]]. |
Version vom 9. Januar 2015, 06:04 Uhr
<style type="text/css">
div.infobox table { border-color:#12529c; border-width:2px; border-style:solid; background-color:#3d3d3d; text-align:left; width:inherit; empty-cells:hide; border-collapse:default; }
</style>
{{{Tabellenüberschrift}}} | ||||
---|---|---|---|---|
[[datei:{{{Dateiname}}}|100px]] {{{Bildunterschrift}}} | ||||
Technische Daten | Anzeige | |||
Digitalkamera | ||||
Frontkamera | ||||
Betriebssystem | ||||
Prozessor | ||||
RAM | ||||
Interner Speicher | ||||
Sensoren | ||||
Description
"Inspired" by the Infobox_software on Wikipedia and self created because importing the box from Wikipedia results in a dependency hell.
Variables
- title
- Name of the software
- logo
- The filename in the wiki, without the "File:" part.
- logo_size
- Anything [[File:xyz|]] accepts as a value
- screenshot
- The filename in the wiki, without the "File:" part.
- screenshot_description
- This description appears below the image in small style
- screenshot_size
- Anything [[File:xyz|]] accepts as a value
- oauthor
- The original author
- developers
- Current developer or developers
- initialrelease
- Date of the first release
- stablerelease
- Date of stable release
- developmentstatus
- writtenin
- Programming Language(s) used in the project
- operatingsystem
- OS this software runs on
- platform
- downloadpage
- language
- Language(s) the software is available in
- type
- Like VoIP, Game, etc.
- license
- website
- Project website
- fdroid
- Downloadbutton for F-Droid
- googleplay
- Downloadbutton for Google Play
- applestore
- shows an apple app store icon
- forkof
- URL of the origins project webpage
- sourcecode
- URL to the sourcecode
- notes
- pluginfor
- If the software is a plugin for another software then link it here
- belongsto
- If the software belongs to another one, for example an Android app y for app x, then link it here