Template:TlDoc/doc: Difference between revisions
Jump to navigation
Jump to search
imported>J. Noel Chiappa m (Template:TlDoc/Doc moved to Template:TlDoc/doc: lowercase d is standard) |
imported>J. Noel Chiappa (Mention subpage name) |
||
Line 1: | Line 1: | ||
'''Usage''' | '''Usage''' | ||
<nowiki>{{TlDoc}}</nowiki> is used to include template documentation, stored on | <nowiki>{{TlDoc}}</nowiki> is used to include template documentation, stored on the "/doc" [[CZ:Subpage|subpage]] of that template (to minimize the size of the template), when a template is viewed. '''Important:''' Wrap the call to <nowiki>{{TlDoc}}</nowiki> inside <nowiki><no</nowiki><nowiki>include></nowiki><nowiki></no</nowiki><nowiki>include></nowiki>; the size reduction will not occur without this step | ||
'''Example''': | '''Example''': |
Revision as of 14:27, 2 June 2008
Usage
{{TlDoc}} is used to include template documentation, stored on the "/doc" subpage of that template (to minimize the size of the template), when a template is viewed. Important: Wrap the call to {{TlDoc}} inside <noinclude></noinclude>; the size reduction will not occur without this step
Example:
{{TlDoc}}
gives:
No documentation has yet been written for this template. Create Documentation