Template:Infobox Level: Difference between revisions

m
Add a link to the scores subdomain
(moved designer below level number (felt weird having pack and number separated))
m (Add a link to the scores subdomain)
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| 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_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;"
|+ {{{name|{{PAGENAME}}}}}
|+ {{{name|{{#external_value:NAME}}}}}
|-
|-
| colspan="2"|{{{image|[[Special:Upload|Please add an image!]]}}}
| colspan="2"|{{{image|[[Special:Upload|Please add an image!]]}}}
|-
|-
! width="1%" nowrap="nowrap"|'''[[Level set]]'''
! width="1%" nowrap="nowrap"|'''[[Level set]]'''
| {{#if:{{{levelset|}}}|[[{{{levelset}}}]]|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
| [[{{#external_value:LEVELSET}}]]
|-
|-
! width="1%" nowrap="nowrap"|'''Level number'''
! width="1%" nowrap="nowrap"|'''Level number'''
| {{#if:{{{level|}}}|{{{level}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
| {{#external_value:LEVEL}}
|-
|-
! width="1%" nowrap="nowrap"|'''Designer'''
! width="1%" nowrap="nowrap"|'''Designer'''
| {{#if:{{{designer|}}}|[[{{{designer}}}]]|Unknown}}
| {{#ifeq:{{#external_value:DESIGNER}}|Unknown|{{#external_value:DESIGNER}}|{{#arraymap:{{#external_value:DESIGNER}}|,|x|[[x]]|<br>}}}}
|-
|-
|- {{#if:{{#external_value:PASSWORD}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''[[Password]]'''
! width="1%" nowrap="nowrap"|'''[[Password]]'''
| {{#if:{{{password|}}}|<tt>{{{password}}}</tt>|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
| <tt>{{#external_value:PASSWORD}}</tt>
|-
|-
|- {{#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]]'''
! width="1%" nowrap="nowrap"|'''[[Hint]]'''
| {{#if:{{{hint|}}}|{{{hint|}}}|None}}
| {{{hint}}}
|-
|-
! width="1%" nowrap="nowrap"|'''[[Computer chip|Chip]]s required'''
|- {{#if:{{#external_value:CHIPS_REQ}}||style="display:none;"}}
| {{#if:{{{chips required|}}}|{{{chips required}}}|0}}
! width="1%" nowrap="nowrap"|'''[[Computer chip|Chip]]s'''
| {{#if:{{#external_value:CHIPS_REQ|}}|{{#external_value:CHIPS_REQ}} required / {{#external_value:CHIPS_AVAIL}} available}}
|-
|-
! width="1%" nowrap="nowrap"|'''[[Computer chip|Chip]]s available'''
|- {{#if:{{#external_value:CHIPS_NOTE}}||style="display:none;"}}
| {{#if:{{{chips available|}}}|{{{chips available}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
! width="1%" nowrap="nowrap"|'''Chips notes'''
| {{#external_value:CHIPS_NOTE}}
|-
|-
! width="1%" nowrap="nowrap"|'''[[Time limit]]'''
! width="1%" nowrap="nowrap"|'''[[Time limit]]'''
| {{#if:{{{time|}}}|{{{time|}}}|---}}
| {{#if:{{#external_value:TIME|}}|{{#external_value:TIME}}|---}}
|-
|- {{#if:{{#external_value:MS_BOLD}}||style="display:none;"}}
| colspan = "2" | '''MS''' [https://scores.bitbusters.club/levels/{{{pack}}}/{{{level}}}/ms (Scores)]
|-
|-
| colspan = "2" | '''MS'''
|- {{#if:{{#external_value:MS_MELINDA}}||style="display:none;"}}
|- {{#ifeq:{{#external_value:MS_MELINDA}}|{{#external_value:MS_BOLD}}|style="display:none;"|}}
! width="1%" nowrap="nowrap"|'''[[Melinda time]]'''
| {{#external_value:MS_MELINDA}}
|-
|-
|- {{#if:{{#external_value:MS_BOLD}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''[[Bold time]]'''
! width="1%" nowrap="nowrap"|'''[[Bold time]]'''
| {{#if:{{{bold ms|}}}|
| {{#external_value:MS_BOLD}}
{{#ifeq:{{lc:{{{bold ms}}}}}|no|---|{{{bold ms}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
|- {{#if:{{#external_value:MS_PUBLIC}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''[[Public time]]'''
| {{#external_value:MS_PUBLIC}}
|-
|-
! width="1%" nowrap="nowrap"|'''Difficulty'''
|- {{#if:{{#external_value:MS_CASUAL}}||style="display:none;"}}
| {{#if:{{{difficulty ms|}}}|{{Difficulty|{{{difficulty ms}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
! width="1%" nowrap="nowrap"|'''Casual difficulty'''
| {{Casual difficulty|{{#external_value:MS_CASUAL}}|}}
|-
|-
! width="1%" nowrap="nowrap"|'''Bold difficulty'''
|- {{#if:{{#external_value:MS_EXEC}}||style="display:none;"}}
| {{#if:{{{bold difficulty ms|}}}|{{Bold difficulty|{{{bold difficulty ms}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
! width="1%" nowrap="nowrap"|'''Bold execution <br> difficulty'''
| {{Bold execution difficulty|{{#external_value:MS_EXEC}}|}}
|-
|-
! width="1%" nowrap="nowrap"|'''Bold complexity'''
|- {{#if:{{#external_value:MS_ROUTE}}||style="display:none;"}}
| {{#if:{{{bold complexity ms|}}}|{{Bold complexity|{{{bold complexity ms}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
! width="1%" nowrap="nowrap"|'''Bold routing <br> difficulty'''
| {{Bold routing difficulty|{{#external_value:MS_ROUTE}}|}}
|-
|-
|- {{#if:{{#external_value:MS_ROUTE}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Bold luck <br> difficulty'''
| {{Bold luck|{{#external_value:MS_LUCK}}|}}
|-
|-
| colspan = "2" | '''Lynx'''
|- {{#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.
|-
|-
|-
|- {{#if:{{#external_value:LYNX_BOLD}}||style="display:none;"}}
| colspan = "2" | '''Lynx''' [https://scores.bitbusters.club/levels/{{{pack}}}/{{{level}}}/lynx (Scores)]
|-
|- {{#if:{{#external_value:LYNX_MELINDA}}||style="display:none;"}}
|- {{#ifeq:{{#external_value:LYNX_MELINDA|}}|{{#external_value:LYNX_BOLD}}|style="display:none;"|}}
! width="1%" nowrap="nowrap"|'''Melinda time'''
| {{#external_value:LYNX_MELINDA}}
|-
|- {{#if:{{#external_value:LYNX_BOLD}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Bold time'''
! width="1%" nowrap="nowrap"|'''Bold time'''
| {{#if:{{{bold lynx|}}}|
| {{#external_value:LYNX_BOLD}}
{{#ifeq:{{lc:{{{bold lynx}}}}}|no|---|{{{bold lynx}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
|- {{#if:{{{difficulty lynx|}}} | | style="display:none;" }}
|- {{#if:{{#external_value:LYNX_PUBLIC}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Difficulty'''
! width="1%" nowrap="nowrap"|'''Public time'''
| {{#if:{{{difficulty lynx|}}}|{{Difficulty|{{{difficulty lynx}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
| {{#external_value:LYNX_PUBLIC}}
|- {{#if:{{{bold difficulty lynx|}}} | | style="display:none;" }}
|-
! width="1%" nowrap="nowrap"|'''Bold difficulty'''
|- {{#if:{{#external_value:LYNX_CASUAL}}||style="display:none;"}}
| {{#if:{{{bold difficulty lynx|}}}|{{Bold difficulty|{{{bold difficulty lynx}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
! width="1%" nowrap="nowrap"|'''Casual difficulty'''
|- {{#if:{{{bold complexity lynx|}}} | | style="display:none;" }}
| {{Casual difficulty|{{#external_value:LYNX_CASUAL}}|}}
! width="1%" nowrap="nowrap"|'''Bold complexity'''
|-
| {{#if:{{{bold complexity lynx|}}}|{{Bold complexity|{{{bold complexity lynx}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|- {{#if:{{#external_value:LYNX_EXEC}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Bold execution <br> difficulty'''
| {{Bold execution difficulty|{{#external_value:LYNX_EXEC}}|}}
|-
|- {{#if:{{#external_value:LYNX_ROUTE}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Bold routing <br> difficulty'''
| {{Bold routing difficulty|{{#external_value:LYNX_ROUTE}}|}}
|-
|- {{#if:{{#external_value:LYNX_LUCK}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Bold luck <br> difficulty'''
| {{Bold luck|{{#external_value:LYNX_LUCK}}|}}
|-
|-
|- {{#if:{{#external_value:STEAM_TIME_BOLD}}||style="display:none;"}}
| 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;"}}}}
! width="1%" nowrap="nowrap"|'''[[Bold time]]'''
| {{#external_value:STEAM_TIME_BOLD}}
|-
|- {{#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}}
|-
|- {{#if:{{#external_value:STEAM_TIME_CASUAL}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Casual difficulty'''
| {{Casual difficulty|{{#external_value:STEAM_TIME_CASUAL}}|}}
|-
|- {{#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}}|}}
|-
|- {{#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}}|}}
|-
|- {{#if:{{#external_value:STEAM_TIME_LUCK}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Bold luck <br> difficulty'''
| {{Bold luck|{{#external_value:STEAM_TIME_LUCK}}|}}
|-
|- {{#if:{{#external_value:STEAM_SCORE_BOLD}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Bold score'''
| {{#external_value:STEAM_SCORE_BOLD}}
|-
|- {{#if:{{#external_value:STEAM_SCORE_CASUAL}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Casual difficulty'''
| {{Casual difficulty|{{#external_value:STEAM_SCORE_CASUAL}}|}}
|-
|- {{#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}}|}}
|-
|- {{#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}}|}}
|-
|- {{#if:{{#external_value:STEAM_SCORE_LUCK}}||style="display:none;"}}
! width="1%" nowrap="nowrap"|'''Bold luck <br> difficulty'''
| {{Bold luck|{{#external_value:STEAM_SCORE_LUCK}}|}}
|-
|-
|-
|}
|}{{Mainonly|{{#if:{{{image}}}||[[Category:Needs image]]}}
{{Mainonly|{{#if:{{{image|}}}||[[Category:Needs image]]}}}}
{{#if:{{#external_value:LEVELSET}}|[[Category:{{#external_value:LEVELSET}} Levels]]}}
{{#if:{{{nocat|}}}||{{#if:{{{levelset|}}}|[[Category:{{{levelset|}}} Levels]]}}
{{#ifeq:{{#external_value:DESIGNER}}|Unknown|[[Category:Levels by unknown designers]]|{{#arraymap:{{#external_value:DESIGNER}}|,|x|[[Category:Levels designed by x]]|\s}}}}
{{#if:{{{designer|}}}|[[Category:Levels designed by {{{designer|}}}]]|[[Category:Levels by unknown designers]]}}
{{#if:{{#external_value:MS_CASUAL}}|[[Category:Levels with casual difficulty {{#external_value:MS_CASUAL}} (MS)]]}}
{{#if:{{{difficulty ms|}}}|[[Category:Levels with difficulty {{{difficulty ms}}} (MS)]]|[[Category:Levels with unset difficulty (MS)]]}}
{{#if:{{#external_value:MS_EXEC}}|[[Category:Levels with bold execution difficulty {{#external_value:MS_EXEC}} (MS)]]}}
{{#if:{{{bold difficulty ms|}}}|[[Category:Levels with bold difficulty {{{bold difficulty ms}}} (MS)]]|[[Category:Levels with unset bold difficulty (MS)]]}}
{{#if:{{#external_value:MS_ROUTE}}|[[Category:Levels with bold routing difficulty {{#external_value:MS_ROUTE}} (MS)]]}}
{{#if:{{{bold complexity ms|}}}|[[Category:Levels with bold complexity {{{bold complexity ms}}} (MS)]]|[[Category:Levels with unset bold complexity (MS)]]}}
{{#if:{{#external_value:MS_LUCK}}|{{#ifeq:{{#external_value:MS_LUCK}}|0||[[Category:Levels with luck rating {{#external_value:MS_LUCK}} (MS)]]}}|}}
{{#if:{{{difficulty lynx|}}}|[[Category:Levels with difficulty {{{difficulty lynx}}} (Lynx)]]|[[Category:Levels with unset difficulty (Lynx)]]}}
{{#if:{{#external_value:LYNX_CASUAL}}|[[Category:Levels with casual difficulty {{#external_value:LYNX_CASUAL}} (Lynx)]]}}
{{#if:{{{bold difficulty lynx|}}}|[[Category:Levels with bold difficulty {{{bold difficulty lynx}}} (Lynx)]]|[[Category:Levels with unset bold difficulty (Lynx)]]}}
{{#if:{{#external_value:LYNX_EXEC}}|[[Category:Levels with bold execution difficulty {{#external_value:LYNX_EXEC}} (Lynx)]]}}
{{#if:{{{bold complexity lynx|}}}|[[Category:Levels with bold complexity {{{bold complexity lynx}}} (Lynx)]]|[[Category:Levels with unset bold complexity (Lynx)]]}}}}
{{#if:{{#external_value:LYNX_ROUTE}}|[[Category:Levels with bold routing difficulty {{#external_value:LYNX_ROUTE}} (Lynx)]]}}
</includeonly>
{{#if:{{#external_value:LYNX_LUCK}}|{{#ifeq:{{#external_value:LYNX_LUCK}}|0||[[Category:Levels with luck rating {{#external_value:LYNX_LUCK}} (Lynx)]]}}|}}
<noinclude>[[Category:Infobox templates]]</noinclude>
{{#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>
trusted-editors
115

edits