Jump to content

Template:Documentation subpage: Difference between revisions

From Fifth Empire Wiki
add parameter "nocat" for a more standardized category suppression in addition to the existing parameter "inhibit"
m 142 revisions imported from wikipedia:Template:Documentation_subpage
 
(3 intermediate revisions by 3 users not shown)
Line 10: Line 10:
             | image = [[File:Edit-copy green.svg|40px|alt=icon]]
             | image = [[File:Edit-copy green.svg|40px|alt=icon]]
             | text =
             | text =
{{strong|This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]]}} for {{terminate sentence|{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}}}<br />It may contain usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
{{strong|This is a [[Wikipedia:Template documentation|documentation subpage]]}} for {{terminate sentence|{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}}}<br />It may contain usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
             }}
             }}
         }}<!--
         }}<!--
Line 16: Line 16:
       -->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
       -->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--


       -->{{Category handler
       -->{{#if:{{{nocat|}}}{{{inhibit|}}}|<!--(don't categorize)-->
          |nocat={{{nocat|{{{inhibit|}}}}}}
           |<includeonly><!--
           |all=<includeonly><!--
               -->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
               -->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
                   | [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                   | [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
Line 30: Line 29:
     | <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
     | <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
     }}<!--
     }}<!--
--></includeonly><noinclude>
--></includeonly><noinclude>{{Documentation}}</noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 20:49, 24 January 2026