Template:Template doc inline: Difference between revisions
Jump to navigation
Jump to search
(New page: <noinclude>{{pp-template|small=yes}}</noinclude><includeonly><div class="template-documentation" style="background-color:#ecfcf4; border:1px solid #aaa; padding:5px;"> <div style="font-siz...) |
(No difference)
|
Latest revision as of 07:58, 4 April 2007
This template displays a "Template documentation" box like you are seeing now.
It is primarily used by {{template doc}} to automatically display the documentation for the template from a /doc subpage, but can also be used to display inline documentation.
Usage
{{template doc inline|1=inline documentation|2=pagename}}
- Inline documentation is the text to display inside the box.
- Pagename refers to the name of the documentation page, which if specified, creates [view] and [edit] boxes to the right of the heading.