Template:Documentation subpage: Difference between revisions

Jump to navigation Jump to search
m>Da monster under your bed
m Reverted edits by 1user2user3 to last version by Malyctenar (using Huggle)
m>Meno25
fix link
Line 1: Line 1:
<includeonly>{{
<includeonly><!-- only show on documentation subpages -->
  #ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
  | <!-- doc page -->
</includeonly><div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
</includeonly>{{
This subpage contains [[w:Wikipedia:Template documentation|documentation]], [[w:Wikipedia:Categorization|categories]] and other content that is not part of the template.<br /><span style="font-size:0.9em;">To view the {{lc:{{NAMESPACE}}}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</span></div>
    #ifeq: {{{doc-notice|show}}} | show
{{DEFAULTSORT:{{PAGENAME}}}}{{#if:{{{inhibit|}}}|<!-- skip -->|[[Category:Template documentation<noinclude>| </noinclude>]]}}
    | <div class="messagebox" id="template_doc_page_viewed_directly" style="padding-left:1ex;">'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(see that page for the {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }} itself)</small>.<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}. </div>
<includeonly>}}</includeonly><noinclude>
  }}{{DEFAULTSORT:{{PAGENAME}}}}{{
{{documentation}}
    #if: {{{inhibit|}}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
    | <!-- skip -->
</noinclude>
    | [[Category:{{
      #if: {{SUBJECTSPACE}}
      | {{SUBJECTSPACE}}
      | Article
    }} documentation<noinclude>| </noinclude>]]
  }}<includeonly>
|<!-- if not on a /doc subpage, do nothing -->
}}</includeonly><noinclude>
 
{{pp-semi-template|small=yes}}
----
{{documentation}}<!--
Add categories and interwikis to the /doc subpage, not here!
--></noinclude>