Template:Add-on: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(remove version number from wiki page for add-ons, see http://forum.kodi.tv/showthread.php?tid=297739)
mNo edit summary
(11 intermediate revisions by 5 users not shown)
Line 5: Line 5:
| style="margin: 0.5em 0 0.5em 1em; padding: 0.4em;" |
| style="margin: 0.5em 0 0.5em 1em; padding: 0.4em;" |
{|
{|
| colspan="2" align="center" {{#ifeq:{{{blackbg|}}} | yes | style="background:#000000;" | }} | {{#ifexist: File:{{{ID}}}.png | [[File:{{{ID}}}.png|256px|link=]] | <img width="256" src="{{{icon url|}}}"/> }}
| colspan="2" align="center" {{#ifeq:{{{blackbg|}}} | yes | style="background:#000000;" | }} | <img width="256" src="{{{icon url|}}}"/>
{{small| {{repo check| [http://addons.kodi.tv/show/{{{ID}}}/ ''See this add-on on the kodi.tv showcase''] }} }}
{{small| {{repo check| [https://kodi.tv/show/{{{ID}}}/ ''See this add-on on the kodi.tv showcase''] }} }}
|-
|-
| align="right" valign="top" | '''Author:''' || {{{provider-name|}}}
| align="right" valign="top" | '''Author:''' || {{{provider-name|}}}
Line 38: Line 38:
  | kodi.resource.uisounds = [[:Category:GUI sound add-ons|GUI sounds]] [[Category:GUI sound add-ons]]
  | kodi.resource.uisounds = [[:Category:GUI sound add-ons|GUI sounds]] [[Category:GUI sound add-ons]]
  | kodi.resource.images = [[:Category:GUI image add-ons|Image collections]] [[Category:GUI image add-ons]]
  | kodi.resource.images = [[:Category:GUI image add-ons|Image collections]] [[Category:GUI image add-ons]]
| kodi.audiodecoder = [[:Category:Audio decoder add-ons|Audio decoders]] [[Category:Audio decoder add-ons]]
| kodi.audioencoder = [[:Category:Audio encoder add-ons|Audio encoders]] [[Category:Audio encoder add-ons]]
| kodi.gameclient = [[:Category:Game add-ons|Game]] [[Category:Game add-ons]]
| kodi.game.controller = [[:Category:Game controller add-ons|Game controllers]] [[Category:Game controller add-ons]]
| kodi.imagedecoder = [[:Category:Image decoder add-ons|Image decoders]] [[Category:Image decoder add-ons]]
| kodi.inputstream = [[:Category:Input stream add-ons|Input stream]] [[Category:Input stream add-ons]]
| kodi.vfs = [[:Category:VFS add-ons|VFS]] [[Category:VFS add-ons]]
| xbmc.player.musicviz = [[:Category:Music visualization add-ons|Music visualizations]] [[Category:Music visualization add-ons]]
  | #default = {{#switch: {{{provides}}}
  | #default = {{#switch: {{{provides}}}
| image = [[:Category:Picture add-ons|Pictures]] [[Category:Picture add-ons]]
| image = [[:Category:Picture add-ons|Pictures]] [[Category:Picture add-ons]]
Line 108: Line 116:
**********TYPES TO EXCLUDE FROM INSTALL INSTRUCTIONS END********** -->
**********TYPES TO EXCLUDE FROM INSTALL INSTRUCTIONS END********** -->
==Installing==
==Installing==
To install this add-on you must do so from the '''[[Add-on manager]]''' from within Kodi by going to:
To install this add-on you must do so from the '''[[Add-on manager]]''' from within Kodi by going to
# Settings
# The home screen
# Add-ons
# Add-ons
# Install from repository ''({{smaller|v15/v16}})'' / Get add-ons ''({{smaller|v14}})''
# Download
# Kodi add-on repository
# {{#switch: {{{provides}}}<!--
# {{#switch: {{{provides}}}<!--
**********TYPE GENERATION FOR INSTALL INSTRUCTIONS START********** -->
**********TYPE GENERATION FOR INSTALL INSTRUCTIONS START********** -->
Line 131: Line 138:
| #default = {{#switch: {{{extension point}}}
| #default = {{#switch: {{{extension point}}}
| xbmc.service = [[:Category:Service add-ons|Services]]
| xbmc.service = [[:Category:Service add-ons|Services]]
| kodi.audiodecoder = [[:Category:Audio decoder add-ons|Audio decoders]]
| kodi.audioencoder = [[:Category:Audio encoder add-ons|Audio encoders]]
| kodi.game.controller = [[:Category:Game controller add-ons|Game controllers]]
| kodi.imagedecoder = [[:Category:Image decoder add-ons|Image decoders]]
| kodi.inputstream = [[:Category:Input stream add-ons|Input stream]]
| kodi.vfs = [[:Category:VFS add-ons|VFS]]
| xbmc.player.musicviz = [[:Category:Music visualization add-ons|Music visualizations]]
| xbmc.metadata.scraper.albums = Information providers {{small| ''(v16 and higher)'' }}
| xbmc.metadata.scraper.albums = Information providers {{small| ''(v16 and higher)'' }}
# [[:Category:Album scraper add-ons|Album information]]
# [[:Category:Album scraper add-ons|Album information]]

Revision as of 07:10, 17 October 2018

{{{Name}}}
<img width="256" src=""/>

Author:

Type:
Repo:

Summary:
Home icon grey.png   ▶ Add-ons ▶ {{{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=.