跳至內容
Reko Wiki
通知
user-interface-preferences
個人工具
建立帳號
登入
搜尋
開啟主選單
4792
篇文章
Reko Wiki
導覽
首頁
隨機頁面
MediaWiki說明
可用模板
使用須知
暗色模式
常用分類
成句
動畫
漫畫
遊戲
角色
聲優
TCG
所有頁面
所有頁面
現時條目數:
4792
近期變更
所有變更
最近20則變更
2025年4月1日
豊川祥子
若葉睦
都市傳說
女神異聞錄:夜幕魅影
BanG Dream!
俠盜獵車手/登場人物列表(聖安地列斯)
陰影人
機動戰士鋼彈系列/遊戲列表/VS系列
董卓
ナンバーワン戦隊ゴジュウジャー
偶像大師 Xenoglossia
學園偶像大師
周防尊
魔物獵人登場魔物一覽 PART2
機動戰士鋼彈系列/遊戲列表
岡崎朋也
使用者:立花未來/沙盒
LoveLive! 虹咲學園學園偶像同好會
2025年3月31日
傳功長老
替身 (JOJO)
Sidebar
外部連結
Facebook專頁
Camiko
檢視 模組:Pagetype/config 的原始碼
出自Reko Wiki
←
模組:Pagetype/config
命名空間
模組
討論
視圖
閱讀
檢視原始碼
檢視歷史
更多
工具
連結至此的頁面
相關變更
特殊頁面
頁面資訊
變體
由於以下原因,您無權編輯此頁面:
您請求的操作只有這個群組的使用者能使用:
使用者
在編輯此頁之前您必須確認您的電子郵件地址。 請透過
偏好設定
設定並驗證您的電子郵件地址。
您可以檢視並複製此頁面的原始碼。
-------------------------------------------------------------------------------- -- Module:Pagetype configuration data -- -- This page holds localisation and configuration data for Module:Pagetype. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. -------------------------------------------------------------------------------- -- Start configuration data -- -------------------------------------------------------------------------------- -- This table holds the values to use for "main=true", "user=true", etc. Keys to -- this table should be namespace parameters that can be used with -- [[Module:Namespace detect]]. cfg.pagetypes = { ['main'] = '條目', ['user'] = '用戶頁', ['project'] = '維基百科', ['wikipedia'] = '維基百科', ['wp'] = '維基百科', ['file'] = '檔案', ['image'] = '檔案', ['mediawiki'] = 'MediaWiki', ['template'] = '模板', ['help'] = '幫助', ['category'] = '分類', ['portal'] = '主題', ['wikiproject'] = '維基專題', ['wpj'] = '維基專題', ['pj'] = '維基專題', ['book'] = '圖書', ['draft'] = '草稿', ['education program'] = '教育課程', ['timedtext'] = '字幕', ['module'] = '模組', ['topic'] = '話題', ['talk'] = '討論頁', ['special'] = '特殊頁面', ['media'] = '檔案' } -- This table holds the names of the namespaces to be looked up from -- cfg.pagetypes by default. cfg.defaultNamespaces = { 'main', 'file', 'template', 'category', 'module', 'book' } -- This table holds the names of the namespaces to be looked up from -- cfg.pagetypes if cfg.defaultnsExtended is set. cfg.extendedNamespaces = { 'main', 'user', 'project', 'file', 'mediawiki', 'template', 'category', 'help', 'portal', 'wikiproject', 'module', 'book', 'draft' } -- The parameter name to set which default namespace values to be looked up from -- cfg.pagetypes. cfg.defaultns = 'defaultns' -- The value of cfg.defaultns to set all namespaces, including talk. cfg.defaultnsAll = 'all' -- The value of cfg.defaultns to set the namespaces listed in -- cfg.extendedNamespaces cfg.defaultnsExtended = 'extended' -- The value of cfg.defaultns to set no default namespaces. cfg.defaultnsNone = 'none' -- The parameter name to use for disambiguation pages page. cfg.dab = 'dab' -- This table holds the different possible aliases for disambiguation-class -- pages. These should be lower-case. cfg.dabAliases = { 'disambiguation', 'disambig', 'disamb', 'dab', '消歧義' } -- The default value for disambiguation pages. cfg.dabDefault = '頁面' -- The parameter name to use for N/A-class page. cfg.na = 'na' -- This table holds the different possible aliases for N/A-class pages. These -- should be lower-case. cfg.naAliases = {'na', 'n/a','非條目'} -- The default value for N/A-class pages. cfg.naDefault = '頁面' -- The parameter name to use for redirects. cfg.redirect = 'redirect' -- The default value to use for redirects. cfg.redirectDefault = '重定向' -- The parameter name for undefined namespaces. cfg.other = 'other' -- The value used if the module detects an undefined namespace. cfg.otherDefault = '頁面' -------------------------------------------------------------------------------- -- End configuration data -- -------------------------------------------------------------------------------- return cfg -- Don't edit this line
除錯主控台
* 該模組的匯出資訊可透過變數 "p" 來取得,包含尚未儲存的修改。 * 在行的前面加上 "=" 可將該行作為運算式來評估執行,或使用 print()。表格請使用 mw.logObject()。 * 在模組程式碼中使用 mw.log() 與 mw.logObject() 以傳送訊息至主控台。
此頁面使用了以下模板:
模組:Pagetype/config/doc
(
檢視原始碼
)
返回到「
模組:Pagetype/config
」。