模組:Citation/CS1/Configuration/doc

出自有獸檔案館

此頁面為 Module:Citation/CS1/Configuration 的說明文件


此配置文件含有控制Module:Citation/CS1功能的各種數據,並影響基於Lua的引文如何生成。

包含如下幾個部分:

  1. 翻譯表包含大多數基於Lua的引用中可能包含的文字字符串。如果將此模塊複製到另一個非英語的Wiki,應將每個值轉換為所用語言。
  2. 錯誤條件列表,指定要顯示的文本,要包括的分類(如有)以及檢測到錯誤時應作參考的幫助頁面章節
  3. 一列ID(標識符)處理程序,用於指定識別到的文檔ID(諸如ISBN、DOI等)及如何設置它們的格式。


如下文件涉及對CS1與CS2引用模板的支持:

CS2模塊
線上 沙盒 描述
Gold padlock Module:Citation/CS1 Module:Citation/CS1/sandbox 編輯 渲染及支持功能
Module:Citation/CS1/Configuration Module:Citation/CS1/Configuration/sandbox 編輯 翻譯表;錯誤和標識符處理
Module:Citation/CS1/Whitelist Module:Citation/CS1/Whitelist/sandbox 編輯 現行與已過時不推薦使用的CS1與CS2參數
Module:Citation/CS1/Date validation Module:Citation/CS1/Date validation/sandbox 編輯 日期格式驗證函數
Module:Citation/CS1/Identifiers Module:Citation/CS1/Identifiers/sandbox 編輯 支持命名標識符(ISBN、DOI、PMID等)的函數
Module:Citation/CS1/Utilities Module:Citation/CS1/Utilities/sandbox 編輯 常用函數及表
Module:Citation/CS1/COinS Module:Citation/CS1/COinS/sandbox 編輯 支持CS1與CS2模板元數據渲染的函數
Module:Citation/CS1/styles.css Module:Citation/CS1/sandbox/styles.css 編輯 為CS1與CS2模板提供CSS樣式
Silver padlock Module:Citation/CS1/Suggestions Module:Citation/CS1/Suggestions/sandbox 編輯 將常見錯誤參數名映射到有效參數名的列表