Template:Novice example: Difference between revisions

From Rosetta Code
Content added Content deleted
(new template for examples which were written by language nofices)
 
m (stray newlines)
Line 1: Line 1:
{{alertbox|#ffffd8"|This example was written by a novice in '''{{{1}}}'''. If you are familiar with {{{1}}}, please review and edit this example and remove this message. If the example does not work and you cannot fix it, replace this message with [[Template:incorrect]]. If the code is correct but unidiomatic and you cannot fix it, replace this message with [[Template:needs-review]].}}<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly><noinclude>
{{alertbox|#ffffd8"|This example was written by a novice in '''{{{1}}}'''. If you are familiar with {{{1}}}, please review and edit this example and remove this message. If the example does not work and you cannot fix it, replace this message with [[Template:incorrect]]. If the code is correct but unidiomatic and you cannot fix it, replace this message with [[Template:needs-review]].}}<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly><noinclude>


Insert this message above a programming example using the text <tt><nowiki>{{novice example|</nowiki>''lang''<nowiki>}}</nowiki></tt>, where ''lang'' is the programming language used. This will put the page in [[:Category:Examples needing attention]] and Category:''Lang'' examples needing attention.
Insert this message above a programming example using the text <tt><nowiki>{{novice example|</nowiki>''lang''<nowiki>}}</nowiki></tt>, where ''lang'' is the programming language used. This will put the page in [[:Category:Examples needing attention]] and Category:''Lang'' examples needing attention.</noinclude><noinclude>{{template}}[[Category:Example attention templates]]</noinclude>
</noinclude>
<noinclude>{{template}}[[Category:Example attention templates]]</noinclude>

Revision as of 06:17, 26 December 2009

This example was written by a novice in {{{1}}}. If you are familiar with {{{1}}}, please review and edit this example and remove this message. If the example does not work and you cannot fix it, replace this message with Template:incorrect. If the code is correct but unidiomatic and you cannot fix it, replace this message with Template:needs-review.

Insert this message above a programming example using the text {{novice example|lang}}, where lang is the programming language used. This will put the page in Category:Examples needing attention and Category:Lang examples needing attention.


This is a template. There are many others. See Category:RCTemplates for a complete list of templates.