Template:Documentation subpage: Difference between revisions
Jump to navigation
Jump to search
m (1 revision: templates imported from WP CC-SA) |
(Corrected an internal category link.) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
</includeonly>{{ | </includeonly>{{ | ||
#ifeq: {{{doc-notice|show}}} | show | #ifeq: {{{doc-notice|show}}} | show | ||
| {{ | | {{message/box | ||
| | | class = notice | ||
| image = | | image = Edit-copy green.svg | ||
| | | imgwidth = 50 | ||
'''This is a | | width = 63% | ||
| bgcolor = #F9F9F9 | |||
| bdcolor = #AAAAAA | |||
| style = margin-bottom:1.0em; | |||
| | |||
'''This is a documentation subpage for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Help:Categories|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}}}}}}}}. | |||
}} | }} | ||
}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{ | }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{ | ||
Line 17: | Line 22: | ||
| Module = Module | | Module = Module | ||
| User = User | | User = User | ||
| #default = | | #default = MozillaWiki | ||
}} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly> | }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly> | ||
}}<includeonly> | }}<includeonly> |
Latest revision as of 00:11, 11 January 2015
Usage
{{documentation subpage}} creates an information box, telling the reader that the current page is a template documentation page.
This template is only used in template documentation pages, and should always be placed at the very top of the page (i.e. put it above everything else inside the editing box). To link to a template's documentation page from its main page, use the template {{documentation}}, which is placed on the template page itself.
Parameter
There are no parameters.
To use the template, simply type {{documentation subpage}}
.
Examples
See the resulting message box at the top of this page.
See also
- {{documentation}}
The above documentation is transcluded from Template:Documentation subpage/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |