FANDOM


(New page: The general layout for a standard template page: <pre> Template code <noinclude> <!-- Add categories and interwikis to the /doc subpage, not here! --> {{Template/doc}} </noinclude> </pr...)
 
Line 1: Line 1:
 
The general layout for a standard template page:
 
The general layout for a standard template page:
  +
  +
*Put the template code on the main page, and put all documentation and categories on a /doc subpage. This means that updates to the documentation do not result in huge amounts of template updates, and the template itself can be protected if necessary.
   
 
<pre>
 
<pre>

Revision as of 13:38, November 12, 2008

The general layout for a standard template page:

  • Put the template code on the main page, and put all documentation and categories on a /doc subpage. This means that updates to the documentation do not result in huge amounts of template updates, and the template itself can be protected if necessary.
Template code

<noinclude>

<!-- Add categories and interwikis to the /doc subpage, not here! -->
{{Template/doc}}
</noinclude>
Community content is available under CC-BY-SA unless otherwise noted.