Template:Add-on: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#if: {{{broken|}}} | {{divbox|red||'''This add-on has been marked as broken in the repository:''' ''{{{broken|}}}'' [[Category:Broken add-ons]] }} }}<nowiki/> | {{#if: {{{broken|}}} | {{divbox|red||'''This add-on has been marked as broken in the repository:''' ''{{{broken|}}}'' [[Category:Broken add-ons]] }} }}<nowiki /> | ||
{| cellspacing="0" cellpadding="0" style="margin: 0.5em 0 0.5em 1em; {{border-radius|5px}}; {{box-shadow|0px|1px|3px|#878787}}; float: right; clear: right;" width="256" | {| cellspacing="0" cellpadding="0" style="margin: 0.5em 0 0.5em 1em; {{border-radius|5px}}; {{box-shadow|0px|1px|3px|#878787}}; float: right; clear: right;" width="256" | ||
| style="padding: 0.4em; {{border-radius|5px 5px 0px 0px}}; {{radial-gradient|100px center|ellipse|#5A6169, #2D3236}}; background-color:gray; text-align:center; font-size:125%; font-weight:bold;" | {{color|white|{{{Name}}}}} | | style="padding: 0.4em; {{border-radius|5px 5px 0px 0px}}; {{radial-gradient|100px center|ellipse|#5A6169, #2D3236}}; background-color:gray; text-align:center; font-size:125%; font-weight:bold;" | {{color|white|{{{Name}}}}} | ||
| Line 46: | Line 46: | ||
{{#if: {{{latest-version|}}} | | {{#if: {{{latest-version|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} align="right" valign="top" {{!}} '''Version:''' {{!!}} {{{latest-version|}}} }}<nowiki/> | {{!}} align="right" valign="top" {{!}} '''Version:''' {{!!}} {{{latest-version|}}} }}<nowiki /> | ||
|- | |- | ||
| align="right" valign="top" | '''Repo:''' || <!-- | | align="right" valign="top" | '''Repo:''' || <!-- | ||
**********REPO CHECK START********** -->{{# | **********REPO CHECK START********** -->{{#ifcategory:Frodo add-on repository|[[:Category:Frodo add-on repository|XBMC.org (v12)]]{{#ifcategory:Eden add-on repository|<br/>}} }}{{#ifcategory:Eden add-on repository|[[:Category:Eden add-on repository|XBMC.org (v11)]] }}{{#ifcategory:Built-in add-ons|<br />[[:Category:Built-in add-ons|Built-in add-ons]]}}{{{repo|}}}<nowiki /><!--- | ||
**********REPO CHECK END********** --> | **********REPO CHECK END********** --> | ||
{{#if: {{{zip|}}} | | {{#if: {{{zip|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} align="right" valign="top" {{!}} '''Zip file:''' {{!!}} {{{zip|}}} | }}<nowiki/> | {{!}} align="right" valign="top" {{!}} '''Zip file:''' {{!!}} {{{zip|}}} | }}<nowiki /> | ||
{{#if: {{{License|}}} | | {{#if: {{{License|}}} | | ||
{{!}}- | {{!}}- | ||
| Line 65: | Line 65: | ||
| Creative Commons Attribution-NonCommercial-Share Alike 3.0 Unported License = CC BY-NC-SA 3.0 | | Creative Commons Attribution-NonCommercial-Share Alike 3.0 Unported License = CC BY-NC-SA 3.0 | ||
| Creative Commons Attribution-Noncommercial-Share Alike 3.0 = CC BY-NC-SA 3.0 | | Creative Commons Attribution-Noncommercial-Share Alike 3.0 = CC BY-NC-SA 3.0 | ||
| #default = {{{License}}} }} [[Category:Add-ons with license tag]] }}<nowiki/><!-- | | #default = {{{License}}} }} [[Category:Add-ons with license tag]] }}<nowiki /><!-- | ||
**********SHORTEN LONG LICENSE END********** --> | **********SHORTEN LONG LICENSE END********** --> | ||
{{#if: {{{Source|}}} | | {{#if: {{{Source|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} align="right" valign="top" {{!}} '''Source:''' {{!!}} [{{{Source}}} Source code] [[Category:Add-ons with source tag]] }}<nowiki/> | {{!}} align="right" valign="top" {{!}} '''Source:''' {{!!}} [{{{Source}}} Source code] [[Category:Add-ons with source tag]] }}<nowiki /> | ||
|- | |- | ||
| align="right" valign="top" | '''Summary:''' || valign="top" | {{{Summary|}}} | | align="right" valign="top" | '''Summary:''' || valign="top" | {{{Summary|}}} | ||
|} | |} | ||
|} | |} | ||
{{#if: {{{Forum|}}} | {{forum link2|See ''[{{{Forum}}} {{{Name}}}'' on the XBMC Forum] for more information.}} [[Category:Add-ons with forum link tag]] }}<nowiki/> | {{#if: {{{Forum|}}} | {{forum link2|See ''[{{{Forum}}} {{{Name}}}'' on the XBMC Forum] for more information.}} [[Category:Add-ons with forum link tag]] }}<nowiki /> | ||
{{{Description|}}} | {{{Description|}}} | ||
{{#ifcategory:Frodo add-on repository|{{#switch: {{{extension point}}}<!-- | {{#ifcategory:Frodo add-on repository|{{#switch: {{{extension point}}}<!-- | ||
Revision as of 22:40, 14 July 2013
| {{{Name}}} | ||||||||||
| ||||||||||
[edit] Template documentation
This is normally bot generated and does not need user creation/editing, but can be manually used for unofficial add-ons.
Usage
{{Add-on
|Name=
|provider-name=
|ID=
|latest-version=
|extension point=
|provides=
|Summary=
|Description=
|Platform=
|Language=
|License=
|Forum=
|Website=
|Source=
|Email=
|broken=
|icon url=
}}
Manual entry
| repo = | zip = | type = <-- Normally not needed for manual entry if you fill out the addon template with data from addon.xml
To manually override the icon, upload an image to a filename using the |ID= parameter + .png. For example, an add-on with the ID of metadata.themoviedb.org.python will be uploaded as [[:File:metadata.themoviedb.org.python.png]]. The add-on template automatically checks for File{{{ID}}}.png and, if found, will always override |icon url=.