Template:Broken: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Added property "Example requires attention" (+ some formatting changes))
 
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{alertbox|#ffc8c8| This example is '''broken'''. It fails to compile or causes a runtime error. Please fix the code and remove this message.}}
{| class="messagebox" style="text-align: center; background-color: #ffc8c8"
<includeonly>
| This example is '''broken'''. It fails to compile or causes a runtime error. Please fix the code and remove this message.
{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]{{#set:Example requires attention={{{1}}} }} }}
|}
<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly>
[[Category:Examples needing attention]]
</includeonly>
<noinclude>
Insert this message above a programming example using the text <tt><nowiki>{{broken|lang}}</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>Insert this message above a programming example using the text <tt><nowiki>{{broken|lang}}</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]] and sets [[Property:Example requires attention]].
{{template}}
[[Category:Example attention templates]]
</noinclude>
</noinclude>

Latest revision as of 08:32, 22 March 2014

This example is broken. It fails to compile or causes a runtime error. Please fix the code and remove this message.

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


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