Template:Documentation subpage: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (1 revision: templates imported from WP CC-SA)
 
No edit summary
Line 7: Line 7:
       | image = [[File:Edit-copy green.svg|40px]]
       | image = [[File:Edit-copy green.svg|40px]]
       | text =  
       | text =  
'''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}}}}}}}}.  
'''This is a documentationsubpage for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[MozillaWiki: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}}}}}}}}.  
       }}
       }}
     }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
     }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
Line 17: Line 17:
       | 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>

Revision as of 17:55, 26 July 2013

{{{{#invoke:Namespace detect|main}} | type = notice | image = Edit-copy green.svg | imageright = | class = | style = | textstyle = | text = This is a documentationsubpage for Template:Documentation subpage.
It contains usage information, categories and other content that is not part of the original template page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

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