Template:Documentation subpage: Difference between revisions

Jump to navigation Jump to search
and this
MeowyCats2 (talk | contribs)
m 249 revisions imported: Import from Miraheze Meta; originally licensed under CC-BY-SA 4.0
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
<includeonly><!--
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
-->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
  | {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
    | <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
    |text='''This is a documentation [[mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
</includeonly><!--
      | {{{1}}}
 
      | [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
      -->{{#ifeq:{{{doc-notice|show}}} |show
      }}.'''<br/> It contains usage information, categories, and other content that is not part of the original<!--
          | {{Mbox
      --> {{#if: {{{text2|}}}
            | type = notice
      | {{{text2|}}}
            | style = margin-bottom:1.0em;
      | {{#if: {{{text1|}}}
            | image = [[File:Edit-copy green.svg|40px|alt=|link=]]
        | {{{text1|}}}
            | text =
        | {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
'''This is a documentation subpage''' for '''{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br/> It contains usage information, [[mw:Help:Categories|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} | page}}}}.
          | {{lc:{{SUBJECTSPACE}}}} template page
          | {{#if: {{SUBJECTSPACE}}
            | {{lc:{{SUBJECTSPACE}}}} page
        | article
             }}
             }}
          }}
        }}<!--
        }}
 
      }}.
      -->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
    }}
 
  <!--If not on a doc subpage, do nothing-->}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#if: {{{inhibit|}}}
      -->{{#if:{{{inhibit|}}} |<!--(don't categorize)-->
  | <!--Skip-->
          |   <includeonly><!--
   | <includeonly>{{#ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}
              -->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
    | [[Category:{{#switch: {{SUBJECTSPACE}}
                  | [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
      |Template=Template
                  | [[Category:Documentation subpages without corresponding pages]]
      |Module=Module
                  }}<!--
      |User=User
          --></includeonly>
      |#default=Template
        }}<!--
      }} documentation pages{{#translation:}}]]
 
    | [[Category:Documentation subpages without corresponding pages{{#translation:}}]]
(completing initial #ifeq: at start of template:)
    }}</includeonly>
--><includeonly>
  }}<includeonly>
    | <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
}}</includeonly><noinclude>{{Documentation}}<!--Add categories and interwikis to the /doc subpage, not here!--></noinclude>
    }}<!--
--></includeonly><noinclude>{{Documentation}}</noinclude>