Template:Add-on: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(change of addons link subdomain after kodi.tv website migration)
m (https instead of http saves a redirect)
Line 6: Line 6:
{|
{|
| 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;" | }} | {{#ifexist: File:{{{ID}}}.png | [[File:{{{ID}}}.png|256px|link=]] | <img width="256" src="{{{icon url|}}}"/> }}
{{small| {{repo check| [http://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|}}}

Revision as of 14:09, 19 April 2017

{{{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=.