Template:Documentation subpage: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
en>TheDJ
(add support for module categories)
m (161 revisions imported)
 
(25 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | doc
  | <!-- doc page -->
| <!-- On /doc subpage --> </includeonly>{{Message box
</includeonly>{{
|type = info
    #ifeq: {{{doc-notice|show}}} | show
|image = Edit-copy purple.svg
    | {{mbox
|title = This [[Help:Subpages|subpage]] provides documentation for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.
      | type = notice
}}<includeonly>{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#ifexist:{{SUBJECTSPACE}}:{{BASEPAGENAME}} | [[Category:{{#switch: {{SUBJECTSPACE}} | Template = Template | Module = Module | Widget = Widget | User = User | #default = Path of Exile Wiki }} documentation]] | [[Category:Documentation subpages without corresponding pages]]}}
      | image = [[File:Edit-copy green.svg|40px]]
| <!-- Not on /doc subpage --> }}</includeonly><noinclude>
      | text =  
{{Documentation}}
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains 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}}}}}}}}.  
<!-- Categories and interwikis go on the /doc subpage. -->
      }}
    }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
    #if: {{{inhibit|}}}
    | <!-- skip -->
    | <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{
      #switch: {{SUBJECTSPACE}}
      | Template = Template
      | Module = Module
      | User     = User
      | #default = Wikipedia
    }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
  }}<includeonly>
| <!-- if not on a /doc subpage, do nothing -->
}}</includeonly><noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 23:00, 22 September 2024

This subpage provides documentation for Template:Documentation subpage.

Template documentation[view] [edit] [history] [purge]


This template displays a notice that the page it appears on provides documentation for a template, module or project.

Usage

This template should be placed at the top of a /doc subpage.

{{Documentation subpage}}

See also