Template:Field attention: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Change category link to att temp)
m (Added property "Example requires attention")
 
Line 3: Line 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. -->
<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.<includeonly>[[Category:{{{1}}} examples needing attention]][[Category:Examples needing attention]][[Category:Field knowledge needed/{{{2}}}]][[Category:Field knowledge needed/{{{2}}}/{{{1}}}]]</includeonly>}}<noinclude>
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.<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]{{#set:Example requires attention={{{1}}} }} }}[[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''.
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''. Additionally [[Property:Example requires attention]] is set.


{{template}}{{att temp}}</noinclude>
{{template}}{{att temp}}</noinclude>

Latest revision as of 21:05, 21 March 2014

This example needs review by someone who knows about: [[:Category:Field knowledge needed/{{{2}}}|{{{2}}}]]

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.

Insert this message above a programming example using the text {{field attention|lang|field|Explanation of the problem.}}, 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. Additionally Property:Example requires attention is set.



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