This wiki has been moved to https://github.com/SuperTux/wiki into the mediawiki branch.

Difference between revisions of "Template:Difficulty"

From SuperTux
Jump to: navigation, search
(Created template.)
 
(Fix foreground colors.)
Line 2: Line 2:
 
  | easy = <span style="color: green; background-color: #f0fff0;">{{{1}}}</span>
 
  | easy = <span style="color: green; background-color: #f0fff0;">{{{1}}}</span>
 
  | intermediate
 
  | intermediate
  | medium = <span style="background: #ffffd0; color: #fffff0;">{{{1}}}</span>
+
  | medium = <span style="color: #d0d000; background-color: #ffffd0;">{{{1}}}</span>
  | hard = <span style="background: #ffe0e0; color: #fff0f0;">{{{1}}}</span>
+
  | hard = <span style="color: red; background-color: #ffe0e0; ">{{{1}}}</span>
 
  | #default = [[Category:Unknown difficulty]] {{{1}}}
 
  | #default = [[Category:Unknown difficulty]] {{{1}}}
 
}}</includeonly><noinclude>The '''Difficulty''' template pretty-prints a difficulty.
 
}}</includeonly><noinclude>The '''Difficulty''' template pretty-prints a difficulty.

Revision as of 10:17, 21 March 2010

The Difficulty template pretty-prints a difficulty.

Usage

{{Difficulty|easy}}
{{Difficulty|medium}}
{{Difficulty|hard}}