Template:Documentation/core/doc
< Template:Documentation | core
Jump to navigation
Jump to search
Revision as of 23:24, 5 February 2010 by test>Davidgothberg (Documenting this sub-template.)
| 40px | This is a documentation subpage for Template:Documentation/core. It contains usage information, categories and other content that is not part of the original template page. |
This is the {{documentation/core}} sub-template.
Do not use this template directly, use {{documentation}} instead.
This template is called from {{documentation}}. It holds most of the code for {{documentation}}, while {{documentation}} does parameter preprocessing. Thus simplifying the code.
Technical details
This sub-template currently expects these parameters:
{{documentation/core
| heading = {{{heading|¬}}} <!--Note that the "¬" is necessary
so we can detect the difference between empty and undefined-->
| heading-style = {{{heading-style|}}}
| content = {{{content|}}} <!--Text instead of a /doc page-->
| docpage = <!--Full pagename of the doc page-->
| doc exist = <!--"yes" if the doc page exists, empty string if not-->
| sandbox = <!--Full pagename of the /sandbox-->
| testcases = <!--Full pagename of the /testcases-->
}}
For more documentation see {{documentation}}.