Difference between revisions of "Template:Repo check"

From Official Kodi Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{#ifeq: yes | {{#ifcategory:Gotham add-on repository|yes|{{#ifcategory:Helix add-on repository|yes|{{#ifcategory:Isengard add-on repository|yes|{{#ifcategory:Jarvis add-on repository|yes|{{#ifcategory:Krypton add-on repository|yes|{{#ifcategory:Leia add-on repository|yes}}}}}}}}}}}} | {{{1|}}} | {{{2|}}} }}<noinclude>{{doc}}</noinclude>
{{#ifeq: yes | {{#ifcategory:Gotham add-on repository|yes|{{#ifcategory:Helix add-on repository|yes|{{#ifcategory:Isengard add-on repository|yes|{{#ifcategory:Jarvis add-on repository|yes|{{#ifcategory:Krypton add-on repository|yes|{{#ifcategory:Leia add-on repository|yes|{{#ifcategory:Matrix add-on repository|yes}}}}}}}}}}}}}} | {{{1|}}} | {{{2|}}} }}<noinclude>{{doc}}</noinclude>

Revision as of 23:43, 23 June 2019

[edit] Template documentation

This template returns a simple yes or no when checking the repo category for the {{add-on}} template. This makes it easy to add new repo categories (when a new version of Kodi is released), so that things like the install directions are automatically generated.