Template:Documentation subpage/doc
This page will only parse completely when it is included in another page.
[template]documentation subpage[/template]
[TOC]NO[/TOC]
[h="2"]Usage[/h]
{{documentation subpage}}
[b]OR[/b]
{{documentation subpage|[[main page to link to]]|[[documentation to link to]]}}
This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:
[list][*] 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 is transcluded from a subpage.
[/LIST]
[h="2"]Functions[/h]
In addition to the output message, the template categorizes pages to [category=Template documentation]Template documentation[/category], [category=User documentation]User documentation[/category], or similar (named after the subject space), but only for documentation pages in namespaces with the subpage feature. It defaults the [wiki="m:Help:Categories#Sort order"]sort key[/wiki] to the page name without namespace (ie, "Foo" on "Template:Foo", so it would be sorted in categories under 'F').
[h="2"]See also[/h]
[list][*] [brwiki]Template documentation[/brwiki] for how this template is used.
[/LIST]
[template] Documentation/doc/see also [/template]
[TOC]NO[/TOC]
[h="2"]Usage[/h]
{{documentation subpage}}
[b]OR[/b]
{{documentation subpage|[[main page to link to]]|[[documentation to link to]]}}
This template should be placed at the top of "/doc" pages. It changes output depending on where it is viewed:
[list][*] 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 is transcluded from a subpage.
[/LIST]
[h="2"]Functions[/h]
In addition to the output message, the template categorizes pages to [category=Template documentation]Template documentation[/category], [category=User documentation]User documentation[/category], or similar (named after the subject space), but only for documentation pages in namespaces with the subpage feature. It defaults the [wiki="m:Help:Categories#Sort order"]sort key[/wiki] to the page name without namespace (ie, "Foo" on "Template:Foo", so it would be sorted in categories under 'F').
[h="2"]See also[/h]
[list][*] [brwiki]Template documentation[/brwiki] for how this template is used.
[/LIST]
[template] Documentation/doc/see also [/template]
Created by Last edited by , 10-23-2011 at 12:10 PM 0 Comments, 1,221 Views |
, 11-23-2008 at 08:30 PM
Tags for this Page
Similar Pages
-
Documentation
By Arjan in forum TemplateComments: 0Last Post: 11-23-2008, 08:30 PM -
Documentation subpage
By Arjan in forum TemplateComments: 0Last Post: 11-23-2008, 08:30 PM -
Documentation/doc
By Arjan in forum TemplateComments: 0Last Post: 11-23-2008, 08:30 PM -
Documentation/doc/see also
By Arjan in forum TemplateComments: 0Last Post: 11-23-2008, 08:30 PM -
Template documentation
By Arjan in forum MainComments: 0Last Post: 11-23-2008, 07:23 PM
Bookmarks