Template:Add-on: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
(add over-ride values for manual entry)
Line 1: Line 1:
{{divbox|amber||<small>This is an add-on description page. It is only meant to document information related to the add-on. If you are looking to install this add-on you must do so from the '''[[Add-ons|Add-on Manager]]''' from within XBMC.</small>}}
{{divbox|amber||<small>This is an add-on description page. It is only meant to document information related to the add-on. If you are looking to install this add-on you must do so from the '''[[Add-ons|Add-on Manager]]''' from within XBMC.</small>}}
{| class="infobox" width="250"
{| class="infobox" width="250"
| colspan="2" align="center" | <img width="256" src="{{{icon url|}}}"/>
| colspan="2" align="center" | {{{image|<img width="256" src="{{{icon url|}}}"/>}}}
|-
|-
| align="right" | '''Name:''' ||  {{{Name|}}}
| align="right" | '''Name:''' ||  {{{Name|}}}
|-
|-
| align="right" valign="top" | '''Type:''' ||  <includeonly>{{#switch: {{{extension point}}}
| align="right" valign="top" | '''Type:''' ||  {{{type|<includeonly>{{#switch: {{{extension point}}}
  | xbmc.addon.repository = [[:Category:Repositories|Add-on Repository]] [[Category:Repositories]]
  | xbmc.addon.repository = [[:Category:Repositories|Add-on Repository]] [[Category:Repositories]]
  | xbmc.service = [[:Category:Service add-ons|Services]] [[Category:Service add-ons]]
  | xbmc.service = [[:Category:Service add-ons|Services]] [[Category:Service add-ons]]
Line 34: Line 34:
}}
}}
}}
}}
}}</includeonly>
}}</includeonly>}}}
|-
|-
| align="right" valign="top" | '''Author:''' || {{{provider-name|}}}
| align="right" valign="top" | '''Author:''' || {{{provider-name|}}}
Line 42: Line 42:
| align="right" valign="top" | '''Platform:''' || {{{Platform|}}}
| align="right" valign="top" | '''Platform:''' || {{{Platform|}}}
|-
|-
| align="right" valign="top" | '''Repo:''' || {{#ifcategory:Pre-Eden add-on repository|[[:Category:Pre-Eden add-on repository|XBMC.org (v11)]]{{#ifcategory:Dharma add-on repository|<br/>}} }}{{#ifcategory:Dharma add-on repository|[[:Category:Dharma add-on repository|XBMC.org (v10)]]}}{{{Repo|}}}
| align="right" valign="top" | '''Repo:''' || {{{repo|{{#ifcategory:Pre-Eden add-on repository|[[:Category:Pre-Eden add-on repository|XBMC.org (v11)]]{{#ifcategory:Dharma add-on repository|<br/>}} }}{{#ifcategory:Dharma add-on repository|[[:Category:Dharma add-on repository|XBMC.org (v10)]]}}}}}
|-
|-
| colspan="2" | '''Summary:''' {{{Summary|}}}
| colspan="2" | '''Summary:''' {{{Summary|}}}

Revision as of 21:48, 9 January 2012

<img width="256" src=""/>
Name:
Type:
Author:
Version:
Platform:
Repo:
Summary:
[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=.