今天是2025年5月16日 第20周 星期五
代人,时大变了。
我们生活在大地上,但我们的梦想超越天空。
查看“模块:Redirect template”的源代码
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您可以查看和复制此页面的源代码。
require('Module:No globals')
local p = {}
-- key is beginning of arg name. value is table with namespace number and link
-- alternatively, a function taking the namespace number and returning a validity
-- can be used
local namespaceCategories = {
all = { function() return true end },
main = { 0, '[[Wikipedia:条目|条目]]' },
help = { 12, '[[wp:帮助页面|帮助]]' },
portal = { 100, '[[wp:主题|主题]]' },
talk = { function(n) return n > 0 and n%2 == 1 end, '[[Help:使用讨论页|讨论]]' },
template = { 10, '[[wp:模板空间|模板]]' },
wikipedia = { 4, '[[wp:名字空间#计划名字空间|维基百科計畫頁面]]' },
category = { 14, '[[wp:分类|分类]]' },
user = { 2, '[[wp:用户页|-{zh-cn:用户;zh-tw:使用者;}-]]' },
}
-- Don't convert blank category to nil
local function valueFunc(key, val)
000
1:0
该页面使用的模板: