Template:Add-on/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This is normally [[XBMC:Add-on bot|bot generated]] and does not need user creation/editing, but can be manually used for unofficial add-ons.
This is normally bot generated and does not need user creation/editing, but can be manually used for unofficial add-ons.
== Usage ==
== Usage ==
<pre>
<pre>
Line 30: Line 30:
</pre>
</pre>


To manually override the icon, upload an image to a filename using the <code>|ID=</code> parameter + <code>.png</code>. For example, an add-on with the ID of <code>plugin.video.iplayer</code> will be uploaded as <code>[[:File:plugin.video.iplayer.png]]</code>. The add-on template automatically checks for  <code>File{{{ID}}}.png</code> and, if found, will always override <code>|icon url=</code>.
To manually override the icon, upload an image to a filename using the <code>|ID=</code> parameter + <code>.png</code>. For example, an add-on with the ID of <code>metadata.themoviedb.org.python</code> will be uploaded as <code>[[</code><code>:File:metadata.themoviedb.org.python.png</code><code>]]</code>. The add-on template automatically checks for  <code>File{{{ID}}}.png</code> and, if found, will always override <code>|icon url=</code>.


<includeonly>
<includeonly>
[[Category:Page specific templates]]
[[Category:Page specific templates]]
</includeonly>
</includeonly>

Latest revision as of 04:02, 30 July 2020

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