Lhscogs​(留言 | 贡献)
无编辑摘要
Lhscogs​(留言 | 贡献)
无编辑摘要
第499行: 第499行:
end
end
-- See function description
local base_templatestyles = frame:extensionTag{
local base_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = 'Module:Infobox/styles.css' }
name = 'templatestyles', args = { src = 'Module:Infobox/styles.css' }
}
-- ✅ 添加:手动加载 Infobox country 样式表
local country_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = 'Template:Infobox country/styles.css' }
}
}


第526行: 第530行:
return table.concat({
return table.concat({
-- hlist -> plainlist -> base is best-effort to preserve old Common.css ordering.
-- this ordering is not a guarantee because the rows of interest invoking
-- each class may not be on a specific page
hlist_templatestyles,
hlist_templatestyles,
plainlist_templatestyles,
plainlist_templatestyles,
base_templatestyles,
base_templatestyles,
country_templatestyles, -- ✅ 现在样式会加载了!
templatestyles,
templatestyles,
child_templatestyles,
child_templatestyles,