Please create an account or Login! Have fun!
User:JasonDREWlo/InfoBoxWork: Difference between revisions
Jump to navigation
Jump to search
JasonDREWlo (talk | contribs) (Blanking the page) Tag: Blanking |
JasonDREWlo (talk | contribs) (Undo revision 34086 by JasonDREWlo (talk)) Tag: Undo |
||
(69 intermediate revisions by the same user not shown) | |||
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;" | |||
|+ | |||
{{#iferror:{{#external_value:NAME}}||{{#external_value:NAME}}}} | |||
|- | |||
| colspan="2"|{{{image|[[Special:Upload|Please add an image!]]}}} | |||
|- | |||
|- {{#iferror: {{#external_value:LEVELSET}} | style="display: none;" }} | |||
! width="1%" nowrap="nowrap"|'''[[Level set]]''' | |||
| [[{{#external_value:LEVELSET}}]] | |||
|- | |||
|- {{#iferror: {{#external_value:LEVEL}} | style="display: none;" }} | |||
! width="1%" nowrap="nowrap"|'''Level number''' | |||
| {{#external_value:LEVEL}} | |||
|- | |||
|- {{#iferror: {{#external_value:DESIGNER}} | style="display: none;" }} | |||
! width="1%" nowrap="nowrap"|'''Designer''' | |||
| {{#ifeq:{{#external_value:DESIGNER}}|Unknown|{{#external_value:DESIGNER}}|{{#arraymap:{{#external_value:DESIGNER}}|,|x|[[x]]|<br>}}}} | |||
|- | |||
|- {{#iferror: {{#external_value:PASSWORD}} | style="display: none;" }} | |||
! width="1%" nowrap="nowrap"|'''[[Password]]''' | |||
| <tt>{{#external_value:PASSWORD}}</tt> | |||
|- | |||
|- {{#iferror: {{#external_value:PW_NOTE}} | style="display: none;" | {{#if:{{#external_value:PW_NOTE}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Password notes''' | |||
| {{#external_value:PW_NOTE}} | |||
|- | |||
|- {{#if:{{{hint|}}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''[[Hint]]''' | |||
| {{{hint}}} | |||
|- | |||
|- {{#iferror: {{#external_value:CHIPS_REQ}} | style="display: none;" | {{#if:{{#external_value:CHIPS_REQ}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''[[Computer chip|Chip]]s''' | |||
| {{#if:{{#external_value:CHIPS_REQ|}}|{{#external_value:CHIPS_REQ}} required / {{#external_value:CHIPS_AVAIL}} available}} | |||
|- | |||
|- {{#iferror: {{#external_value:CHIPS_NOTE}} | style="display: none;" | {{#if:{{#external_value:CHIPS_NOTE}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Chips notes''' | |||
| {{#external_value:CHIPS_NOTE}} | |||
|- | |||
|- {{#iferror: {{#external_value:TIME}} | style="display: none;" }} | |||
! width="1%" nowrap="nowrap"|'''[[Time limit]]''' | |||
| {{#if:{{#external_value:TIME|}}|{{#external_value:TIME}}|---}} | |||
|- | |||
|- {{#iferror: {{#external_value:MS_BOLD}} | style="display: none;" | {{#if:{{#external_value:MS_BOLD}}||style="display:none;"}} }} | |||
| colspan = "2" | '''MS''' [https://scores.bitbusters.club/levels/{{{pack}}}/{{{level}}}/ms (Scores)] | |||
|- | |||
|- {{#iferror: {{#external_value:MS_MELINDA}} | style="display: none;" | {{#if:{{#external_value:MS_MELINDA}}| {{#ifeq:{{#external_value:MS_MELINDA}}|{{#external_value:MS_BOLD}}|style="display:none;"|}} |style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''[[Melinda time]]''' | |||
| {{#external_value:MS_MELINDA}} | |||
|- | |||
|- {{#iferror: {{#external_value:MS_BOLD}} | style="display: none;" | {{#if:{{#external_value:MS_BOLD}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''[[Bold time]]''' | |||
| {{#external_value:MS_BOLD}} | |||
|- | |||
|- {{#iferror: {{#external_value:MS_PUBLIC}} | style="display: none;" | {{#if:{{#external_value:MS_PUBLIC}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''[[Public time]]''' | |||
| {{#external_value:MS_PUBLIC}} | |||
|- | |||
|- {{#iferror: {{#external_value:MS_CASUAL}} | style="display: none;" | {{#if:{{#external_value:MS_CASUAL}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Casual difficulty''' | |||
| {{Casual difficulty|{{#external_value:MS_CASUAL}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:MS_EXEC}} | style="display: none;" | {{#if:{{#external_value:MS_EXEC}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold execution <br> difficulty''' | |||
| {{Bold execution difficulty|{{#external_value:MS_EXEC}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:MS_ROUTE}} | style="display: none;" | {{#if:{{#external_value:MS_ROUTE}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold routing <br> difficulty''' | |||
| {{Bold routing difficulty|{{#external_value:MS_ROUTE}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:MS_ROUTE}} | style="display: none;" | {{#if:{{#external_value:MS_ROUTE}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold luck <br> difficulty''' | |||
| {{Bold luck|{{#external_value:MS_LUCK}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:MS_MOUSE}} | style="display: none;" | {{#if:{{#external_value:MS_MOUSE}}|{{#ifeq:{{#external_value:MS_MOUSE}}|0|style="display:none;"|}}|style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Mouse Required''' | |||
| Note: This level's bold route requires use of the mouse. | |||
|- | |||
|- | |||
|- {{#iferror: {{#external_value:LYNX_BOLD}} | style="display: none;" | {{#if:{{#external_value:LYNX_BOLD}}||style="display:none;"}} }} | |||
| colspan = "2" | '''Lynx''' [https://scores.bitbusters.club/levels/{{{pack}}}/{{{level}}}/lynx (Scores)] | |||
|- | |||
|- {{#iferror: {{#external_value:LYNX_MELINDA}} | style="display: none;" | {{#if:{{#external_value:LYNX_MELINDA}}| {{#ifeq:{{#external_value:LYNX_MELINDA|}}|{{#external_value:LYNX_BOLD}}|style="display:none;"|}} |style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Melinda time''' | |||
| {{#external_value:LYNX_MELINDA}} | |||
|- | |||
|- {{#iferror: {{#external_value:LYNX_BOLD}} | style="display: none;" | {{#if:{{#external_value:LYNX_BOLD}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold time''' | |||
| {{#external_value:LYNX_BOLD}} | |||
|- | |||
|- {{#iferror: {{#external_value:LYNX_PUBLIC}} | style="display: none;" | {{#if:{{#external_value:LYNX_PUBLIC}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Public time''' | |||
| {{#external_value:LYNX_PUBLIC}} | |||
|- | |||
|- {{#iferror: {{#external_value:LYNX_CASUAL}} | style="display: none;" | {{#if:{{#external_value:LYNX_CASUAL}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Casual difficulty''' | |||
| {{Casual difficulty|{{#external_value:LYNX_CASUAL}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:LYNX_EXEC}} | style="display: none;" | {{#if:{{#external_value:LYNX_EXEC}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold execution <br> difficulty''' | |||
| {{Bold execution difficulty|{{#external_value:LYNX_EXEC}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:LYNX_ROUTE}} | style="display: none;" | {{#if:{{#external_value:LYNX_ROUTE}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold routing <br> difficulty''' | |||
| {{Bold routing difficulty|{{#external_value:LYNX_ROUTE}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:LYNX_LUCK}} | style="display: none;" | {{#if:{{#external_value:LYNX_LUCK}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold luck <br> difficulty''' | |||
| {{Bold luck|{{#external_value:LYNX_LUCK}}|}} | |||
|- | |||
|- | |||
|- {{#iferror: {{#external_value:STEAM_TIME_BOLD}} | style="display: none;" | {{#if:{{#external_value:STEAM_TIME_BOLD}}||style="display:none;"}} }} | |||
| colspan = "2" | '''Steam''' [https://scores.bitbusters.club/levels/{{{pack}}}/{{{level}}}/steam (Scores)] | |||
|- | |||
|- {{#iferror: {{#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;"}}}} }} | |||
! width="1%" nowrap="nowrap"|'''[[Bold time]]''' | |||
| {{#external_value:STEAM_TIME_BOLD}} | |||
|- | |||
|- {{#iferror: {{#external_value:STEAM_TIME_BOLD}} | style="display: none;" | {{#if:{{#external_value:MS_BOLD}}|{{#if:{{#external_value:STEAM_TIME_BOLD}}||style="display:none;"}}|style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold time''' | |||
| {{#external_value:STEAM_TIME_BOLD}} | |||
|- | |||
|- {{#iferror: {{#external_value:STEAM_TIME_CASUAL}} | style="display: none;" | {{#if:{{#external_value:STEAM_TIME_CASUAL}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Casual difficulty''' | |||
| {{Casual difficulty|{{#external_value:STEAM_TIME_CASUAL}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:STEAM_TIME_EXEC}} | style="display: none;" | {{#if:{{#external_value:STEAM_TIME_EXEC}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold execution <br> difficulty''' | |||
| {{Bold execution difficulty|{{#external_value:STEAM_TIME_EXEC}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:STEAM_TIME_ROUTE}} | style="display: none;" | {{#if:{{#external_value:STEAM_TIME_ROUTE}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold routing <br> difficulty''' | |||
| {{Bold routing difficulty|{{#external_value:STEAM_TIME_ROUTE}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:STEAM_TIME_LUCK}} | style="display: none;" | {{#if:{{#external_value:STEAM_TIME_LUCK}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold luck <br> difficulty''' | |||
| {{Bold luck|{{#external_value:STEAM_TIME_LUCK}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:STEAM_SCORE_BOLD}} | style="display: none;" | {{#if:{{#external_value:STEAM_SCORE_BOLD}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold score''' | |||
| {{#external_value:STEAM_SCORE_BOLD}} | |||
|- | |||
|- {{#iferror: {{#external_value:STEAM_SCORE_CASUAL}} | style="display: none;" | {{#if:{{#external_value:STEAM_SCORE_CASUAL}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Casual difficulty''' | |||
| {{Casual difficulty|{{#external_value:STEAM_SCORE_CASUAL}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:STEAM_SCORE_EXEC}} | style="display: none;" | {{#if:{{#external_value:STEAM_SCORE_EXEC}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold execution <br> difficulty''' | |||
| {{Bold execution difficulty|{{#external_value:STEAM_SCORE_EXEC}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:STEAM_SCORE_ROUTE}} | style="display: none;" | {{#if:{{#external_value:STEAM_SCORE_ROUTE}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold routing <br> difficulty''' | |||
| {{Bold routing difficulty|{{#external_value:STEAM_SCORE_ROUTE}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:STEAM_SCORE_LUCK}} | style="display: none;" | {{#if:{{#external_value:STEAM_SCORE_LUCK}}||style="display:none;"}} }} | |||
! width="1%" nowrap="nowrap"|'''Bold luck <br> difficulty''' | |||
| {{Bold luck|{{#external_value:STEAM_SCORE_LUCK}}|}} | |||
|- | |||
|- {{#iferror: {{#external_value:NAME}} ||style="display:none;" }} | |||
| colspan = "2" | '''Unable to get data from API. Please try again later.''' | |||
|- | |||
|- | |||
|}{{Mainonly|{{#if:{{{image}}}||[[Category:Needs image]]}} | |||
{{#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]]|\s}}}} | |||
{{#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_ROUTE}}|[[Category:Levels with bold routing difficulty {{#external_value:MS_ROUTE}} (MS)]]}} | |||
{{#if:{{#external_value:MS_LUCK}}|{{#ifeq:{{#external_value:MS_LUCK}}|0||[[Category:Levels with luck rating {{#external_value:MS_LUCK}} (MS)]]}}|}} | |||
{{#if:{{#external_value:LYNX_CASUAL}}|[[Category:Levels with casual difficulty {{#external_value:LYNX_CASUAL}} (Lynx)]]}} | |||
{{#if:{{#external_value:LYNX_EXEC}}|[[Category:Levels with bold execution difficulty {{#external_value:LYNX_EXEC}} (Lynx)]]}} | |||
{{#if:{{#external_value:LYNX_ROUTE}}|[[Category:Levels with bold routing difficulty {{#external_value:LYNX_ROUTE}} (Lynx)]]}} | |||
{{#if:{{#external_value:LYNX_LUCK}}|{{#ifeq:{{#external_value:LYNX_LUCK}}|0||[[Category:Levels with luck rating {{#external_value:LYNX_LUCK}} (Lynx)]]}}|}} | |||
{{#if:{{#external_value:STEAM_TIME_CASUAL}}|[[Category:Levels with casual difficulty {{#external_value:STEAM_TIME_CASUAL}} (Steam)]]}} | |||
{{#if:{{#external_value:STEAM_TIME_EXEC}}|[[Category:Levels with bold execution difficulty {{#external_value:STEAM_TIME_EXEC}} (Steam)]]}} | |||
{{#if:{{#external_value:STEAM_TIME_ROUTE}}|[[Category:Levels with bold routing difficulty {{#external_value:STEAM_TIME_ROUTE}} (Steam)]]}} | |||
{{#if:{{#external_value:STEAM_TIME_LUCK}}|{{#ifeq:{{#external_value:STEAM_TIME_LUCK}}|0||[[Category:Levels with luck rating {{#external_value:STEAM_TIME_LUCK}} (Steam)]]}}|}} | |||
{{#if:{{#external_value:STEAM_SCORE_CASUAL}}|[[Category:Levels with casual difficulty {{#external_value:STEAM_SCORE_CASUAL}} (Steam score)]]}} | |||
{{#if:{{#external_value:STEAM_SCORE_EXEC}}|[[Category:Levels with bold execution difficulty {{#external_value:STEAM_SCORE_EXEC}} (Steam score)]]}} | |||
{{#if:{{#external_value:STEAM_SCORE_ROUTE}}|[[Category:Levels with bold routing difficulty {{#external_value:STEAM_SCORE_ROUTE}} (Steam score)]]}} | |||
{{#if:{{#external_value:STEAM_SCORE_LUCK}}|{{#ifeq:{{#external_value:STEAM_SCORE_LUCK}}|0||[[Category:Levels with bold luck rating {{#external_value:STEAM_SCORE_LUCK}} (Steam Score)]]}}|}}}}</includeonly><noinclude>[[Category:Infobox templates]]</noinclude> |