Template:Field attention: Difference between revisions

what-to-do-about-it text
m (set off the description text)
(what-to-do-about-it text)
Line 1:
{|<div class="messagebox">
|<div style="text-align:center">This example needs review by someone who knows about: '''{{{2}}}'''</div>{{#if:{{{3|}}}|
 
<div class="messagebox-inset" style="border: 1px solid #aaa; background: white; color: black; font-size: 89%; padding: 2px;">{{{3}}}</div><!-- messagebox-usertext is a class I made up; if it becomes real then move the hardwired styling here into a stylesheet. --> }}
}}
|If you know {{{2}}}, please review this example and, as necessary, improve it or describe what should be done for someone who knows the language.</div><includeonly>[[Category:{{{1}}} examples needing attention]][[Category:Examples needing attention]][[Category:Field knowledge needed/{{{2}}}]][[Category:Field knowledge needed/{{{2}}}/{{{1}}}]]</includeonly><noinclude>
 
Insert this message above a programming example using the text <code><nowiki>{{field attention|</nowiki>''lang''<nowiki>|</nowiki>''field''<nowiki>|Explanation of the problem.}}</nowiki></code>, where ''lang'' is the category name of the language and ''field'' is a short, consistent name for the area of expertise needed. This will put the page in [[:Category:Examples needing attention]], Category:''Lang'' examples needing attention, Category:Field knowledge needed/''field'', and Category:Field knowledge needed/''field''/''lang''.