Template:Add-on/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
mNo edit summary
 
(3 intermediate revisions by 2 users 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>
{{Addon
{{Add-on
| Name =  
|Name=  
| provider-name =  
|provider-name=  
| ID =  
|ID=  
| latest-version =  
|latest-version=  
| extension point =  
|extension point=  
| provides =  
|provides=  
| Platform =  
|Summary=
| broken =  
|Description=
| icon url =  
|Platform=  
| Summary =  
|Language=
| Description =  
|License=
|Forum=
|Website=
|Source=  
|Email=  
|broken=  
|icon url=  
}}
}}
</pre>
</pre>
Line 24: 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>[[Category:Templates]]</includeonly>
<includeonly>
[[Category:Page specific templates]]
</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=.