CZ:Templates/Guidelines: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
imported>Robert W King
No edit summary
Line 1: Line 1:
==Template Creation Guidelines==
==Template Creation Guidelines==


*'''ALL''' templates must be documented with <nowiki>{{</nowiki>[[template:newtemplate|newtemplate]]<nowiki>}}</nowiki> at the bottom of the new template page.
*'''ALL functional templates''' must be documented with <nowiki>{{</nowiki>[[template:newtemplate|newtemplate]]<nowiki>}}</nowiki> at the bottom of the new template page.  This does '''NOT''' include [[CZ:Subpages|Subpages]].
*The usage for the <nowiki>{{</nowiki>[[template:newtemplate|newtemplate]]<nowiki>}}</nowiki> is as follows:
*The usage for the <nowiki>{{</nowiki>[[template:newtemplate|newtemplate]]<nowiki>}}</nowiki> is as follows:
<pre>
<pre>

Revision as of 15:33, 2 January 2008

Template Creation Guidelines

  • ALL functional templates must be documented with {{newtemplate}} at the bottom of the new template page. This does NOT include Subpages.
  • The usage for the {{newtemplate}} is as follows:
<noinclude>
{{newtemplate
|description=
|execution=
|sample=
|caveats=
|authors=
}}
</noinclude>
  • Do not forget to include <noinclude></noinclude> at the end of your template; otherwise it will appear in instances of execution.
  • For a sample, see Template:Bowlingscoresheet