Template:Infobox Game: Difference between revisions

Fixing the game length values for SMW when the value is not specified
(Adding medium-high complexity to the high results)
(Fixing the game length values for SMW when the value is not specified)
(3 intermediate revisions by the same user not shown)
Line 17:
| {{#if: {{{game_length|}}}
| {{#switch: {{lc:{{{game_length|}}} }}
| #default = [[{{#set:Game Length::={{{game_length}}} }}[[Browse_games/Unknown_playing_time{{!}}{{#if: {{{game_length|}}} | {{{game_length|}}} | unknown }}]]
| fast|fast?|short|quick = [[{{#set:Game Length::={{{game_length}}} }}[[Browse_games/Fast_playing_time{{!}}{{{game_length}}}]]
| medium|medium? = [[{{#set:Game Length::={{{game_length}}} }}[[Browse_games/Medium_playing_time{{!}}{{{game_length}}}]]
| long|long? = [[{{#set:Game Length::={{{game_length}}} }}[[Browse_games/Long_playing_time{{!}}{{{game_length}}}]]
}}
| {{#switch: {{lc:{{#invoke: Infobox Tools | guess_length | {{{min_playing_time}}} | {{{max_playing_time}}} }} }}
| #default = [[{{#set:Game Length::=unknown}}[[Browse_games/Unknown_playing_time{{!}}unknown]]
| fast|fast?|short|quick = [[{{#set:Game Length::=Fas}}[[Browse_games/Fast_playing_time{{!}}Fast]]
| medium|medium? = [[{{#set:Game Length::=Medium}}[[Browse_games/Medium_playing_time{{!}}Medium]]
| long|long? = [[{{#set:Game Length::=Long}}[[Browse_games/Long_playing_time{{!}}Long]]
}}
}}
Line 33:
! align=right | Complexity:
| {{#switch: {{lc:{{{complexity|}}} }}
| #default = [[{{#set:Rules Complexity::={{{complexity}}} }}[[Browse_games/Unknown_complexity{{!}}{{#if: {{{complexity|}}} | {{{complexity|}}} | unknown }}]]
| simple|low = [[{{#set:Rules Complexity::={{{complexity}}} }}[[Browse_games/Simple_complexity{{!}}{{{complexity}}}]]
| medium|moderate = [[{{#set:Rules Complexity::={{{complexity}}} }}[[Browse_games/Medium_complexity{{!}}{{{complexity}}}]]
| complex|high|medium-high|medium–high = [[{{#set:Rules Complexity::={{{complexity}}} }}[[Browse_games/Complex_complexity{{!}}{{{complexity}}}]]
}}
|-