Zeroclanzhang的用户贡献

搜索贡献展开折叠
⧼contribs-top⧽
⧼contribs-date⧽
最新 | 最旧) 查看( | )(20 | 50 | 100 | 250 | 500

2024年1月16日 (星期二)

  • 01:512024年1月16日 (二) 01:51 差异 历史 +4,022 模板:TemplateData header/doc创建页面,内容为“{{Documentation subpage}} {{High-use}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Lua|Module:Check for unknown parameters}} The {{tlx|TemplateData header}} template inserts a brief header for the template data section, and adds the page to Category:Templates using TemplateData. == Usage == <pre style="overflow:auto;"> ==TemplateData== {{TemplateData header}} <templatedata>{ ... }</templatedata> Note:…” 当前
  • 01:502024年1月16日 (二) 01:50 差异 历史 +1,164 模板:TemplateData header创建页面,内容为“<div class="templatedata-header">{{#if:{{{noheader|}}}|<!-- noheader: -->{{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}|<!-- +header: -->This is the {{#if:{{{nolink|}}}|<!-- +header, nolink TD -->TemplateData|<!-- +header, +link TD; DEFAULT: -->TemplateData}}<!-- e.o. #if:nolink; DEFAULT: --> for this template used by TemplateWizard, VisualEditor…” 当前
  • 01:442024年1月16日 (二) 01:44 差异 历史 +909 模板:Markup/row创建页面,内容为“<noinclude>{| style="border-width:medium;"</noinclude><includeonly>{{#if:{{{c1|value}}}| {{!-}} {{!}}style{{=}}"background:#f8f9fa ; border:1px solid #eaecf0 ; padding:9px 5px 5px; vertical-align:top;"{{!}} <!-- -->{{#tag:pre |{{{c1|[markup]}}}|style="margin:0;border:none;padding:0; word-wrap:break-word; white-space:-moz-pre-wrap;white-space:-o-pre-wrap;white-space:-pre-wrap;white-space:pre-wrap; {{{c1style|}}}"}} {{!}}style{{=}}"background:#f8f9fa ; bord…” 当前
  • 01:422024年1月16日 (二) 01:42 差异 历史 +716 模块:Documentation/styles.css创建页面,内容为“→‎{{pp|small=yes}}:​ .documentation, .documentation-metadata { border: 1px solid #a2a9b1; background-color: #ecfcf4; clear: both; } .documentation { margin: 1em 0 0 0; padding: 1em; } .documentation-metadata { margin: 0.2em 0; →‎same margin left-right as .documentation:​ font-style: italic; padding: 0.4em 1em; →‎same padding left-right as .documentation:​ } .documentation-startbox { padding-bottom: 3px; border-bottom: 1px solid #aaa; m…” 当前
  • 01:412024年1月16日 (二) 01:41 差异 历史 +195 模块:Documentation/config/doc创建页面,内容为“{{used in system}} {{module rating|protected}} This is the configuration file for Module:Documentation. This file can be edited to allow easy translation/porting of the module to other wikis.” 当前
  • 01:412024年1月16日 (二) 01:41 差异 历史 +17,747 模块: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. -----------------------------------------------------------------------…” 当前
  • 01:402024年1月16日 (二) 01:40 差异 历史 +38,943 模块:Documentation无编辑摘要
  • 01:362024年1月16日 (二) 01:36 差异 历史 −34,982 模块:Documentation无编辑摘要
  • 01:312024年1月16日 (二) 01:31 差异 历史 +36,398 模块:Documentation无编辑摘要
  • 01:192024年1月16日 (二) 01:19 差异 历史 +44 模板:((创建页面,内容为“{{<noinclude> {{documentation}} </noinclude>” 当前
  • 01:182024年1月16日 (二) 01:18 差异 历史 +766 模板:Component/doc创建页面,内容为“{{Documentation subpage}} {{lua|Module:Item}} This template extracts a given component from a given item. == Usage == {{((}}Component|''Item''|''ParameterName''}} ''Note:'' If you need to extract multiple components of a large item, consider using {{tl|Format item}} instead of multiple calls to {{tl|Component}}, because each call to {{tl|Component}} requires unpacking of the entire item, which may be costly. == Examples =…” 当前
  • 01:172024年1月16日 (二) 01:17 差异 历史 +76 模板:Component创建页面,内容为“{{#invoke:Item|component|{{{1}}}|2={{{2}}}}}<noinclude> {{doc}} </noinclude>” 当前
  • 01:152024年1月16日 (二) 01:15 差异 历史 +2,818 模板:Item/doc创建页面,内容为“{{Documentation subpage}} {{lua|Module:Item}} This template packs structured data into a compact item, which can be passed as a parameter to another template. This allows to pass multiple structured items to that template, which can iterate over the items and extract data from them. == Usage == The structured data item contains all parameters (both numbered ones and named ones) passed to the {{tl|Item}} template. For example, <code>{{tlp|Item|Alice|Bob|best{{=…” 当前
  • 01:142024年1月16日 (二) 01:14 差异 历史 +80 模板:Item创建页面,内容为“<includeonly>{{#invoke:Item|pack}}</includeonly><noinclude> {{doc}} </noinclude>” 当前
  • 01:132024年1月16日 (二) 01:13 差异 历史 +213 模块:Item/doc创建页面,内容为“This template implements {{tl|Item}}, {{tl|Component}} and {{tl|Format item}}. <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> }}</includeonly>” 当前
  • 01:122024年1月16日 (二) 01:12 差异 历史 +3,044 模块:Item创建页面,内容为“local p = {} local function escape(str) return str:gsub("[|\\]", function (c) return string.format("\\%03d", c:byte()) end) end local function unescape(str) return str:gsub("\\(%d%d%d)", function (d) return string.char(d) end) end -- Implements Template:Item function p.pack(frame) local parent = frame:getParent() local result = '' for key, value in pairs(parent.args) do result = result .. "|" .. escape(tostring(key)) .. "|" .. escape(value) end…” 当前
  • 01:012024年1月16日 (二) 01:01 差异 历史 +82 模板:Documentation重定向页面至模板:Documentation 当前 标签新重定向
  • 01:012024年1月16日 (二) 01:01 差异 历史 +82 模板:Format item创建页面,内容为“<includeonly>{{#invoke:Item|format}}</includeonly><noinclude> {{doc}} </noinclude>” 当前
  • 00:592024年1月16日 (二) 00:59 差异 历史 +2,867 模块:For loop创建页面,内容为“-- This module implements {{for loop}}. local getArgs = require('Module:Arguments').getArgs local yesno = require('Module:Yesno') local p = {} function p.main(frame) local args = getArgs(frame, { trim = false, removeBlanks = false }) return p._main(args) end function p._main(args) local template = args['call'] or 'void' local calltemplates = yesno(args.substall or "", true) or not mw.isSubsting() local variableParam = args.pv variableParam = tonum…” 当前
  • 00:572024年1月16日 (二) 00:57 差异 历史 +8,985 模板:For loop/doc创建页面,内容为“{{Documentation subpage}} {{high-use|35,000}} <!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{lua|Module:For loop}} This template implements a for loop or a foreach loop. This template calls a user-specified template (the "called template") multiple times: once for each value in either 1) an iterated sequence or 2) an explicit list. Each value in the sequence or list is passed to the sam…” 当前
  • 00:562024年1月16日 (二) 00:56 差异 历史 +179 模板:For loop创建页面,内容为“{{<includeonly>safesubst:</includeonly>#invoke:For loop|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>” 当前
  • 00:552024年1月16日 (二) 00:55 差异 历史 +75 模板:Citation Style documentation/lead创建页面,内容为“This {{cs1}} template is used to create citations for {{{2|}}}.” 当前
  • 00:542024年1月16日 (二) 00:54 差异 历史 +4,456 模块:Check for unknown parameters/doc创建页面,内容为“{{Used in system|in MediaWiki:Abusefilter-warning-DS}} {{Module rating|p}} {{Lua|Module:If preview|noprotcat=yes}} This module may be appended to a template to check for uses of unknown parameters. Unlike many other modules, this module is ''not'' implemented by a template. == Usage == === Basic usage === <syntaxhighlight lang="wikitext"> {{#invoke:Check for unknown parameters|check |unknown=Category:Some tracking category |arg1|arg2|arg3|argN}} </syn…” 当前
  • 00:532024年1月16日 (二) 00:53 差异 历史 +3,312 模块:Check for unknown parameters创建页面,内容为“-- This module may be used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is -- not on the list local p = {} local function trim(s) return s:match('^%s*(.-)%s*$') end local function isnotempty(s) return s and s:match('%S') end local function clean(text) -- Return text cleaned for display and truncated if too long. -- Strip markers are replaced with dummy text representing the origina…” 当前
  • 00:482024年1月16日 (二) 00:48 差异 历史 +1,664 模板:Markup创建页面,内容为“<includeonly>{| style="{{#if:{{{width|}}}|width:{{{width}}};}} margin-top:0;margin-left:{{{margin-left|{{{margin|0}}}}}}; border-width:medium; padding:0; {{{style|}}}" {{#if:{{{title|}}} |{{!}}+ '''{{{title}}}'''}} {{#if:{{{noheaders|}}}{{{notitle|}}} | |! scope="col" style="width:50%;{{{colheaderstyle|}}}{{{col1headerstyle|}}}"{{!}} {{{col1|{{{t1|Markup}}}}}} {{!!}}<!-- -->scope="col" style="width:50%;{{{colheaderstyle|}}}{{{col2headerstyle|}}}"{{!}} {{{…” 当前

2024年1月15日 (星期一)

最新 | 最旧) 查看( | )(20 | 50 | 100 | 250 | 500