Template:Infobox Game: Difference between revisions

Content added Content deleted
(Updating the other complexity options to not change their SMW values)
(Updating the game length options to not change their SMW values)
Line 17: Line 17:
| {{#if: {{{game_length|}}}
| {{#if: {{{game_length|}}}
| {{#switch: {{lc:{{{game_length|}}} }}
| {{#switch: {{lc:{{{game_length|}}} }}
| #default = [[Game Length::Browse_games/Unknown_playing_time{{!}}{{#if: {{{game_length|}}} | {{{game_length|}}} | unknown }}]]
| #default = {{#set:Game Length={{{game_length}}} }}[[Browse_games/Unknown_playing_time{{!}}{{#if: {{{game_length|}}} | {{{game_length|}}} | unknown }}]]
| fast|fast?|short|quick = [[Game Length::Browse_games/Fast_playing_time{{!}}{{{game_length}}}]]
| fast|fast?|short|quick = {{#set:Game Length={{{game_length}}} }}[[Browse_games/Fast_playing_time{{!}}{{{game_length}}}]]
| medium|medium? = [[Game Length::Browse_games/Medium_playing_time{{!}}{{{game_length}}}]]
| medium|medium? = {{#set:Game Length={{{game_length}}} }}[[Browse_games/Medium_playing_time{{!}}{{{game_length}}}]]
| long|long? = [[Game Length::Browse_games/Long_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}}} }} }}
| {{#switch: {{lc:{{#invoke: Infobox Tools | guess_length | {{{min_playing_time}}} | {{{max_playing_time}}} }} }}
| #default = [[Game Length::Browse_games/Unknown_playing_time{{!}}unknown]]
| #default = {{#set:Game Length={{{game_length}}} }}[[Browse_games/Unknown_playing_time{{!}}unknown]]
| fast|fast?|short|quick = [[Game Length::Browse_games/Fast_playing_time{{!}}Fast]]
| fast|fast?|short|quick = {{#set:Game Length={{{game_length}}} }}[[Browse_games/Fast_playing_time{{!}}Fast]]
| medium|medium? = [[Game Length::Browse_games/Medium_playing_time{{!}}Medium]]
| medium|medium? = {{#set:Game Length={{{game_length}}} }}[[Browse_games/Medium_playing_time{{!}}Medium]]
| long|long? = [[Game Length::Browse_games/Long_playing_time{{!}}Long]]
| long|long? = {{#set:Game Length={{{game_length}}} }}[[Browse_games/Long_playing_time{{!}}Long]]
}}
}}
}}
}}