Difference between revisions of "Template:Refactor notice"

From Maths
Jump to: navigation, search
m (Typo)
m (Old mistake for final review flag fixed)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><hr/>
+
{{GradedNoticeBar|bgcolour=#57E157|bordercolour=#008000|grade={{#if:{{{review|}}}|'''[[:Category:Refactored pages pending final review|Pending final review]]'''|}}{{#if:{{{grade|}}}|Grade: [[:Category:Refactoring grade {{{grade|}}} pages{{!}}{{{grade|}}}]]|{{#if:{{{review|}}}||[[:Category:Refactoring (unknown grade)|(Unknown grade)]]}}}}|title=This page is currently being [[refactored]] (along with [[:Category:Refactoring|many others]])
'''Notice:''' this page is being [[Site:Refactoring|refactored]].<!--
+
|content=Please note that this does not mean the content is unreliable. It just means the page doesn't conform to the style of the site (usually due to age) or a better way of presenting the information has been discovered. {{#if:{{{1|{{{content|{{{msg|}}}}}}}}}|<br/>The message provided is:<div style="margin-left:1em;border-left:0.1em solid #AAA;padding-left:0.1em;">{{{1|{{{content|{{{msg|}}}}}}}}}</div>|}}<!--
  
-->{{#if:{{{1|{{{msg|}}}}}}<!--
+
-->[[Category:Refactoring]]<!--
    -->|<br/>'''The message provided is: ''' {{{1|{{{msg|}}}}}}<!--
+
    -->|<!-- <-- no message case
+
-->}}<!--
+
  
CATEGORY STUFF:
 
-->[[Category:Refactoring]]<!--
 
 
-->{{#if:{{{grade|}}}<!--
 
-->{{#if:{{{grade|}}}<!--
 
     -->|[[Category:Refactoring grade {{{grade|}}} pages]]<!--
 
     -->|[[Category:Refactoring grade {{{grade|}}} pages]]<!--
Line 16: Line 11:
 
REVIEW STUFF
 
REVIEW STUFF
 
-->{{#if:{{{review|}}}<!--
 
-->{{#if:{{{review|}}}<!--
     -->|[[Category:Refactoring pages pending final review]]<!--
+
     -->|'''[[Category:Refactoring pages pending final review]]<br/>This page is waiting for a [[:Category:Refactoring pages pending final review|final review]], then this notice will be removed.'''<!--
 
     -->|<!--
 
     -->|<!--
 
-->}}<!--
 
-->}}<!--
Line 22: Line 17:
 
WARNING IF UNRECOGNISED GRADE
 
WARNING IF UNRECOGNISED GRADE
 
-->{{#if:{{{grade|}}}<!--
 
-->{{#if:{{{grade|}}}<!--
     -->|{{#ifexist:[[Category:Refactoring grade {{{grade|}}} pages]]<!-- grade set
+
     -->|{{#ifexist:Category:Refactoring grade {{{grade|}}} pages<!-- grade set
 
         -->|<!-- <-- page does exist
 
         -->|<!-- <-- page does exist
         -->|{{Warning|That refactor grade doesn't exist!}}<!-- <-- page does not exist
+
         -->|<br/>[[Category:Template errors]]{{Warning|That page grade doesn't exist: "{{{grade|}}}"}}<!-- <-- page does not exist
 
     -->}}<!--
 
     -->}}<!--
 
     -->|<!-- <-- nothing if no grade set
 
     -->|<!-- <-- nothing if no grade set
 
-->}}<!--
 
-->}}<!--
  
CLOSE THE HORIZONTAL RULES
+
-->}}<noinclude>
--><hr/></includeonly>
+
==Parameters==
 +
# {{C|msg}} a message to provide to anyone who might fix the problem in the future
 +
# {{C|grade}} A or A* for most important
 +
# {{C|review}} set to anything if this page is to be marked as "low hanging fruit"
 +
[[Category:Page marking templates]]
 +
</noinclude>

Latest revision as of 22:15, 8 October 2016

This page is currently being refactored (along with many others)
Please note that this does not mean the content is unreliable. It just means the page doesn't conform to the style of the site (usually due to age) or a better way of presenting the information has been discovered.

Parameters

  1. msg a message to provide to anyone who might fix the problem in the future
  2. grade A or A* for most important
  3. review set to anything if this page is to be marked as "low hanging fruit"