Difference between revisions of "Template:Refactor notice"
From Maths
m |
m (Changing category of graded pages.) |
||
Line 10: | Line 10: | ||
-->[[Category:Refactoring]]<!-- | -->[[Category:Refactoring]]<!-- | ||
-->{{#if:{{{grade|}}}<!-- | -->{{#if:{{{grade|}}}<!-- | ||
− | -->|[[Category:Refactoring grade {{{grade|}}}]]<!-- | + | -->|[[Category:Refactoring grade {{{grade|}}} pages]]<!-- |
-->|[[Category:Refactoring (unknown grade)]]<!-- | -->|[[Category:Refactoring (unknown grade)]]<!-- | ||
− | -->}} | + | -->}}<!-- |
− | <hr/></includeonly> | + | |
+ | WARNING IF UNRECOGNISED GRADE | ||
+ | -->{{#if:{{{grade|}}}<!-- | ||
+ | -->|{{#ifexist:[[Category:Refactoring grade {{{grade|}}} pages]]<!-- grade set | ||
+ | -->|<!-- <-- page does exist | ||
+ | -->|{{Warning|That refactor grade doesn't exist!}}<!-- <-- page does not exist | ||
+ | -->}}<!-- | ||
+ | -->|<!-- <-- nothing if no grade set | ||
+ | -->}}<!-- | ||
+ | |||
+ | CLOSE THE HORIZONTAL RULES | ||
+ | --><hr/></includeonly> |