Template:Field attention: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page with '{| class="messagebox" |<div style="text-align:center">This example needs review by someone who knows about: '''{{{2}}}'''</div>{{#if:{{{3|}}}| {{{3}}} }} |}<includeonly>[[Catego…')
 
m (Added property "Example requires attention")
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{alertbox|#ffffd8|This example needs review by someone who knows about: [[:Category:Field knowledge needed/{{{2}}}|'''{{{2}}}''']] {{#if:{{{3|}}}|
{| 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. -->
{{{3}}} }}
}}
|}<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}}[[Category:Example attention templates]]</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.