Thành viên:Lauqerm

Từ Touhou Wiki - Việt Nam
Phiên bản vào lúc 10:41, ngày 6 tháng 9 năm 2018 của Lauqerm (thảo luận | đóng góp)
Bước tới điều hướng Bước tới tìm kiếm
Tên tiếng Nhật
Tên tiếng Anh
Tên tiếng Việt
Xuất hiện trong
寒符「リンガリングコールド」
Cold Sign "Lingering Cold"
vie_here
St. 1:
冬符「フラワーウィザラウェイ」
Winter Sign "Flower Wither Away"
vie_here
St. 1:
白符「アンデュレイションレイ」
White Sign "Undulation Ray"
vie_here
St. 1:
怪符「テーブルターニング」
Mystic Sign "Table-Turning"
vie_here
St. 1:
寒符「コールドスナップ」
Cold Sign "Cold Snap"
vie_here
St.
冬符「ノーザンウイナー」
Winter Sign "Northern Winner"
vie_here
St.

let row = $('#Spell_Cards').parent().next().find('table.wikitable.sortable.jquery-tablesorter tr').slice(2); let content = '{{sc card\n|'; const regex = /([^ ]*$)/gm; for(let i = 0; i < row.length; i++){ let result = ''; let cell = row.eq(i).find('td'); let cell0 = cell.eq(0); result += '{{sc| jap = ' + cell0.html().replace('\n', ''); let cell1 = cell.eq(1); result += '| eng = ' + cell1.html().replace('\n', '') + '| vie = vie_here| app = '; let cell3 = cell.eq(3).html().split('<br>'); let cell4 = cell.eq(4).html().split('<br>'); for(let j = 0; j < cell3.length; j++){ cell3[j] = cell3[j].replace(/<a [^<>]*>/gm, '').replace(/<\/a>/gm, '').replace('\n', ''); cell4[j] = cell4[j].replace(/<a [^<>]*>/gm, '').replace(/<\/a>/gm, '').replace('\n', '').replace('St. ', 'Màn ').replace(':', ''); let temp = cell4[j]; let m; result += '{{scap| app = [[' + cell3[j] + ']]| stage = ' + cell4[j].replace(regex, ''); while((m = regex.exec(temp)) !== null){ if (m.index === regex.lastIndex) { regex.lastIndex++; } if(m[0].length === 0) continue; console.log(m); m = m[0].split('/'); for(let k = 0; k < m.length; k++){ switch(m[k]){ case 'E' : result += '|E = s'; break; case 'N' : result += '|N = s'; break; case 'H' : result += '|H = s'; break; case 'L' : result += '|L = s'; break; case 'Ex' : result += '|Ex = m'; break; case 'Ph' : result += '|Ph = m'; break; case 'Ov' : result += '|Ov = m'; break; case 'Lw' : result += '|Lw = m'; break; } } } result += '}}'; } result += '}}\n'; content += result; } content += '}}'; console.log(content);




Tên tiếng Nhật
Tên tiếng Anh
Tên tiếng Việt
Xuất hiện trong
b
c
a
Màn 3
b
c
a
Màn 3
b
c
a
Màn 3


xf
xe