Difference between revisions of "Template:Repo check"

From Official Kodi Wiki
Jump to navigation Jump to search
m (fix blooper)
 
(One intermediate revision by the same user not shown)
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|{{#ifcategory:Matrix 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|{{#ifcategory:Nexus add-on repository|yes}}}}}}}}}}}}}}}} | {{{1|}}} | {{{2|}}} }}<noinclude>{{doc}}</noinclude>

Latest revision as of 21:46, 7 June 2021

[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.