Line 3: |
Line 3: |
| local NodeInfo = require('Module:NodeInfo') | | local NodeInfo = require('Module:NodeInfo') |
| | | |
− | local title_template_simple_event = [[<div id="${map} ${node} ${diff}" style="width:700px;text-align:center;">${map} ${node}${name}</div> | + | local title_template_simple_event = [[<div id="${map} ${node} ${diff}" style="width:700px;text-align:center;">${map} ${node} ${name}</div> |
| ]] | | ]] |
| | | |
− | local title_template_event = [[<div id="${map} ${node} ${diff}" style="width:700px;text-align:center;">${map} ${node}${name} ([http://db.kcwiki.moe/drop/map/${event_number}${map_number}/${diff_number}/${node}-SAB.html PoiDB])</div> | + | local title_template_event = [[<div id="${map} ${node} ${diff}" style="width:700px;text-align:center;">${map} ${node} ${name} ([http://db.kcwiki.moe/drop/map/${event_number}${map_number}/${diff_number}/${node}-SAB.html PoiDB])</div> |
| ]] | | ]] |
| | | |
− | local title_template_simple = [[<div id="${map} ${node}" style="width:700px;text-align:center;">${map} ${node}${name}</div> | + | local title_template_simple = [[<div id="${map} ${node}" style="width:700px;text-align:center;">${map} ${node} ${name}</div> |
| ]] | | ]] |
| | | |
− | local title_template = [[<div id="${map} ${node}" style="width:700px;text-align:center;">${map} ${node}${name} ([http://db.kcwiki.moe/drop/map/${world_number}${map_number}/${node}-SAB.html PoiDB])</div> | + | local title_template = [[<div id="${map} ${node}" style="width:700px;text-align:center;">${map} ${node} ${name} ([http://db.kcwiki.moe/drop/map/${world_number}${map_number}/${node}-SAB.html PoiDB])</div> |
| ]] | | ]] |
| | | |
Line 72: |
Line 72: |
| local node = args[1] or "?" | | local node = args[1] or "?" |
| local diff = diffs[args.diff] and args.diff | | local diff = diffs[args.diff] and args.diff |
− | local name = args.name and [[: ${args.name}]] or "" | + | local name = args.name or "" |
| | | |
| local map_number = string.match(map:sub(3, 4), "%d") or "?" | | local map_number = string.match(map:sub(3, 4), "%d") or "?" |