Teratornis (talk | contribs) (copy from Wikipedia:Template:Documentation subpage) |
Teratornis (talk | contribs) (add the extra Wikipedia: interwiki link prefix to a couple of links that were local links on Wikipedia, but are interwiki links here. Maybe someday we can write local versions of those doc pages) |
||
Line 4: | Line 4: | ||
</includeonly>{{ | </includeonly>{{ | ||
#ifeq: {{{doc-notice|show}}} | show | #ifeq: {{{doc-notice|show}}} | show | ||
| <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> | | <div class="messagebox" id="template_doc_page_viewed_directly" style="padding-left:1ex;">'''This is a [[Wikipedia:Wikipedia:Template documentation|documentation]] [[Wikipedia: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:Wikipedia:Categories|categories]] and other content that is not part of the original {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}. </div> | ||
}}{{DEFAULTSORT:{{PAGENAME}}}}{{ | }}{{DEFAULTSORT:{{PAGENAME}}}}{{ | ||
#if: {{{inhibit|}}} | #if: {{{inhibit|}}} |
Revision as of 05:54, 21 January 2011
Template documentationedit documentation
Usage
{{Documentation subpage}}
This template should be placed at the top of "/doc" pages. It changes output depending on where it appears:
- On a "/doc" page, it displays a box explaining template documentation and links to the template page.
- On other pages (ie, pages transcluding the "/doc" page), it notes that the documentation transcludes from a subpage.
In addition to the output message, this template categorizes pages in Category:Documentation subpages.
See also
- Wikipedia:Wikipedia:Template documentation for how to use this template.
- Wikipedia:Template:Documentation subpage/doc - Original content of this page on Wikipedia.