Please create an account or Login! Have fun!

Template:Infobox Level: Difference between revisions

Jump to navigation Jump to search
(Fix for multiple designers)
(Added steam public time/score)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#get_web_data:url=https://beta.bitbusters.club/wiki/level_listing.php?pack={{{pack}}}&level={{{level}}}|format=json|data=NAME=name,LEVEL=level,LEVELSET=pack_name,NAME=name,PASSWORD=password,PW_NOTE=password_note,DESIGNER=designers,TIME=time_limit,CHIPS_REQ=chips_required,CHIPS_AVAIL=total_chips,CHIPS_NOTE=chips_note,MS_MELINDA=MS_melinda,MS_BOLD=MS_bold,MS_PUBLIC=MS_public,LYNX_BOLD=LYNX_bold,STEAM_BOLD=STEAM_TIME_bold,MS_LUCK=MS_luck_diff,MS_EXEC=MS_exec_diff,MS_ROUTE=MS_routing_diff,MS_MOUSE=MS_mouse,MS_CASUAL=MS_casual_diff,LYNX_MELINDA=LYNX_melinda,LYNX_BOLD=LYNX_bold,LYNX_PUBLIC=LYNX_public,LYNX_LUCK=LYNX_luck_diff,LYNX_EXEC=LYNX_exec_diff,LYNX_ROUTE=LYNX_routing_diff,LYNX_CASUAL=LYNX_casual_diff,STEAM_TIME_MELINDA=STEAM_TIME_melinda,STEAM_TIME_BOLD=STEAM_TIME_bold,STEAM_TIME_CASUAL=STEAM_TIME_casual_diff,STEAM_TIME_EXEC=STEAM_TIME_exec_diff,STEAM_TIME_LUCK=STEAM_TIME_luck_diff,STEAM_TIME_ROUTE=STEAM_TIME_routing_diff,STEAM_SCORE_BOLD=STEAM_SCORE_bold,STEAM_SCORE_CASUAL=STEAM_SCORE_casual_diff,STEAM_SCORE_EXEC=STEAM_SCORE_exec_diff,STEAM_SCORE_LUCK=STEAM_SCORE_luck_diff,STEAM_SCORE_ROUTE=STEAM_SCORE_routing_diff}}{| class="wikitable infobox plainlinks" style="width: 30%; align: right; text-align: center;"
<includeonly>{{#get_web_data:url=https://api.bitbusters.club/wiki/level_listing.php?pack={{{pack}}}&level={{{level}}}|format=json|data=NAME=name,LEVEL=level,LEVELSET=pack_name,NAME=name,PASSWORD=password,PW_NOTE=password_note,DESIGNER=designers,TIME=time_limit,CHIPS_REQ=chips_required,CHIPS_AVAIL=total_chips,CHIPS_NOTE=chips_note,MS_MELINDA=MS_melinda,MS_BOLD=MS_bold,MS_PUBLIC=MS_public,LYNX_BOLD=LYNX_bold,STEAM_BOLD=STEAM_TIME_bold,MS_LUCK=MS_luck_diff,MS_EXEC=MS_exec_diff,MS_ROUTE=MS_routing_diff,MS_MOUSE=MS_mouse,MS_CASUAL=MS_casual_diff,LYNX_MELINDA=LYNX_melinda,LYNX_BOLD=LYNX_bold,LYNX_PUBLIC=LYNX_public,LYNX_LUCK=LYNX_luck_diff,LYNX_EXEC=LYNX_exec_diff,LYNX_ROUTE=LYNX_routing_diff,LYNX_CASUAL=LYNX_casual_diff,STEAM_TIME_MELINDA=STEAM_TIME_melinda,STEAM_TIME_BOLD=STEAM_TIME_bold,STEAM_TIME_PUBLIC=STEAM_TIME_public,STEAM_TIME_CASUAL=STEAM_TIME_casual_diff,STEAM_TIME_EXEC=STEAM_TIME_exec_diff,STEAM_TIME_LUCK=STEAM_TIME_luck_diff,STEAM_TIME_ROUTE=STEAM_TIME_routing_diff,STEAM_SCORE_BOLD=STEAM_SCORE_bold,STEAM_SCORE_PUBLIC=STEAM_SCORE_public,STEAM_SCORE_CASUAL=STEAM_SCORE_casual_diff,STEAM_SCORE_EXEC=STEAM_SCORE_exec_diff,STEAM_SCORE_LUCK=STEAM_SCORE_luck_diff,STEAM_SCORE_ROUTE=STEAM_SCORE_routing_diff}}{| class="wikitable infobox plainlinks" style="width: 30%; align: right; text-align: center;"
|+ {{{name|{{#external_value:NAME}}}}}
|+ {{{name|{{#external_value:NAME}}}}}
|-
|-
Line 11: Line 11:
|-
|-
! width="1%" nowrap="nowrap"|'''Designer'''
! width="1%" nowrap="nowrap"|'''Designer'''
| {{#ifeq:{{#external_value:DESIGNER}}|Unknown|{{#external_value:DESIGNER}}|{{#arraymap:{{#external_value:DESIGNER}}|,|x|[[x]]}}}}
| {{#ifeq:{{#external_value:DESIGNER}}|Unknown|{{#external_value:DESIGNER}}|{{#arraymap:{{#external_value:DESIGNER}}|,|x|[[x]]|<br>}}}}
|-
|-
|- {{#if:{{#external_value:PASSWORD}}||style="display:none;"}}
|- {{#if:{{#external_value:PASSWORD}}||style="display:none;"}}
Line 37: Line 37:
|-
|-
|- {{#if:{{#external_value:MS_BOLD}}||style="display:none;"}}
|- {{#if:{{#external_value:MS_BOLD}}||style="display:none;"}}
| colspan = "2" | '''MS'''
| colspan = "2" | '''MS''' [https://scores.bitbusters.club/levels/{{{pack}}}/{{{level}}}/ms (Scores)]
|-
|-
|- {{#if:{{#external_value:MS_MELINDA}}||style="display:none;"}}
|- {{#if:{{#external_value:MS_MELINDA}}||style="display:none;"}}
|- {{#ifeq:{{#external_value:MS_MELINDA}}|{{#external_value:MS_BOLD}}|style="display:none;"|}}
|- {{#ifeq:{{#external_value:MS_MELINDA}}|{{#external_value:MS_BOLD}}|style="display:none;"|}}
! width="1%" nowrap="nowrap"|'''[[Melinda time]]'''
! width="1%" nowrap="nowrap"|'''[[Melinda time]]'''
| {{#external_value:MS_MELINDA}}
| {{#ifeq:{{#external_value:TIME}}|0|[{{#external_value:MS_MELINDA}}]|{{#external_value:MS_MELINDA}}}}
|-
|-
|- {{#if:{{#external_value:MS_BOLD}}||style="display:none;"}}
|- {{#if:{{#external_value:MS_BOLD}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''[[Bold time]]'''
! width="1%" nowrap="nowrap"|'''[[Bold time]]'''
| {{#external_value:MS_BOLD}}
| {{#ifeq:{{#external_value:TIME}}|0|[{{#external_value:MS_BOLD}}]|{{#external_value:MS_BOLD}}}}
|-
|-
|- {{#if:{{#external_value:MS_PUBLIC}}||style="display:none;"}}
|- {{#if:{{#external_value:MS_PUBLIC}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''[[Public time]]'''
! width="1%" nowrap="nowrap"|'''[[Public time]]'''
| {{#external_value:MS_PUBLIC}}
| {{#ifeq:{{#external_value:TIME}}|0|[{{#external_value:MS_PUBLIC}}]|{{#external_value:MS_PUBLIC}}}}
|-
|-
|- {{#if:{{#external_value:MS_CASUAL}}||style="display:none;"}}
|- {{#if:{{#external_value:MS_CASUAL}}||style="display:none;"}}
Line 74: Line 74:
|-
|-
|- {{#if:{{#external_value:LYNX_BOLD}}||style="display:none;"}}
|- {{#if:{{#external_value:LYNX_BOLD}}||style="display:none;"}}
| colspan = "2" | '''Lynx'''
| colspan = "2" | '''Lynx''' [https://scores.bitbusters.club/levels/{{{pack}}}/{{{level}}}/lynx (Scores)]
|-
|-
|- {{#if:{{#external_value:LYNX_MELINDA}}||style="display:none;"}}
|- {{#if:{{#external_value:LYNX_MELINDA}}||style="display:none;"}}
|- {{#ifeq:{{#external_value:LYNX_MELINDA|}}|{{#external_value:LYNX_BOLD}}|style="display:none;"|}}
|- {{#ifeq:{{#external_value:LYNX_MELINDA|}}|{{#external_value:LYNX_BOLD}}|style="display:none;"|}}
! width="1%" nowrap="nowrap"|'''Melinda time'''
! width="1%" nowrap="nowrap"|'''Melinda time'''
| {{#external_value:LYNX_MELINDA}}
| {{#ifeq:{{#external_value:TIME}}|0|[{{#external_value:LYNX_MELINDA}}]|{{#external_value:LYNX_MELINDA}}}}
|-
|-
|- {{#if:{{#external_value:LYNX_BOLD}}||style="display:none;"}}
|- {{#if:{{#external_value:LYNX_BOLD}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Bold time'''
! width="1%" nowrap="nowrap"|'''Bold time'''
| {{#external_value:LYNX_BOLD}}
| {{#ifeq:{{#external_value:TIME}}|0|[{{#external_value:LYNX_BOLD}}]|{{#external_value:LYNX_BOLD}}}}
|-
|-
|- {{#if:{{#external_value:LYNX_PUBLIC}}||style="display:none;"}}
|- {{#if:{{#external_value:LYNX_PUBLIC}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Public time'''
! width="1%" nowrap="nowrap"|'''Public time'''
| {{#external_value:LYNX_PUBLIC}}
| {{#ifeq:{{#external_value:TIME}}|0|[{{#external_value:LYNX_PUBLIC}}]|{{#external_value:LYNX_PUBLIC}}}}
|-
|-
|- {{#if:{{#external_value:LYNX_CASUAL}}||style="display:none;"}}
|- {{#if:{{#external_value:LYNX_CASUAL}}||style="display:none;"}}
Line 107: Line 107:
|-
|-
|- {{#if:{{#external_value:STEAM_TIME_BOLD}}||style="display:none;"}}
|- {{#if:{{#external_value:STEAM_TIME_BOLD}}||style="display:none;"}}
| colspan = "2" | '''Steam'''
| colspan = "2" | '''Steam''' [https://scores.bitbusters.club/levels/{{{pack}}}/{{{level}}}/steam (Scores)]
|-
|-
|- {{#if:{{#external_value:MS_BOLD}}|style="display:none;"|{{#if:{{#external_value:STEAM_TIME_BOLD}}||style="display:none;"}}}}
|- {{#if:{{#external_value:MS_BOLD}}|style="display:none;"|{{#if:{{#external_value:STEAM_TIME_BOLD}}||style="display:none;"}}}}
Line 116: Line 116:
! width="1%" nowrap="nowrap"|'''Bold time'''
! width="1%" nowrap="nowrap"|'''Bold time'''
| {{#external_value:STEAM_TIME_BOLD}}
| {{#external_value:STEAM_TIME_BOLD}}
|-
|- {{#if:{{#external_value:MS_PUBLIC}}|style="display:none;"|{{#if:{{#external_value:STEAM_TIME_PUBLIC}}||style="display:none;"}}}}
! width="1%" nowrap="nowrap"|'''[[Public time]]'''
| {{#external_value:STEAM_TIME_PUBLIC}}
|-
|- {{#if:{{#external_value:MS_PUBLIC}}|{{#if:{{#external_value:STEAM_TIME_PUBLIC}}||style="display:none;"}}|style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Public time'''
| {{#external_value:STEAM_TIME_PUBLIC}}
|-
|-
|- {{#if:{{#external_value:STEAM_TIME_CASUAL}}||style="display:none;"}}
|- {{#if:{{#external_value:STEAM_TIME_CASUAL}}||style="display:none;"}}
Line 136: Line 144:
! width="1%" nowrap="nowrap"|'''Bold score'''
! width="1%" nowrap="nowrap"|'''Bold score'''
| {{#external_value:STEAM_SCORE_BOLD}}
| {{#external_value:STEAM_SCORE_BOLD}}
|-
|- {{#if:{{#external_value:STEAM_SCORE_PUBLIC}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Public score'''
| {{#external_value:STEAM_SCORE_PUBLIC}}
|-
|-
|- {{#if:{{#external_value:STEAM_SCORE_CASUAL}}||style="display:none;"}}
|- {{#if:{{#external_value:STEAM_SCORE_CASUAL}}||style="display:none;"}}
Line 156: Line 168:
|}{{Mainonly|{{#if:{{{image}}}||[[Category:Needs image]]}}
|}{{Mainonly|{{#if:{{{image}}}||[[Category:Needs image]]}}
{{#if:{{#external_value:LEVELSET}}|[[Category:{{#external_value:LEVELSET}} Levels]]}}
{{#if:{{#external_value:LEVELSET}}|[[Category:{{#external_value:LEVELSET}} Levels]]}}
{{#ifeq:{{#external_value:DESIGNER}}|Unknown|[[Category:Levels by unknown designers]]|{{#arraymap:{{#external_value:DESIGNER}}|,|x|[[Category:Levels designed by x]]}}}}
{{#ifeq:{{#external_value:DESIGNER}}|Unknown|[[Category:Levels by unknown designers]]|{{#arraymap:{{#external_value:DESIGNER}}|,|x|[[Category:Levels designed by x]]|\s}}}}
{{#if:{{#external_value:MS_CASUAL}}|[[Category:Levels with casual difficulty {{#external_value:MS_CASUAL}} (MS)]]}}
{{#if:{{#external_value:MS_CASUAL}}|[[Category:Levels with casual difficulty {{#external_value:MS_CASUAL}} (MS)]]}}
{{#if:{{#external_value:MS_EXEC}}|[[Category:Levels with bold execution difficulty {{#external_value:MS_EXEC}} (MS)]]}}
{{#if:{{#external_value:MS_EXEC}}|[[Category:Levels with bold execution difficulty {{#external_value:MS_EXEC}} (MS)]]}}

Latest revision as of 02:11, 13 March 2024