Please create an account or Login! Have fun!

User:JasonDREWlo/InfoBoxWork: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#get_web_data:url=https://api.bitbusters.club/wiki/level_listing.php?pack={{{pack}}}&level={{{level}}}|suppress error|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}}}
  |suppress error
  |format=json
  |data=
    DATA_VALID={{#ifexpr: data==null | false | true }}
    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}}
 
{{#iferror
{| class="wikitable infobox plainlinks" style="width: 30%; align: right; text-align: center;"
|+ {{{name|{{#external_value:NAME}}}}}
|+ {{{name|{{#external_value:NAME}}}}}
|-
|-
Line 7: Line 54:
| [[{{#external_value:LEVELSET}}]]
| [[{{#external_value:LEVELSET}}]]
|-
|-
! width="1%" nowrap="nowrap"|'''[[Is the data valid?]]'''
| [[{{#external_value:DATA_VALID}}]]
|-
! width="1%" nowrap="nowrap"|'''Level number'''
! width="1%" nowrap="nowrap"|'''Level number'''
| {{#external_value:LEVEL}}
| {{#external_value:LEVEL}}

Revision as of 18:21, 13 August 2021