Template:Infobox Game: Difference between revisions

Content added Content deleted
(Trying out a Switch statement for the complexity field to try and catch other values)
(Trying a fix for case-sensitivity)
Line 19: Line 19:
| {{PL|:Complexity||25px}}
| {{PL|:Complexity||25px}}
! align=right | Complexity:
! align=right | Complexity:
| {{#switch: {{{complexity|}}}
| {{#switch: {{lc:{{{complexity|}}} }}
| #default = [[Rules Complexity::Browse_games/Unknown_complexity{{!}}unknown]]
| #default = [[Rules Complexity::Browse_games/Unknown_complexity{{!}}unknown]]
| simple|low = [[Rules Complexity::Browse_games/Simple_complexity{{!}}{{{complexity}}}]]
| simple|low = [[Rules Complexity::Browse_games/Simple_complexity{{!}}{{{complexity}}}]]