Template:TlDoc/doc

From Citizendium
< Template:TlDoc
Revision as of 00:55, 5 May 2009 by imported>Caesar Schinas
Jump to navigation Jump to search

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 page is viewed directly.
Important: Wrap the call to {{TlDoc}} inside <noinclude>...</noinclude> tags as seen below, to prevent the documentation from being shown on pages where the template is used.

Example

The following code should be used on the template page :

<includeonly>
...template code here...
</includeonly><noinclude>{{TlDoc}}</noinclude>

to give the following result when the template page is viewed :


No documentation has yet been written for this template. Create Documentation