Template:Documentation subpage: Difference between revisions

From MozillaWiki
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
     | {{mbox
     | {{message/box
       | type = notice
       | class = notice
       | image = [[File:Edit-copy green.svg|40px]]
       | image = Edit-copy green.svg
       | text =  
      | imgwidth = 50
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{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}}}}}}}}.  
      | 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  = Wikipedia
       | #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

Edit-copy green.svg
This is a documentation subpage for Template:Documentation subpage.
It contains usage information, categories and other content that is not part of the original template page.
Documentation icon Template documentation[view] [edit] [history] [purge]

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