Template:Documentation/doc: Difference between revisions

From Hattrick
Jump to navigationJump to search
Crazycompgeek (talk | contribs)
Created page with 'Test'
 
Crazycompgeek (talk | contribs)
No edit summary
Line 1: Line 1:
Test
=== Usage ===
 
Normally this template is used without any parameters and placed at the bottom of the template or page being documented, in a <noinclude> section. Like this:
 
<pre>
<!--Last line of your template code--><noinclude>
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</pre>
 
Then this template automatically loads the content from the /doc subpage of the template it is used on.

Revision as of 19:57, 8 April 2010

Usage

Normally this template is used without any parameters and placed at the bottom of the template or page being documented, in a <noinclude> section. Like this:

<!--Last line of your template code--><noinclude>

{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Then this template automatically loads the content from the /doc subpage of the template it is used on.