模組:TV ratings/data
![文档图示](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
您可能想要创建本Scribunto模块的文档。 编者可以在本模块的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模块的子页面。 |
local seasons = {
{ 'S1', 'S1' },
{ 'S2', 'S2' },
{ 'S3', 'S3' },
{ 'S4', 'S4' },
{ 'S5', 'S5' },
}
local function setupSortkeys(t)
local retval = {}
for k, v in ipairs(t) do
retval[v[2]] = { name = v[1], sortkey = k }
end
return retval
end
return {
i18n = {
wrapper = 'Template:TV ratings',
emptyCategory = '[[Category:Empty templates on articles]]',
multiseasonCategory = '[[Category:Articles using TV ratings template with multiple seasons]]',
aggregateScore = 'Aggregate score',
aggregateScores = 'Aggregate scores',
aggregator = 'Aggregator',
na = 'N/A',
publication = 'Publication',
reception = 'Reception',
reviewScore = 'Review score',
reviewScores = 'Review scores',
score = 'Score',
},
argi18n = {
-- For non-English wikis, add translations of argument keys here.
-- Example:
-- subtitle = 'untertitel'
}
}