Template:Add-on: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Look at "provides" first for type, and then fall back on extension point |
||
| Line 103: | Line 103: | ||
# Get add-ons | # Get add-ons | ||
# XBMC/Kodi add-on repository | # XBMC/Kodi add-on repository | ||
# {{#switch: {{{ | # {{#switch: {{{provides}}}<!-- | ||
**********TYPE GENERATION FOR INSTALL INSTRUCTIONS START********** --> | **********TYPE GENERATION FOR INSTALL INSTRUCTIONS START********** --> | ||
| image = [[:Category:Picture add-ons|Picture Add-ons]] | |||
| audio = [[:Category:Music add-ons|Music Add-ons]] | |||
| video = [[:Category:Video add-ons|Video Add-ons]] | |||
| audio video = [[:Category:Music add-ons|Music Add-ons]] or [[:Category:Video add-ons|Video Add-ons]] | |||
| video audio = [[:Category:Music add-ons|Music Add-ons]] or [[:Category:Video add-ons|Video Add-ons]] | |||
| video audio image = [[:Category:Video add-ons|Video Add-ons]], [[:Category:Music add-ons|Music Add-ons]] or [[:Category:Picture add-ons|Picture Add-ons]] | |||
| executable = [[:Category:Program add-ons|Program Add-ons]] | |||
| executable video = [[:Category:Program add-ons|Programs Add-ons]] or [[:Category:Video add-ons|Video Add-ons]] | |||
| video executable = [[:Category:Program add-ons|Programs Add-ons]] or [[:Category:Video add-ons|Video Add-ons]] | |||
| audio video executable = [[:Category:Music add-ons|Music Add-ons]], [[:Category:Video add-ons|Video Add-ons]] or [[:Category:Program add-ons|Program Add-ons]] | |||
| executable video audio image = [[:Category:Music add-ons|Music Add-ons]], [[:Category:Video add-ons|Video Add-ons]], [[:Category:Program add-ons|Program Add-ons]], or [[:Category:Picture add-ons|Picture Add-ons]] | |||
| audio image video executable = [[:Category:Music add-ons|Music Add-ons]], [[:Category:Video add-ons|Video Add-ons]], [[:Category:Program add-ons|Program Add-ons]], or [[:Category:Picture add-ons|Picture Add-ons]] | |||
| #default = {{#switch: {{{extension point}}} | |||
| xbmc.service = [[:Category:Service add-ons|Services]] | | xbmc.service = [[:Category:Service add-ons|Services]] | ||
| xbmc.metadata.scraper.albums = [[:Category:Album scraper add-ons|Album information]] | | xbmc.metadata.scraper.albums = [[:Category:Album scraper add-ons|Album information]] | ||
| Line 120: | Line 133: | ||
| xbmc.gui.webinterface = [[:Category:Web interface add-ons|Web interface]] | | xbmc.gui.webinterface = [[:Category:Web interface add-ons|Web interface]] | ||
| xbmc.pvrclient = [[:Category:PVR add-ons|PVR clients]] | | xbmc.pvrclient = [[:Category:PVR add-ons|PVR clients]] | ||
| #default = <!-- | | #default = <!-- | ||
**********TYPE GENERATION FOR INSTALL INSTRUCTIONS END********** --> | **********TYPE GENERATION FOR INSTALL INSTRUCTIONS END********** --> | ||
Revision as of 01:31, 20 March 2015
| {{{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=.