Line 4: |
Line 4: |
| local Formatting = require('Module:Formatting') | | local Formatting = require('Module:Formatting') |
| | | |
− | -- http://kancolle.wikia.com/wiki/Thread:295964 | + | -- * Rarity definitions. |
| + | -- sync with http://kancolle.wikia.com/wiki/Template:DropList/doc |
| + | |
| local rare_ships = { | | local rare_ships = { |
− | 'Akitsushima', 'Akizuki', 'Amagi', 'Isokaze', 'Katsuragi', 'Littorio', 'Prinz Eugen', 'Roma', 'Tokitsukaze', | + | 'Agano', 'Akashi', 'Akitsu Maru', 'Akitsushima', 'Akizuki', 'Amagi', 'Amatsukaze', 'Arashi', 'Asagumo', 'Asashimo', |
− | 'Akitsu Maru', 'Bismarck', 'Musashi', 'Noshiro', 'Yamato', 'Taihou',
| + | 'Bismarck', 'Graf Zeppelin', 'Hagikaze', 'Harusame', 'Hatsukaze', 'Hatsuzuki', 'Hayashimo', 'Hayasui', 'I-401', 'Isokaze', |
− | 'Agano', 'Akashi', 'Amatsukaze', 'Asagumo', 'Asashimo', 'Harusame', 'Hatsukaze', 'Hayashimo', 'I-401', 'Kiyoshimo', 'Maruyu',
| + | 'Kashima', 'Katsuragi', 'Kawakaze', 'Kazagumo', 'Kiyoshimo', 'Libeccio', 'Littorio', 'Maikaze', 'Maruyu', 'Mikuma', |
− | 'Mikuma', 'Nowaki', 'Ooyodo', 'Sakawa', 'Taigei', 'Takanami', 'U-511', 'Unryuu', 'Uzuki', 'Yahagi',
| + | 'Mizuho', 'Musashi', 'Noshiro', 'Nowaki', 'Okinami', 'Ooyodo', 'Prinz Eugen', 'Roma', 'Sakawa', 'Taigei', |
− | 'Z1', 'Z3', 'Tanikaze', 'Maikaze',
| + | 'Taihou', 'Takanami', 'Tanikaze', 'Teruzuki', 'Tokitsukaze', 'U-511', 'Umikaze', 'Unryuu', 'Uzuki', 'Yahagi', |
− | 'Libeccio', 'Mizuho', 'Kazagumo', 'Umikaze', 'Kawakaze', 'Hayasui', 'Teruzuki', 'Graf Zeppelin', 'Arashi', 'Kashima', 'Hagikaze', | + | 'Yamato', 'Z1', 'Z3', 'Zara', |
− | 'Okinami', 'Hatsuzuki', 'Zara',
| |
| } | | } |
| | | |
| local ignored_ships = { | | local ignored_ships = { |
− | 'Mutsuki', 'Kisaragi', 'Satsuki', 'Fumizuki', 'Nagatsuki', 'Kikuzuki', 'Mikazuki', 'Mochizuki', | + | 'Akatsuki', 'Akebono', 'Aoba', 'Arare', 'Arashio', 'Asashio', 'Ashigara', 'Ayanami', 'Chitose', 'Chiyoda', |
− | 'Fubuki', 'Shirayuki', 'Hatsuyuki', 'Miyuki', 'Murakumo', 'Isonami',
| + | 'Choukai', 'Fubuki', 'Fumizuki', 'Furutaka', 'Haguro', 'Hatsuharu', 'Hatsushimo', 'Hatsuyuki', 'Hibiki', 'Houshou', |
− | 'Ayanami', 'Shikinami', 'Akebono', 'Sazanami', 'Ushio',
| + | 'Ikazuchi', 'Inazuma', 'Isonami', 'Isuzu', 'Jintsuu', 'Kagerou', 'Kako', 'Kasumi', 'Kikuzuki', 'Kisaragi', |
− | 'Akatsuki', 'Hibiki', 'Ikazuchi', 'Inazuma',
| + | 'Kuma', 'Kuroshio', 'Maya', 'Michishio', 'Mikazuki', 'Miyuki', 'Mochizuki', 'Murakumo', 'Murasame', 'Mutsuki', |
− | 'Hatsuharu', 'Nenohi', 'Wakaba', 'Hatsushimo',
| + | 'Myoukou', 'Nachi', 'Nagara', 'Nagatsuki', 'Naka', 'Natori', 'Nenohi', 'Oboro', 'Ooshio', 'Ryuujou', |
− | 'Shiratsuyu', 'Shigure', 'Murasame', 'Yuudachi',
| + | 'Samidare', 'Satsuki', 'Sazanami', 'Shigure', 'Shikinami', 'Shiranui', 'Shiratsuyu', 'Shirayuki', 'Suzukaze', 'Tama', |
− | 'Samidare', 'Suzukaze', | + | 'Tatsuta', 'Tenryuu', 'Ushio', 'Wakaba', 'Yura', 'Yuudachi', |
− | 'Asashio', 'Ooshio', 'Michishio', 'Arashio',
| |
− | 'Arare',
| |
− | 'Kagerou', 'Shiranui', 'Kuroshio',
| |
− | 'Kasumi', 'Oboro', | |
− | 'Tenryuu', 'Tatsuta', 'Kuma', 'Tama', 'Nagara', 'Natori', 'Yura', 'Naka', 'Isuzu', 'Jintsuu',
| |
− | 'Furutaka', 'Kako', 'Aoba', 'Choukai', 'Maya',
| |
− | 'Myoukou', 'Nachi', 'Ashigara', 'Haguro',
| |
− | 'Chitose', 'Chiyoda',
| |
− | 'Houshou', 'Ryuujou'
| |
| } | | } |
| + | |
| + | -- * Definitions for parser/formatter. |
| | | |
| local args_grammar = { | | local args_grammar = { |
Line 61: |
Line 55: |
| ['?'] = '?' | | ['?'] = '?' |
| } | | } |
| + | |
| + | -- * parser/formatter. |
| | | |
| function find(tbl, v_, k_) | | function find(tbl, v_, k_) |