CZ:Templates/Guidelines: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
No edit summary
imported>Robert W King
Line 2: Line 2:


*'''ALL''' templates must be documented with <nowiki>{{</nowiki>[[template:newtemplate|newtemplate]]<nowiki>}}</nowiki> at the bottom of the new template page.
*'''ALL''' templates must be documented with <nowiki>{{</nowiki>[[template:newtemplate|newtemplate]]<nowiki>}}</nowiki> at the bottom of the new template page.
*The usage for the [[Template:newtemplate]] is as follows:
*The usage for the <nowiki>{{</nowiki>[[template:newtemplate|newtemplate]]<nowiki>}}</nowiki> is as follows:
<pre>
<pre>
<noinclude>
<noinclude>

Revision as of 16:27, 2 January 2008

Template Creation Guidelines

  • ALL templates must be documented with {{newtemplate}} at the bottom of the new template page.
  • 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