Difficulty.mw 668 B

12345678910111213141516
  1. <includeonly>[[Template:#switch: {{{1]]}
  2. | easy = <span style="color: green; background-color: #f0fff0;">[[Template:{1]]}</span>
  3. | intermediate
  4. | medium = <span style="color: #d0d000; background-color: #ffffd0;">[[Template:{1]]}</span>
  5. | hard = <span style="color: red; background-color: #fff0f0; ">[[Template:{1]]}</span>
  6. | #default = [[Category:Unknown difficulty]] [[Template:{1]]}
  7. }}</includeonly><noinclude>The '''Difficulty''' template pretty-prints a difficulty.
  8. == Usage ==
  9. <nowiki>[[Template:Difficulty|easy]]</nowiki>
  10. <nowiki>[[Template:Difficulty|medium]]</nowiki>
  11. <nowiki>[[Template:Difficulty|hard]]</nowiki>
  12. [[Category:Templates]]</noinclude>