DarkMatterMan4500的使用者貢獻
出自SlimeLab Wiki
2022年5月20日 (星期五)
- 19:362022年5月20日 (五) 19:36 差異 歷史 +6,141 新 模組:Message box/configuration 建立內容為「-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class…」的新頁面 目前
- 19:362022年5月20日 (五) 19:36 差異 歷史 +18,662 新 模組:Documentation/config 建立內容為「---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. --------------------------------------------------------------------…」的新頁面 目前
- 19:352022年5月20日 (五) 19:35 差異 歷史 +745 新 模組:Yesno 建立內容為「-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses non-ascii characters for any of "yes", "no", etc., you -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes' or val == '…」的新頁面 目前
- 19:342022年5月20日 (五) 19:34 差異 歷史 +307 新 模組:No globals 建立內容為「local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then error('Tried to read nil global ' .. tostring(k), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error('Tried to write global ' .. tostring(k), 2) end rawset(t, k, v) end setmetatable(_G, mt)」的新頁面 目前
- 19:332022年5月20日 (五) 19:33 差異 歷史 +18,026 新 模組:Message box 建立內容為「-- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}. -- Load necessary modules. require('Module:No globals') local getArgs local yesno = require('Module:Yesno') local templatestyles = 'Module:Message box/styles.css' -- Get a language object for formatDate and ucfirst. local lang = mw.language.getContentLanguage() -- Define constants local CONFIG_MODULE = '…」的新頁面 目前
- 19:322022年5月20日 (五) 19:32 差異 歷史 +10,054 新 模組:Arguments 建立內容為「-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val)…」的新頁面 目前
- 19:312022年5月20日 (五) 19:31 差異 歷史 +36,778 新 模組:Documentation 建立內容為「-- This module implements {{documentation}}. -- Get required modules. local getArgs = require('Module:Arguments').getArgs local messageBox = require('Module:Message box') -- Get the config table. local cfg = mw.loadData('Module:Documentation/config') local p = {} -- Often-used functions. local ugsub = mw.ustring.gsub ---------------------------------------------------------------------------- -- Helper functions -- -- These are defined as local function…」的新頁面 目前
- 19:312022年5月20日 (五) 19:31 差異 歷史 +128 新 模板:Documentation 建立內容為「{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude>Category:Templates</noinclude>」的新頁面 目前
- 19:292022年5月20日 (五) 19:29 差異 歷史 +30 小 使用者討論:DarkMatterMan4500 →Hello. 目前
- 19:292022年5月20日 (五) 19:29 差異 歷史 +369 新 模板:Unsigned 建立內容為「<small><span class="autosigned">— Preceding unsigned comment added by [[User:{{{1|Example}}}|{{{1|Example}}}]] ([[User talk:{{{1|Example}}}|{{int:Talkpagelinktext}}]] • [[Special:Contributions/{{{1|Example}}}|{{int:Contribslink}}]]) {{{2|}}}</span></small><noinclude>{{documentation}}Category:Inline talk templates</noinclude>」的新頁面 目前
2021年1月16日 (星期六)
- 21:562021年1月16日 (六) 21:56 差異 歷史 +20 新 使用者討論:DarkMatterMan4500 →Hello.: 新章節