Template:Documentation subpage: Difference between revisions

From BMG Wiki
Jump to navigation Jump to search
m (1 revision imported)
wm>GVarnum-WMF
m (1 revision imported from meta:Template:Documentation_subpage)
Line 1: Line 1:
<includeonly><!--
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
-->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
    | <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
  | {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
</includeonly><!--
    |text='''This is a [[Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
 
      | {{{1}}}
      -->{{#ifeq:{{{doc-notice|show}}} |show
      | [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
          | {{Mbox
      }}.'''<br/> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
            | type = notice
      --> {{#if: {{{text2|}}}
            | style = margin-bottom:1.0em;
      | {{{text2|}}}
            | image = [[File:Edit-copy green.svg|40px|alt=|link=]]
      | {{#if: {{{text1|}}}
            | text =
        | {{{text1|}}}
{{strong|This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]]}} for {{terminate sentence|{{{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}}}}}}}}.
        | {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
          | {{lc:{{SUBJECTSPACE}}}} template page
          | {{#if: {{SUBJECTSPACE}}
            | {{lc:{{SUBJECTSPACE}}}} page
        | article
             }}
             }}
        }}<!--
          }}
 
        }}
      -->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
      }}.
 
    }}
      -->{{#if:{{{inhibit|}}} |<!--(don't categorize)-->
  <!--If not on a doc subpage, do nothing-->}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#if: {{{inhibit|}}}
          |   <includeonly><!--
  | <!--Skip-->
              -->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
  | <includeonly>{{#ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}
                  | [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
    | [[Category:{{#switch: {{SUBJECTSPACE}}
                  | [[Category:Documentation subpages without corresponding pages]]
      |Template=Template
                  }}<!--
      |Module=Module
          --></includeonly>
      |User=User
        }}<!--
      |#default=Template
 
      }} documentation pages{{#translation:}}]]
(completing initial #ifeq: at start of template:)
    | [[Category:Documentation subpages without corresponding pages{{#translation:}}]]
--><includeonly>
    }}</includeonly>
    | <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
  }}<includeonly>
    }}<!--
}}</includeonly><noinclude>{{Documentation}}<!--Add categories and interwikis to the /doc subpage, not here!--></noinclude>
--></includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 07:28, 23 February 2023