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"
remove usage of Template:Category handler – because of pattern '^User talk:UBX%f[/\0]' at Module:Category handler/blacklist (originated at Special:Diff/454139417), the previous edit broke categorization of pages like User:UBX/Sample/doc
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>

Revision as of 01:38, 4 November 2025