2024年1月21日 (星期日)
- 23:062024年1月21日 (日) 23:06 差异 历史 +615 新 模板:Transwiki guide 创建页面,内容为“{{ombox |style=border:#38C400 1px solid; |image=48px|alt=|link= |text={{{text|This project or template has a transwiki guide to help editors adapt it to a remote wiki when this cannot be done by simply copying the codes of one single template.<br/>See {{#if:{{{1|}}}|[[{{{1}}}]]|[[{{FULLPAGENAME}}/Transwiki guide]]}} for instructions.}}} |small={{{small|}}} }}<includeonly>Category:Transwiki guide|{{{…” 当前
- 23:062024年1月21日 (日) 23:06 差异 历史 +1,115 新 模块:Convert/extra 创建页面,内容为“-- Extra conversion data used by Module:Convert. -- -- Module:Convert/data defines all units and is transcluded in all pages -- where Module:Convert is used. Testing new units by editing that module -- would invalidate the cache for all affected pages. -- -- For quick changes and experiments with new units, this module can be edited. -- Since this module is transcluded in only a small number of pages, changes -- should cause little server overhead and s…” 当前
- 23:062024年1月21日 (日) 23:06 差异 历史 +15,258 新 模块:Convert/wikidata/data 创建页面,内容为“--[[ Cache of Wikidata information with units for Module:Convert. The codes should rarely change, and using a cache means that changing a unit at Wikidata will not cause lots of converts in articles to break. For a unit known to convert, the unit here must have: label = Wikidata label for unit (used only when listing units) ucode = unit code for input to convert (there are no optional fields because convert handles everything) For a unit not known to conve…” 当前
- 23:062024年1月21日 (日) 23:06 差异 历史 +16,941 新 模块:Convert/wikidata 创建页面,内容为“-- Functions to access Wikidata for Module:Convert. local Collection = {} Collection.__index = Collection do function Collection:add(item) if item ~= nil then self.n = self.n + 1 self[self.n] = item end end function Collection:join(sep) return table.concat(self, sep) end function Collection:remove(pos) if self.n > 0 and (pos == nil or (0 < pos and pos <= self.n)) then self.n = self.n - 1 return table.remove(self, pos) end end funct…” 当前
- 23:052024年1月21日 (日) 23:05 差异 历史 +19,227 新 模块:Convert/text 创建页面,内容为“-- Text used by Module:Convert for enwiki. -- This is a separate module to simplify translation for use on another wiki. -- See en:Template:Convert/Transwiki guide if copying to another wiki. -- Some units accept an SI prefix before the unit code, such as "kg" for kilogram. local SIprefixes = { -- The prefix field is what the prefix should be, if different from the prefix used. ['Q'] = { exponent = 30, name = 'quetta', }, ['R'] = { expo…” 当前
- 23:052024年1月21日 (日) 23:05 差异 历史 +170,945 新 模块:Convert/data 创建页面,内容为“-- Conversion data used by Module:Convert which uses mw.loadData() for -- read-only access to this module so that it is loaded only once per page. -- See en:Template:Convert/Transwiki guide if copying to another wiki. -- -- These data tables follow: -- all_units all properties for a unit, including default output -- default_exceptions exceptions for default output ('kg' and 'g' have different defaults) -- link_exceptions exceptions…” 当前
- 23:042024年1月21日 (日) 23:04 差异 历史 −161,904 模块:Convert/doc 页面内容被替换为“{{Transwiki guide|text=See '''how to copy the convert template''' for information on copying this module and modifying it for use on another wiki.}} {{High-risk|900000+}} {{Module rating|p}} {{Lua|Module:Convert/data|Module:Convert/text|Module:Convert/wikidata|Module:Convert/wikidata/data|Module:Convert/extra|Module:ConvertNumeric|noprotcat=yes}} {{Uses TemplateStyles|Template:Fraction/styles.css|Template:Sfrac/styles.css|no…” 当前 标签:替换
- 23:032024年1月21日 (日) 23:03 差异 历史 +170,945 新 模块:Convert/doc 创建页面,内容为“-- Conversion data used by Module:Convert which uses mw.loadData() for -- read-only access to this module so that it is loaded only once per page. -- See en:Template:Convert/Transwiki guide if copying to another wiki. -- -- These data tables follow: -- all_units all properties for a unit, including default output -- default_exceptions exceptions for default output ('kg' and 'g' have different defaults) -- link_exceptions exceptions…”
- 23:032024年1月21日 (日) 23:03 差异 历史 +135,984 新 模块:Convert 创建页面,内容为“-- Convert a value from one unit of measurement to another. -- Example: {{convert|123|lb|kg}} --> 123 pounds (56 kg) -- See en:Template:Convert/Transwiki guide if copying to another wiki. local MINUS = '−' -- Unicode U+2212 MINUS SIGN (UTF-8: e2 88 92) local abs = math.abs local floor = math.floor local format = string.format local log10 = math.log10 local ustring = mw.ustring local ulen = ustring.len local usub = ustring.sub -- Configuration options…” 当前
- 23:022024年1月21日 (日) 23:02 差异 历史 +984 新 模板:1x/doc 创建页面,内容为“{{Documentation subpage}} {{High-risk|173,000+}} <!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == Echo the first argument to the template through the rendering engine. * See how {{param|1}} behaves in a template. * As a metatemplate, for example, <code><nowiki>{{1x|<}}includeonly{{1x|>}}</nowiki></code> generates an <code><includeonly></code> tag that will be evaluated when the res…” 当前
- 23:022024年1月21日 (日) 23:02 差异 历史 +49 新 模板:1x 创建页面,内容为“{{{1}}}<noinclude> {{documentation}} </noinclude>” 当前
- 23:012024年1月21日 (日) 23:01 差异 历史 +53,077 新 模板:Convert/doc 创建页面,内容为“{{documentation subpage}}<!-- Template convert transclusions Statistics on total tc's: 2014-09-05 673940 2014-12-16 693141 2015-01-28 700000 2015-08-31 736989 2016-05-25 789091 2016-11-17 832994 2017-07-29 872000 2017-12-15 902231 2018-12-27 957770 2019-01-12 960769 2019-10-26 995152 2019-01-01 by TDmonthly error report: Page [article] count: 651064; Transclusion count: 2878293 --> {{High-use}} {{for|currency conversion|Template:To USD|Template:To EUR}} {{Trans…” 当前
- 23:012024年1月21日 (日) 23:01 差异 历史 +194 新 模板:Convert 创建页面,内容为“<includeonly>{{{{{♥|safesubst:}}}#invoke:convert|convert}}</includeonly><noinclude> {{documentation}} <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> </noinclude>” 当前
- 23:002024年1月21日 (日) 23:00 差异 历史 0 新 文件:Greek lc beta.svg 无编辑摘要 当前
- 23:002024年1月21日 (日) 23:00 差异 历史 +1,701 新 模块:OutputBuffer/doc 创建页面,内容为“This module provides an easy and efficient way to generate lengthy strings. == Usage == First, load the module. <syntaxhighlight lang="lua"> local newBuffer = require('Module:OutputBuffer') </syntaxhighlight> Then, create the buffer and the functions that act on it. <syntaxhighlight lang="lua"> local getBuffer, print, printf = newBuffer() </syntaxhighlight> === getBuffer === <syntaxhighlight lang="lua"> local text = getBuffer(sep) </syntaxhighlight> Ret…” 当前
- 23:002024年1月21日 (日) 23:00 差异 历史 +245 新 模块:OutputBuffer 创建页面,内容为“return function() local buffer = {} return function(sep) local b = buffer buffer = {} return table.concat(b, sep) end, function(text) buffer[#buffer + 1] = text end, function(...) buffer[#buffer + 1] = string.format(...) end end” 当前
- 22:582024年1月21日 (日) 22:58 差异 历史 +213 新 模板:Diagonal split header 2/styles.css 创建页面,内容为“.diagonal-split-header { background-image: url('https://upload.wikimedia.org/wikipedia/commons/4/43/Diagonal_line.svg'); background-repeat: no-repeat; background-size: 100% 100%; background-position: center; }” 当前
- 22:582024年1月21日 (日) 22:58 差异 历史 +97 新 模板:Diagonal split header 2/doc 创建页面,内容为“{{Uses TemplateStyles|Template:Diagonal split header 2/styles.css}} {{Diagonal split header/doc}}” 当前
- 22:572024年1月21日 (日) 22:57 差异 历史 +344 新 模板:Diagonal split header 2 创建页面,内容为“<includeonly>class="diagonal-split-header unsortable" style="line-height:1.2;padding:0.1em 0.4em;{{{style|}}}"|<templatestyles src="Diagonal split header 2/styles.css" /><div style="margin-left:2em;text-align:right">{{{2}}}</div><div style="margin-right:2em;text-align:left">{{{1}}}</div></includeonly><noinclude> {{documentation}} </noinclude>” 当前
- 22:572024年1月21日 (日) 22:57 差异 历史 +2,811 新 模板:Divhide/doc 创建页面,内容为“{{Documentation subpage}} <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> == Usage == This template will allow you to collapse a section of a page. The first parameter is the title of the collapse section, and the second (optional parameter) is the width. To close the section, use '''<code><nowiki>{{divhide|end}}</nowiki></code>'''. === 1st parameter === The first unnamed parameter is used at the top for the tit…” 当前
- 22:572024年1月21日 (日) 22:57 差异 历史 +354 新 模板:Divhide 创建页面,内容为“<includeonly>{{#ifeq:{{lc:{{{1}}}}}|end |{{hidden end}} |{{hidden begin|expanded={{#ifeq:{{{show}}}|yes|1|}}|border=1px #aaa solid|style={{#if:{{{width|{{{2|}}}}}}|width:{{{width|{{{2}}}}}}}}|ta1=center|titlestyle=background-color:{{{color|#A7D7F9}}};|title={{{1}}}}} <span id="{{{1}}}"></span>}}</includeonly><noinclude> {{documentation}} </noinclude>” 当前
- 22:572024年1月21日 (日) 22:57 差异 历史 +1,134 新 模块:DemoTemplate/doc 创建页面,内容为“{{Module rating|beta}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == Simply place "#invoke:{{BASEPAGENAME}}|" before a call to a template. For example, <nowiki>{{#invoke:DemoTemplate|Convert|10|km|nmi|abbr=off}}</nowiki> yields the following: :{{#invoke:{{BASEPAGENAME}}|Convert|10|km|nmi|abbr=off}} This module handles both named and positional parameters as well…” 当前
- 22:562024年1月21日 (日) 22:56 差异 历史 +908 新 模块:DemoTemplate 创建页面,内容为“require('strict') local newBuffer = require('Module:OutputBuffer') local mt = {} function mt.__index(t, title) return function(frame) local getBuffer, print, printf = newBuffer() printf('{{%s', title) local ipairsArgs = {} for k,v in ipairs(frame.args) do if string.find(v, '=', 1, true) then break end ipairsArgs[k] = true printf('|%s', v) end for k,v in pairs(frame.args) do if not ipairsArgs[k] then printf('|%s=%s', string.…” 当前
- 22:552024年1月21日 (日) 22:55 差异 历史 +2,360 新 模板:Color/doc 创建页面,内容为“{{Documentation subpage}} __NOTOC__ <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> {{high-use}} {{Warning |'''Prose text intended for readers should never be manually colored.''' (MOS:PROSECOLOR)}} This template can be used to specify the foreground color of a span of text. Acceptable values are RGB hex codes, e.g. #C9E72A, or any of the web colors: red, blue, green, moccasin, darkorchid, etc. To set the ba…” 当前
- 22:552024年1月21日 (日) 22:55 差异 历史 +181 新 模板:Color 创建页面,内容为“<span style="color:{{{1|}}}">{{{2|{{{1|}}}}}}</span><noinclude>{{Documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>” 当前
- 22:552024年1月21日 (日) 22:55 差异 历史 +7,557 新 模板:Diagonal split header/doc 创建页面,内容为“{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == This template simulates a table header cell split diagonally, a device often used to compactly label headers of rows and columns, as in this example: {| class="wikitable" style="margin:0 auto;text-align:center;" ! {{diagonal split header|<span style{{=}}"padding-right:2em;">From</span>|To …” 当前
- 22:542024年1月21日 (日) 22:54 差异 历史 +382 新 模板:Diagonal split header 创建页面,内容为“<includeonly>style="background:{{{3|#EAECF0}}};background:linear-gradient(to top right,{{{3|#EAECF0}}} 49%,#AAA 49.5%,#AAA 50.5%,{{{4|{{{3|#EAECF0}}}}}} 51%);line-height:1.2;padding:0.1em 0.4em;{{{style|}}}"|<div style="margin-left:2em;text-align:right">{{{2}}}</div><div style="margin-right:2em;text-align:left">{{{1}}}</div></includeonly><noinclude> {{documentation}} </noinclude>” 当前
- 22:542024年1月21日 (日) 22:54 差异 历史 +30 新 模板:Div col 重定向页面至模板:Div col 当前 标签:新重定向
- 22:532024年1月21日 (日) 22:53 差异 历史 +215 新 模块:Wd/i18n/doc 创建页面,内容为“{{Documentation subpage}} {{High-use}} This submodule is used by Module:Wd for internationalization (''i18n'') purposes and has been separated to allow for locale-independent updating of the module's logic.” 当前
- 22:532024年1月21日 (日) 22:53 差异 历史 +4,484 新 模块:Wd/i18n 创建页面,内容为“-- The values and functions in this submodule should be localized per wiki. local p = {} function p.init(aliasesP) p = { ["errors"] = { ["unknown-data-type"] = "Unknown or unsupported datatype '$1'.", ["missing-required-parameter"] = "No required parameters defined, needing at least one", ["extra-required-parameter"] = "Parameter '$1' must be defined as optional", ["no-function-specified"] = "You must specify a function to call"…” 当前
- 22:522024年1月21日 (日) 22:52 差异 历史 +46 新 模块:Authority control/documentation/doc 创建页面,内容为“{{high-use|288}} {{Authority control/related}}” 当前
- 22:522024年1月21日 (日) 22:52 差异 历史 +11,399 新 模块:Authority control/documentation 创建页面,内容为“require('strict') local p = {} local configfile = 'Module:Authority control/config' -- default configuation module local arg = mw.getCurrentFrame().args.config if arg and arg~='' then configfile = 'Module:Authority control/config/' .. arg end local config if mw.title.new(configfile).exists then config = mw.loadData(configfile) else return error('Invalid configuration file',0) end local title = mw.title.getCurrentTitle() local namespace = title.namespace loca…” 当前
- 22:512024年1月21日 (日) 22:51 差异 历史 −1,389 模板:Template parameter usage 重定向页面至模板:Template parameter usage 当前 标签:新重定向
- 22:512024年1月21日 (日) 22:51 差异 历史 +1,436 新 模板:Template parameter usage 创建页面,内容为“{{#switch:{{{label|}}} |=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|S|s}}ee a monthly parameter usage report] for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|this template}} in articles{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}. |None|none=[https://bambots.brucemyers.c…”
- 22:502024年1月21日 (日) 22:50 差异 历史 +564 新 模板:TOC right/styles.css 创建页面,内容为“→{{pp-template}}: →The TOC is hidden on Minerva (mobile skin) for width < 720px so must also hide this wrapper: @media all and (max-width: 720px) { body.skin-minerva .tocright { display: none; } .tocright { width: 100% !important; →fix the inline width while at small resolution: } } @media all and (min-width: 720px) { .tocright { float: right; clear: right; width: auto; margin: 0 0 0.5em 1em; } .tocright-clear-left { clear:…” 当前
- 22:502024年1月21日 (日) 22:50 差异 历史 +3,654 新 模板:TOC right/doc 创建页面,内容为“{{Documentation subpage}} <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see Wikipedia:Wikidata)--> {{High-use}} {{Template display|vector2022}} {{TOC right}} {{tsh|tocr|tocright|TOCright}} {{Uses TemplateStyles|Template:TOC limit/styles.css|Template:TOC right/styles.css}} {{tl|TOC right}} forces the auto-generated Table of Contents for an article to appear floated to the right side of the page, in order to impro…” 当前
- 22:492024年1月21日 (日) 22:49 差异 历史 +453 新 模板:TOC right 创建页面,内容为“<templatestyles src="Template:TOC_right/styles.css" />{{#if:{{{limit|}}}|<templatestyles src="Template:TOC limit/styles.css" />}}<!-- --><div class="tocright {{#if:{{{clear|}}}|tocright-clear-{{{clear|}}}}} {{#if:{{{limit|}}}|toclimit-{{{limit}}}}}" {{#if:{{{width|{{{1|}}}}}}|style="width: {{{width|{{{1}}}}}};"}}>__TOC__</div><noinclude> {{documentation}} <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> </noinclude>” 当前
- 22:492024年1月21日 (日) 22:49 差异 历史 −252 模板:Further 无编辑摘要 当前 标签:手工回退
- 22:492024年1月21日 (日) 22:49 差异 历史 +252 模板:Further 无编辑摘要 标签:已被回退
- 22:482024年1月21日 (日) 22:48 差异 历史 +58 新 模板:Check completeness of transclusions 重定向页面至模板:Check completeness of transclusions 当前 标签:新重定向
- 22:482024年1月21日 (日) 22:48 差异 历史 +611 新 模板:Templates for archiving/doc 创建页面,内容为“{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> <!--*Placeholder commernt: This template still needs some work, but hopefully its more of a help than a hindrance for newer users navigating talk page archiving. This ain't my page, its all of our page, so edit BOLDLY. {{User:Jonverve/sig2}} 16:28, 1 July 2009 (UTC) --> == Usage == {{Collapsible option}} <includeonly>{{Sandbox other|| <!-- CATEGORIES HERE,…” 当前
- 22:472024年1月21日 (日) 22:47 差异 历史 +3,705 新 模板:Templates for archiving 创建页面,内容为“{{Navbox | name = Templates for archiving | title = Templates for archiving | bodyclass = hlist | state = {{{state<includeonly>|autocollapse</includeonly>}}} | above = * Archiving (simple) * Archiving (technical) | group1 = Recommended | list1 = * {{tl|Archives}} <span style="color:gray;">(very configurable side box or banner for main talk page)</span> * {{tl|Automatic archive navigat…” 当前
- 22:472024年1月21日 (日) 22:47 差异 历史 +545 新 模板:xtn 创建页面,内容为“{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example example-neutral" style="font-family: Georgia, 'DejaVu Serif', serif; color: initial;" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<noinclude> <!-- No, "color: initial;" is not redundant; it fixes inconsistent link-appearance behavior between this templ…” 当前
- 22:442024年1月21日 (日) 22:44 差异 历史 +825 新 模板:mxtn 创建页面,内容为“{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example example-neutral monospaced example-mono" style="font-family:monospace, monospace; color: initial;" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<!--"monospace, monospace" needed per Wikipedia:Typography#The_monospace_'bug'--><noinclude> <!-- No, "color:…” 当前
- 22:442024年1月21日 (日) 22:44 差异 历史 +702 新 模板:mxtd 创建页面,内容为“{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example deprecated-content example-deprecated monospaced example-mono" style="font-family: monospace, monospace; color: #696969;" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<!--"monospace, monospace" needed per Wikipedia:Typography#The_monospace_'bug'--><noin…” 当前
- 22:442024年1月21日 (日) 22:44 差异 历史 +372 新 模板:bxt 创建页面,内容为“{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example example-bold" style="font-weight: bold; color: #006400;" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<noinclude> {{Documentation|Template:Xt/doc}} </noinclude>” 当前
- 22:432024年1月21日 (日) 22:43 差异 历史 +38 新 模板:Citation needed 重定向页面至模板:Citation needed 当前 标签:新重定向
- 22:432024年1月21日 (日) 22:43 差异 历史 +34 新 模板:Div col end 重定向页面至模板:Div col end 当前 标签:新重定向
- 22:422024年1月21日 (日) 22:42 差异 历史 +403 新 模板:!bxt 创建页面,内容为“{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example deprecated-content example-bad example-bold" style="font-weight: bold; color: #8B0000;" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<noinclude> {{Documentation|Template:Xt/doc}} </noinclude>” 当前
- 22:422024年1月21日 (日) 22:42 差异 历史 +532 新 模板:bxtn 创建页面,内容为“{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example example-neutral example-bold" style="font-weight: bold; color: initial;" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<noinclude> <!-- No, "color: initial;" is not redundant; it fixes inconsistent link-appearance behavior between this template and Tem…” 当前