Template:Add-on: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(just marking some commonly edited sections for ease of editing) |
||
Line 7: | Line 7: | ||
| align="right" valign="top" | '''Author:''' || {{{provider-name|}}} {{#if: {{{Website|}}} | <br/>''[{{{Website}}} Website]'' [[Category:Add-ons with website tag]] }} | | align="right" valign="top" | '''Author:''' || {{{provider-name|}}} {{#if: {{{Website|}}} | <br/>''[{{{Website}}} Website]'' [[Category:Add-ons with website tag]] }} | ||
|- | |- | ||
| align="right" valign="top" | '''Type:''' || {{{type|<includeonly>{{#switch: {{{extension point}}} | | align="right" valign="top" | '''Type:''' || {{{type|<includeonly>{{#switch: {{{extension point}}}<!-- | ||
**********TYPE GENERATION START********** --> | |||
| 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 37: | Line 38: | ||
| #default = {{#switch: {{{extension point}}} | | #default = {{#switch: {{{extension point}}} | ||
| xbmc.python.script = [[:Category:Program add-ons|Program]] [[Category:Program add-ons]] | | xbmc.python.script = [[:Category:Program add-ons|Program]] [[Category:Program add-ons]] | ||
| #default = [[Category:Add-ons missing type]] | | #default = [[Category:Add-ons missing type]]<!--- | ||
**********TYPE GENERATION END********** --> | |||
}} }} | }} }} | ||
}}</includeonly>}}} | }}</includeonly>}}} | ||
Line 44: | Line 46: | ||
{{!}} align="right" valign="top" {{!}} '''Version:''' {{!!}} {{{latest-version|}}} }}<nowiki/> | {{!}} align="right" valign="top" {{!}} '''Version:''' {{!!}} {{{latest-version|}}} }}<nowiki/> | ||
|- | |- | ||
| align="right" valign="top" | '''Repo:''' || {{#ifcategory:Eden add-on repository|[[:Category:Eden add-on repository|XBMC.org (v11)]]{{#ifcategory:Frodo add-on repository|<br/>|{{#ifcategory:Built-in add-ons|<br/>}} }} }}{{#ifcategory:Frodo add-on repository|[[:Category:Frodo add-on repository|XBMC.org (v12)]] {{#ifcategory:Built-in add-ons|<br/>}} }}{{#ifcategory:Built-in add-ons|[[:Category:Built-in add-ons|Built-in add-ons]]}} {{{repo|}}} | | align="right" valign="top" | '''Repo:''' || <!-- | ||
**********REPO CHECK START********** -->{{#ifcategory:Eden add-on repository|[[:Category:Eden add-on repository|XBMC.org (v11)]]{{#ifcategory:Frodo add-on repository|<br/>|{{#ifcategory:Built-in add-ons|<br/>}} }} }}{{#ifcategory:Frodo add-on repository|[[:Category:Frodo add-on repository|XBMC.org (v12)]] {{#ifcategory:Built-in add-ons|<br/>}} }}{{#ifcategory:Built-in add-ons|[[:Category:Built-in add-ons|Built-in add-ons]]}} {{{repo|}}}<!--- | |||
**********REPO CHECK END********** --> | |||
{{#if: {{{zip|}}} | | {{#if: {{{zip|}}} | | ||
{{!}}- | {{!}}- | ||
Line 50: | Line 54: | ||
{{#if: {{{License|}}} | | {{#if: {{{License|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} align="right" valign="top" {{!}} '''License:''' {{!!}} {{#switch: {{{License}}} | {{!}} align="right" valign="top" {{!}} '''License:''' {{!!}} {{#switch: {{{License}}}<!-- | ||
**********SHORTEN LONG LICENSE START********** --> | |||
| GNU GENERAL PUBLIC LICENSE. Version 2, June 1991 = GPL v2.0 | | GNU GENERAL PUBLIC LICENSE. Version 2, June 1991 = GPL v2.0 | ||
| GNU GENERAL PUBLIC LICENSE Version 2, June 1991 = GPL v2.0 | | GNU GENERAL PUBLIC LICENSE Version 2, June 1991 = GPL v2.0 | ||
| GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 = GPL v3.0 | | GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 = GPL v3.0 | ||
| GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007 = GPL v3.0 | | GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007 = GPL v3.0 | ||
| #default = {{{License}}} }} [[Category:Add-ons with license tag]] }}<nowiki/> | | #default = {{{License}}} }} [[Category:Add-ons with license tag]] }}<nowiki/><!-- | ||
**********SHORTEN LONG LICENSE END********** --> | |||
{{#if: {{{Source|}}} | | {{#if: {{{Source|}}} | | ||
{{!}}- | {{!}}- | ||
Line 65: | Line 71: | ||
{{{Description|}}} | {{{Description|}}} | ||
{{#ifcategory:Frodo add-on repository|{{#switch: {{{extension point}}} | {{#ifcategory:Frodo add-on repository|{{#switch: {{{extension point}}}<!-- | ||
**********TYPES TO EXCLUDE FROM INSTALL INSTRUCTIONS START********** --> | |||
| xbmc.metadata.scraper.library = | | xbmc.metadata.scraper.library = | ||
| xbmc.python.module = | | xbmc.python.module = | ||
| xbmc.python.library = | | xbmc.python.library = | ||
| #default = | | #default = <!-- | ||
**********TYPES TO EXCLUDE FROM INSTALL INSTRUCTIONS END********** --> | |||
==Installing== | ==Installing== | ||
To install this add-on you must do so from the '''[[Add-ons|Add-on Manager]]''' from within XBMC by going to: | To install this add-on you must do so from the '''[[Add-ons|Add-on Manager]]''' from within XBMC by going to: | ||
Line 76: | Line 84: | ||
# Get add-ons | # Get add-ons | ||
# XBMC.org Add-ons | # XBMC.org Add-ons | ||
# {{#switch: {{{extension point}}} | # {{#switch: {{{extension point}}}<!-- | ||
**********TYPE GENERATION FOR INSTALL INSTRUCTIONS START********** --> | |||
| xbmc.service = [[:Category:Service add-ons|Services]] | | xbmc.service = [[:Category:Service add-ons|Services]] | ||
| xbmc.metadata.scraper.albums = [[:Category:Album scraper add-ons|Album information]] | | xbmc.metadata.scraper.albums = [[:Category:Album scraper add-ons|Album information]] | ||
Line 101: | Line 110: | ||
| executable video = [[:Category:Program add-ons|Programs Add-ons]] or [[:Category:Video add-ons|Video Add-ons]] | | executable video = [[:Category:Program add-ons|Programs Add-ons]] or [[:Category:Video add-ons|Video Add-ons]] | ||
| video executable = [[:Category:Program add-ons|Programs Add-ons]] or [[:Category:Video add-ons|Video Add-ons]] | | video executable = [[:Category:Program add-ons|Programs Add-ons]] or [[:Category:Video add-ons|Video Add-ons]] | ||
| #default = | | #default = <!-- | ||
**********TYPE GENERATION FOR INSTALL INSTRUCTIONS START********** --> | |||
}} | }} | ||
}} | }} |
Revision as of 19:39, 6 May 2013
<img width="256" src=""/> | |||
Author: | |||
Type: |
| ||
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=
.