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日 (星期一)
- 23:512024年1月15日 (一) 23:51 差异 历史 +16,497 新 模板:Blockquote/doc 创建页面,内容为“{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>Wikipedia:Wikidata<nowiki>]]) --> {{Lua|Module:Check for unknown parameters}} {{Template shortcut|bq|"|Quote|Bquote}} {{Uses TemplateStyles|Template:{{BASEPAGENAME}}/styles.css}} {{For|linking a subject to a collection of quotes on Wikiquote|Template:Wikiquote}} {{High-risk|120,000+}} {{ {{BASEPAGENAME}}/doc/boile…” 当前
- 23:512024年1月15日 (一) 23:51 差异 历史 +258 新 模板:Blockquote/styles.css 创建页面,内容为“→{{pp-template}}: .templatequote { overflow: hidden; margin: 1em 0; padding: 0 40px; } .templatequote .templatequotecite { line-height: 1.5em; →@noflip: text-align: left; →@noflip: padding-left: 1.6em; margin-top: 0; }” 当前
- 23:492024年1月15日 (一) 23:49 差异 历史 +1,647 新 模板:Blockquote 创建页面,内容为“<templatestyles src="Template:Blockquote/styles.css" /><!-- --><blockquote class="templatequote {{{class|}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}{{main other|Category:Pages incorrectly using the quote template}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}{{#if…” 当前
- 23:412024年1月15日 (一) 23:41 差异 历史 +33 新 模板:Blockquote 重定向页面至模板:Blockquote 当前 标签:新重定向
- 23:382024年1月15日 (一) 23:38 差异 历史 +48 新 模板:Citation Style documentation/opt 创建页面,内容为“{{quotation|1=Options for this field: {{{1|}}}}}” 当前
- 23:372024年1月15日 (一) 23:37 差异 历史 +174 新 模板:Citation Style documentation/edit 创建页面,内容为“<span class="noprint plainlinks">[[{{fullurl:Template:Citation Style documentation/{{{1|}}}|action=edit}} edit subtemplate]]</span> {{Citation Style documentation/{{{1}}}}}” 当前
- 23:352024年1月15日 (一) 23:35 差异 历史 0 新 文件:Information icon4 yellow.svg 透過簡易批量上傳來上傳 当前
- 23:352024年1月15日 (一) 23:35 差异 历史 0 新 文件:Information icon4.svg 透過簡易批量上傳來上傳 当前
- 23:352024年1月15日 (一) 23:35 差异 历史 0 新 文件:Information icon4 orange.svg 透過簡易批量上傳來上傳 当前
- 19:402024年1月15日 (一) 19:40 差异 历史 −74 模板:Citation Style 1 无编辑摘要
- 19:302024年1月15日 (一) 19:30 差异 历史 +2,271 新 模板:Citation Style documentation/cs1 创建页面,内容为“{{Infobox |bodystyle = |name = Citation Style documentation/cs1 |title = {{cs1}} templates |titlestyle = |headerstyle = |labelstyle = width:50%; font-size:85% |label10 = {{tl|Cite arXiv}} |data10 = arXiv preprints |label20 = {{tl|Cite AV media}} |data20 = audio and visual media |label30 = {{tl|Cite AV media notes}} |data30 = AV media liner notes |label40 = {{tl|Cite bioRxiv}} |data40 = bioRxiv preprints |label50 = {{tl|Cit…” 当前
- 19:302024年1月15日 (一) 19:30 差异 历史 0 新 文件:Edit-copy.svg 透過簡易批量上傳來上傳 当前
- 19:302024年1月15日 (一) 19:30 差异 历史 0 新 文件:Edit-copy purple.svg 透過簡易批量上傳來上傳 当前
- 19:302024年1月15日 (一) 19:30 差异 历史 0 新 文件:Edit-copy green.svg 透過簡易批量上傳來上傳 当前
- 19:302024年1月15日 (一) 19:30 差异 历史 0 新 文件:Edit-copy purple-Wikibooks.svg 透過簡易批量上傳來上傳 当前
- 19:302024年1月15日 (一) 19:30 差异 历史 0 新 文件:Edit-copy purple-wikit.svg 透過簡易批量上傳來上傳 当前
- 18:472024年1月15日 (一) 18:47 差异 历史 +61 新 模板:Citation Style documentation/lua 创建页面,内容为“{{lua|Module:Citation/CS1<noinclude>|nocat=true</noinclude>}}” 当前
- 18:462024年1月15日 (一) 18:46 差异 历史 +14,876 新 模块:Template wrapper/doc 创建页面,内容为“<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{high-use}} This module is to be used in wrapper templates to allow those templates to provide default parameter values and allow editors to pass additional parameters to the underlying working template. When writing a wrapper template, give this module all of the normally required default parame…” 当前
- 18:452024年1月15日 (一) 18:45 差异 历史 +12,769 新 模块:Template wrapper 创建页面,内容为“require('strict'); local error_msg = '<span style=\"font-size:100%\" class=\"error\"><code style=\"color:inherit; border:inherit; padding:inherit;\">|_template=</code> missing or empty</span>'; --[[--------------------------< I S _ I N _ T A B L E >-------------------------------------------------------- scan through tbl looking for value; return true if found, false else ]] local function is_in_table (tbl, value) for k, v in pairs (tbl) do…” 当前
- 18:432024年1月15日 (一) 18:43 差异 历史 +1,016 新 模板:Notice 创建页面,内容为“{{Mbox | name = Notice | demospace = {{{demospace|}}} | style = {{#if:{{{style|}}} |{{{style}}} }} | subst = <includeonly>{{subst:substcheck}}</includeonly> | type = notice | image = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice|alt={{{imagealt|}}}]]}} | small = {{{small|}}} | smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice|alt={{{imagealt|}}}]]}} | imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#…” 当前
- 18:432024年1月15日 (一) 18:43 差异 历史 +32,208 新 模板:Citation Style documentation/doc 创建页面,内容为“{{Documentation subpage}} {{template shortcut|csdoc}} {{notice|When updating this template keep in mind that it is used on a number of template documentation pages. If the parameters in question are unique to a template, then either add it manually to the template documentation or create a new section here for transclusion.}} ==Usage== This template is used to build consistent documentation pages for {{cs1}} templates. : For example: {{tlx|Citation Style docu…” 当前
- 18:422024年1月15日 (一) 18:42 差异 历史 +174 新 模板:Citation Style documentation 创建页面,内容为“<includeonly>{{#invoke:Template wrapper|wrap|_template=Citation Style documentation/{{{1|}}}|_include-positional=yes}}</includeonly><noinclude> {{documentation}} </noinclude>” 当前
- 18:422024年1月15日 (一) 18:42 差异 历史 +51 新 模板:Citation Style documentation 重定向页面至模板:Citation Style documentation 当前 标签:新重定向
- 18:182024年1月15日 (一) 18:18 差异 历史 +657 新 模块:Cs1 documentation support/doc 创建页面,内容为“{{Lua|Module:Citation/CS1/Configuration|Module:Citation/CS1/Configuration/sandbox|Module:Arguments|noprotcat=yes}} {{Uses TemplateStyles|Module:Citation/CS1/styles.css|Template:Div col/styles.css|noprotcat=yes}} {{high-use|252}} This module provides support for cs1|2 documentation by fetching data from the various modules, most notably Module:Citation/CS1/Configuration and rendering that data in a reader-accessible format. == Usage == <code><nowiki>{{</no…” 当前
- 18:182024年1月15日 (一) 18:18 差异 历史 +63,128 新 模块:Cs1 documentation support 创建页面,内容为“require('strict'); local getArgs = require ('Module:Arguments').getArgs; local cfg = mw.loadData ('Module:Citation/CS1/Configuration'); -- load the configuration module local whitelist = mw.loadData ('Module:Citation/CS1/Whitelist'); -- load the whitelist module local exclusion_lists = { -- TODO: move these tables into a separate ~/data module and mw.loadData() it ['cite book'] = { ['agency'] = true, ['air-date'] = true, ['arxiv']…” 当前