Template talk:Documentation subpage

From Official Kodi Wiki
Jump to navigation Jump to search

Sync with upstream

I can't make heads or tails of why this template was blanked, but it seems silly to leave it like this when it's already on so many documentation subpages. I propose we sync it with the current version on Meta-Wiki, except where we lack the extensions required. That would result in its contents being:

<includeonly>{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{{override|doc}}}
     | <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
</includeonly>{{#ifeq:{{{doc-notice|show}}}|show|{| class="plainlinks" role="presentation" style="background-color: #f8f9fa; border: 1px solid #a2a9b1; border-collapse: collapse; border-left: 10px solid #bbe3f4; box-sizing: border-box; margin: 4px auto 1.0em; min-width: 50vmax;"
 | style="border: none; max-width: 52px; padding: 2px 0 2px 0.9em; text-align: center;" | [[File:Copy-icon green.png|40px|alt=|link=]]
 | style="border: none; padding: 0.25em 0.9em; width: 100%;" | <strong>This is a [[:Category:Template documentation pages|documentation]] subpage</strong> for [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]].<br />It contains usage information, categories and other content that is not part of the original {{#ifeq:{{SUBJECTSPACE}}|{{ns:User}}|{{lc:{{SUBJECTSPACE}}}} template page|{{#if:{{SUBJECTSPACE}}|{{lc:{{SUBJECTSPACE}}}} page|article}}}}.
|}
 }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
 -->{{#if:{{{inhibit|}}}|<!--(don't categorize)-->|<includeonly><!--
   -->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
       | [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |Wikipedia=Wikipedia |#default=Template}} documentation pages]]
       | [[Category:Documentation subpages without corresponding pages]]
      }}</includeonly>
    }}<!-- (completing initial #ifeq: at start of template:)
--><includeonly>
  | <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
}}</includeonly><noinclude>{{Documentation}}</noinclude>