被永久保护的模块

模組:WikidataIB/nolinks

维基百科,自由的百科全书
< Module:WikidataIB

这是Module:WikidataIB/nolinks当前版本,由Xiplus讨论 | 贡献编辑于2020年1月6日 (一) 23:08 (已保护“模块:WikidataIB/nolinks”:高風險模板:121374引用([编辑=仅管理员](无限期)[移动=仅管理员](无限期)))。这个网址是本页该版本的固定链接。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)
跳到导航 跳到搜索
文档图示 模块文档[创建]
local p ={}

--[[
The values here are the English sitelinks for items that should not be linked.
These 36 are not definitive and may be altered to suit.
--]]
p.items = {
	"Australia",
	"Austria",
	"Belgium",
	"Canada",
	"China",
	"Denmark",
	"England",
	"France",
	"Germany",
	"Greece",
	"Hungary",
	"Iceland",
	"India",
	"Republic of Ireland",
	"Israel",
	"Italy",
	"Jamaica",
	"Japan",
	"Luxembourg",
	"Mexico",
	"Netherlands",
	"New Zealand",
	"Northern Ireland",
	"Norway",
	"Poland",
	"Portugal",
	"Russia",
	"Scotland",
	"South Africa",
	"Spain",
	"Sweden",
	"Switzerland",
	"Turkey",
	"United Kingdom",
	"United States",
	"Wales",
}

--[[
This provides a convenient way to create a test whether an item is on the list.
--]]
p.itemsindex = {}
for i, v in ipairs(p.items) do
	p.itemsindex[v] = true
end

return p