Template:Lines too long: Difference between revisions

m
Added property "Example requires attention"
(categorize example attention boxes)
m (Added property "Example requires attention")
 
(5 intermediate revisions by 4 users not shown)
Line 1:
{{alertbox|#ffc8c8|Some lines in this example are '''too long''' (more than 80 characters). Please fix the code if it's possible and remove this message.}}<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]{{#set:Example requires attention={{{1}}} }} }}[[Category:Examples needing attention]]</includeonly><noinclude>
{| class="messagebox" style="text-align: center; background-color: #ffc8c8"
Insert this message above a programming example using the text <tt><nowiki>{{lines too long|lang}}</nowiki></tt>, where ''lang'' is the name of the language. It will add the page to the [[:Category:TasksExamples needing attention]] categoryand Category:Lang examples needing attention and sets [[Property:Example requires attention]].
| Some lines in this example are '''too long''' (more than 84 characters). Please fix the code if it's possible and remove this message.
{{template}}{{att temp}}</noinclude>
|}
<includeonly>[[Category:Tasks needing attention]]</includeonly>
<noinclude>
Insert this message above a programming example using the text <tt><nowiki>{{lines too long}}</nowiki></tt>. It will add the page to the [[:Category:Tasks needing attention]] category.
</noinclude>
<noinclude>{{template}}[[Category:Example attention templates]]</noinclude>