Template:Broken: Difference between revisions

m
Added property "Example requires attention" (+ some formatting changes)
m (Added property "Example requires attention" (+ some formatting changes))
 
(21 intermediate revisions by 10 users not shown)
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>
</includeonly>
<noinclude>
<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>