Template:Improve: Difference between revisions

From Rosetta Code
Content added Content deleted
(The colon shows up in the preview if you do it like this and add a default value for {{{2}}})
m (It's easier to see if it's bold)
Line 1: Line 1:
{| class="messagebox"
{| class="messagebox"
|{{#if:{{{2|}}}|<div style="text-align:center">This example is '''in need of improvement''':</div>
|{{#if:{{{2|}}}|<div style="text-align:center">This example is '''in need of improvement:'''</div>
<blockquote>{{{2}}}</blockquote>|<div style="text-align:center">This example is '''in need of improvement'''.</div>}}
<blockquote>{{{2}}}</blockquote>|<div style="text-align:center">This example is '''in need of improvement'''.</div>}}
|}<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly><noinclude>
|}<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly><noinclude>

Revision as of 14:01, 14 August 2009

This example is in need of improvement.

Insert this message above a programming example using the text {{improve|lang|Explanation of the problem.}}, 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.