2023年9月18日 (星期一)
- 21:232023年9月18日 (一) 21:23 差异 历史 +298 新 模板:Wikipedia template/doc 创建页面,内容为“{{Documentation}} This template is used to indicate a template is imported from [https://en.wikipedia.org English Wikipedia]. It should be placed at the top of the template documentation page. <includeonly>{{PAGENAME}}</includeonly><noinclude></noinclude>”
- 21:232023年9月18日 (一) 21:23 差异 历史 +861 新 模板:Wikipedia template 创建页面,内容为“<includeonly><!-- Message box --><div class="mbox mbox-low mbox-wikipediatemplate" role="presentation"><span class="mbox-title"><span class="mbox-icon metadata">14px|link=</span>This template is imported from {{FULLPAGENAME}} on Wikipedia.</span> <div class="mbox-text">This template is imported from the [https://en.wikipedia.org English Wikipedia]. Although the visual appearance might be different, the functionality is i…”
- 21:222023年9月18日 (一) 21:22 差异 历史 0 新 文件:WikimediaUI-Notice.svg 无编辑摘要 当前
- 20:492023年9月18日 (一) 20:49 差异 历史 +261 新 模块:DPLlua/doc 创建页面,内容为“{{Documentation}} '''Module:DPLlua''' uses Template:DPLlua helper to make it possible to include all parameters of a template while maintaining good performance. See [https://runescape.wiki/w/Module:DPLlua Module:DPLlua] on RuneScape Wiki for more details.”
- 20:492023年9月18日 (一) 20:49 差异 历史 +16,313 新 模块:DPLlua 创建页面,内容为“-- <nowiki> local dpl = {} local libraryUtil = require( 'libraryUtil' ) local hasContent = require( 'Module:Paramtest' ).has_content local checkType = libraryUtil.checkType local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg dpl.pipe = '¦' local dataContentMarker = '`#@@#`' local allIncludedParamNames = {} -- Custom function for splitting a string because mw.text.split() is waaay too slow local function split( str, pattern, plain ) local res = {}…”
- 20:482023年9月18日 (一) 20:48 差异 历史 +190 新 模块:Paramtest/doc 创建页面,内容为“{{Documentation}} '''Module:Paramtest''' is a helper module to be used by other modules. See [https://runescape.wiki/w/Module:Paramtest Module:Paramtest] on RuneScape Wiki for more details.”
- 20:482023年9月18日 (一) 20:48 差异 历史 +2,055 新 模块:Paramtest 创建页面,内容为“--[[ {{Helper module |name=Paramtest |fname1 = is_empty(arg) |ftype1 = String |fuse1 = Returns true if arg is not defined or contains only whitespace |fname2 = has_content(arg) |ftype2 = String |fuse2 = Returns true if arg exists and does not only contain whitespace |fname3 = default_to(arg1,arg2) |ftype3 = String, Any value |fuse3 = If arg1 exists and does not only contain whitespace, the function returns arg1, otherwise returns arg2 |fname4 = defaults{ {arg1,…”
- 20:482023年9月18日 (一) 20:48 差异 历史 +788 新 模块:Yesno/doc 创建页面,内容为“{{Documentation}} {{Wikipedia template}} '''Module:Yesno''' provides a consistent interface for processing boolean or boolean-style string input. While Lua allows the <code>true</code> and <code>false</code> boolean values, wikicode templates can only express boolean values through strings such as "yes", "no", etc. This module processes these kinds of strings and turns them into boolean input for Lua to process. It also returns <code>nil</code> values as <code…”
- 20:472023年9月18日 (一) 20:47 差异 历史 +743 新 模块:Yesno 创建页面,内容为“-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- 如果你的维基使用非ASCII字符来表示 "是"、"否 "等等 -- 你应该在下面一行用 "mw.ustring.lower(val) "替换 "val:lower()"。 val = type(val) == 'string' and mw.ustring.lower(val) or val if val == nil then return nil elseif val == true or val == '是' or val == 'yes'…”
- 20:472023年9月18日 (一) 20:47 差异 历史 +175 新 模块:Enum/doc 创建页面,内容为“{{Documentation}} '''Module:Enum''' is a helper module to be used by other modules. See [https://runescape.wiki/w/Module:Enum Module:Enum] on RuneScape Wiki for more details.”
- 20:472023年9月18日 (一) 20:47 差异 历史 +13,916 新 模块:Enum 创建页面,内容为“-- <nowiki> awawa local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local p = {} p.__index = p setmetatable(p, { __call = function(_, enum) return p.new(enum) end }) function p.__tostring(enum) local dumpObject = require('Module:Logger').dumpObject setmetatable(enum, nil) return dumpObject(enum, {clean=true, collapseLimit=100}) end function p.__concat(lhs, rhs) if type…”
- 20:462023年9月18日 (一) 20:46 差异 历史 +120 新 模块:DependencyList/doc 创建页面,内容为“{{Documentation}} '''Module:DependencyList''' generates a list of dependency used by template and module documentation.”
- 20:462023年9月18日 (一) 20:46 差异 历史 +26,088 新 模块:DependencyList 创建页面,内容为“-- <nowiki> local p = {} local libraryUtil = require( 'libraryUtil' ) local enum = require( 'Module:Enum' ) local yn = require( 'Module:Yesno' ) local param = require( 'Module:Paramtest' ) local dpl = require( 'Module:DPLlua' ) local moduleIsUsed = false local COLLAPSE_LIST_LENGTH_THRESHOLD = 5 local MAX_DYNAMIC_REQUIRE_LIST_LENGTH = 30 local dynamicRequireListQueryCache = {} --- Used in case 'require( varName )' is found. Attempts to find a string value store…”
- 20:452023年9月18日 (一) 20:45 差异 历史 +109 新 模块:Documentation/doc 创建页面,内容为“{{Documentation}} '''Module:Documentation''' implements Template:Documentation for templates and modules.”
- 20:442023年9月18日 (一) 20:44 差异 历史 +4,236 新 模块:Documentation 创建页面,内容为“-- <nowiki> local dependencyList = require( 'Module:DependencyList' ) local yn = require( 'Module:Yesno' ) local p = {} function p.doc( frame ) local title = mw.title.getCurrentTitle() local args = frame:getParent().args local page = args[1] or mw.ustring.gsub( title.fullText, '/doc$', '' ) local addDependencyList = yn( args.DependencyList or true ) local ret, cats, ret1, ret2, ret3 local onModule = title.namespace == 828 -- su…”
- 20:442023年9月18日 (一) 20:44 差异 历史 +606 新 模板:T 创建页面,内容为“<includeonly><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{t/piece|{{{2|---}}}}}{{t/piece|{{{3|---}}}}}{{t/piece|{{{4|---}}}}}{{t/piece|{{{5|---}}}}}{{t/piece|{{{6|---}}}}}{{t/piece|{{{7|---}}}}}{{t/piece|{{{8|---}}}}}{{t/piece|{{{9|---}}}}}{{t/piece|{{{10|---}}}}}{{t/piece|{{{11|---}}}}}{{t/piece|{{{12|---}}}}}{{t/piece|{{{13|---}}}}}{{t/piece|{{{14|---}}}}}{{t/piece|{{{15|---}}}}}{{t/piece|{{{16|---}}}}}{{t/piece|{{{17|---}}}}}{{t/piece|{{{18|---}}}}}{{t/p…”
- 20:442023年9月18日 (一) 20:44 差异 历史 +1,232 新 模板:Documentation/doc 创建页面,内容为“<!--此模板还在汉化中--> {{Documentation}} '''documentation'''模板是在template/module文档中转录的。这个模板应该只用在标题中带有"doc"的模板。 ==用法== 将{{t|documentation}}放在文档页面的顶部。 If the page to be documented is a subpage, use {{t|documentation|pagename of page to be documented}} at the top of the documentation page. For example, Template:Foo/bar's documentation page would use {{t|documentation|Te…”
- 20:432023年9月18日 (一) 20:43 差异 历史 +370 新 模板:Documentation 创建页面,内容为“<includeonly>{{#invoke:Documentation|doc}}__NOEDITSECTION__{{#seo: |type = website |description = {{FULLPAGENAME}}是星际公民Wiki中使用的一个模板页面。模板是嵌入到其他页面的页面,以允许展示重复的信息内容。 |site_name = 星际公民 Wiki - 中文区 |locale = {{PAGELANGUAGE}} }}</includeonly><noinclude>{{/doc}}</noinclude>”
- 20:432023年9月18日 (一) 20:43 差异 历史 +2,902 新 模板:Em/doc 创建页面,内容为“{{Documentation}} {{Wikipedia template}} {{t|Em}} is used to put strong emphasis on the text as simple italicizing is purely typographic and is semantically meaningless. == Purpose == This template makes it faster and easier to apply HTML's <code><nowiki><em>...</em></nowiki></code> emphasis markup to text, and more importantly to indicate to human and bot editors they should not use <code><nowiki>''...''</nowiki></code> or <code><nowiki><i>...</i></nowiki></…” 当前
- 20:422023年9月18日 (一) 20:42 差异 历史 +297 新 模板:Em 创建页面,内容为“<em {{#if:{{{role|}}}|role="{{{role}}}"}} {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</em><noinclude> {{/doc}} <!-- Add categories to the /doc subpage, not here! --> </noinclude>” 当前