Template:Add-on and Template:Add-on/doc: Difference between pages

From Official Kodi Wiki
(Difference between pages)
Jump to navigation Jump to search
No edit summary
 
 
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.
| rowspan="6" | <img>{{{icon url}}}</img>
== Usage ==
| align="right" | '''Name:''' || {{{Name}}}
<pre>
|-
{{Addon
| align="right" valign="top" | '''Type:''' ||  
| Name =  
|-
  | provider-name =
| align="right" valign="top" | '''Author:''' || {{{provider-name}}}
| ID =  
|-
  | latest-version =
| align="right" valign="top" | '''Version:''' || {{{latest-version}}}
| extension point =  
|-
| provides =  
| align="right" valign="top" | '''Platform:''' || {{{Platform}}}
| Platform =
|- valign="top" |
| broken =
| align="right" | '''Summary:''' || {{{Summary}}}
| icon url =
|}
| Summary =
{{{Description}}}
| Description =  
}}
</pre>
 
===  Manual entry ===
<pre>
| repo =
| type =  
</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>.
 
<includeonly>[[Category:Templates]]</includeonly>

Revision as of 20:44, 2 February 2012

This is normally bot generated and does not need user creation/editing, but can be manually used for unofficial add-ons.

Usage

{{Addon 
 | Name = 
 | provider-name = 
 | ID = 
 | latest-version = 
 | extension point = 
 | provides = 
 | Platform = 
 | broken = 
 | icon url = 
 | Summary = 
 | Description = 
}}

Manual entry

 | repo = 
 | type = 

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 plugin.video.iplayer will be uploaded as File:plugin.video.iplayer.png. The add-on template automatically checks for File{{{ID}}}.png and, if found, will always override |icon url=.