2024年1月21日 (星期日)
- 21:432024年1月21日 (日) 21:43 差异 历史 +475 新 模板:Other ships/doc 创建页面,内容为“{{Documentation subpage}} {{High-use}} {{Lua|Module:Other uses}} '''{{Tlx|Other ships}} results in''' {{other ships}} '''{{Tlx|Other ships|PAGE1}} results in''' {{other ships|PAGE1}} '''{{Tlx|Other ships|PAGE1|PAGE2}} results in''' {{other ships|PAGE1|PAGE2}} '''…etc.''' {{Hatnote templates}} <includeonly>{{sandbox other|| Category:Disambiguation and redirection templates Other ships Category:Hatnote templates }} </in…” 当前
- 21:432024年1月21日 (日) 21:43 差异 历史 +95 新 模板:Other ships 创建页面,内容为“{{#invoke:Other uses|otherX|ships with the same name}}<noinclude> {{documentation}}</noinclude>” 当前
- 21:422024年1月21日 (日) 21:42 差异 历史 +199 新 模块:About other people/doc 创建页面,内容为“{{high-use|453}} Implements {{tl|about other people}}. <includeonly>{{sandbox other|| <!-- Categories below this line, please; interwikis at Wikidata --> Category:Hatnote modules }}</includeonly>” 当前
- 21:422024年1月21日 (日) 21:42 差异 历史 +1,356 新 模块:About other people 创建页面,内容为“local mAbout = require('Module:About') local mHatnote = require('Module:Hatnote') local mArguments = require('Module:Arguments') local p = {} local s = { --strings emptySubject = 'no page subject specified', templateName = 'Template:About other people', andKeyword = 'and', otherPeopleNamedForm = 'other people %s %s', named = 'named', otherPeopleSame = 'other people with the same name', } function p.aboutOtherPeople (frame) local args = mArguments.getAr…” 当前
- 21:422024年1月21日 (日) 21:42 差异 历史 +328 新 模块:Other people/doc 创建页面,内容为“<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> Implements {{tl|other people}}. <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> Category:Hatnote modules }}</includeonly>” 当前
- 21:412024年1月21日 (日) 21:41 差异 历史 +986 新 模块:Other people 创建页面,内容为“local mOtheruses = require('Module:Other uses') local mArguments = require('Module:Arguments') local compressArray = require('Module:TableTools').compressSparseArray local p = {} function p.otherPeople (frame) --Get arguments local origArgs = mArguments.getArgs(frame) local named = origArgs.named local args = compressArray(origArgs) if not origArgs[1] then table.insert(args, 1, nil) end -- Assemble arguments and return local title = args[1] or mw.title.…” 当前
- 21:412024年1月21日 (日) 21:41 差异 历史 +2,350 新 模板:Other people/doc 创建页面,内容为“{{Documentation subpage}} {{High-use}} {{Lua|Module:Other people}} == Usage == Examples presuming you are on a page about a "Mackenzie Garcia": With no parameters, it inserts the current page name, for example "Mackenzie Garcia" (an individual who is the WP:PRIMARYTOPIC for that name) after "named" before {{nobr|"(disambiguation)"}}:<br /> {{tlx|Other people}}<br /> {{Other people|Mackenzie Garcia}}<!--This code intentionally does not match the example be…” 当前
- 21:412024年1月21日 (日) 21:41 差异 历史 +76 新 模板:Other people 创建页面,内容为“{{#invoke:Other people|otherPeople}}<noinclude>{{documentation}}</noinclude>” 当前
- 21:402024年1月21日 (日) 21:40 差异 历史 +2,962 新 模板:About other people/doc 创建页面,内容为“{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Lua|Module:About other people}} This template acts like {{tl|Other people}}, but includes an extra parameter that describes the subject of the article. == Usage == The first parameter is mandatory; omitting it produces an error message, and a maintenance category that can be suppressed by supplying a <…” 当前
- 21:402024年1月21日 (日) 21:40 差异 历史 +114 新 模板:About other people 创建页面,内容为“<includeonly>{{#invoke:About other people|aboutOtherPeople}}</includeonly><noinclude>{{documentation}}</noinclude>” 当前
- 21:402024年1月21日 (日) 21:40 差异 历史 +47 新 模板:Redirect-distinguish-for 重定向页面至模板:Redirect-distinguish-for 当前 标签:新重定向
- 21:392024年1月21日 (日) 21:39 差异 历史 +364 新 模板:Redirect-synonym/doc 创建页面,内容为“{{Documentation subpage}} <!-- Categories go at the bottom of this page. --> === Usage === Both parameters are required. * {{tlx|Redirect-synonym|REDIRECT|PAGE2}} → {{Redirect-synonym|REDIRECT|PAGE2}} {{Hatnote templates}} <includeonly>{{Sandbox other|| Category:Disambiguation and redirection templates Category:Hatnote templates }}</includeonly>” 当前
- 21:382024年1月21日 (日) 21:38 差异 历史 +295 新 模板:Redirect-synonym 创建页面,内容为“{{Hatnote|"{{{1}}}" redirects here. The term may also refer to {{{2}}}.}}{{#switch:{{{1<noinclude>|REDIRECT</noinclude>}}}|REDIRECT|REDIRECT1|REDIRECT2|REDIRECT3|TERM = | #default = {{#ifexist:{{{1}}}||{{main other|Category:Missing redirects}}}}}}<noinclude> {{Documentation}} </noinclude>” 当前
- 21:382024年1月21日 (日) 21:38 差异 历史 +312 新 模块:Redirect-multi/doc 创建页面,内容为“<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> Implements {{tl|redirect-multi}}. <includeonly>{{sandbox other|| <!-- Categories below this line, please; interwikis at Wikidata --> Category:Hatnote modules }}</includeonly>” 当前
- 21:382024年1月21日 (日) 21:38 差异 历史 +1,140 新 模块:Redirect-multi 创建页面,内容为“local mRedirectHatnote = require('Module:Redirect hatnote') local mArguments = require('Module:Arguments') local mHatnote = require('Module:Hatnote') local p = {} function p.redirectMulti (frame) local args = mArguments.getArgs(frame) --Get maxArg manually because getArgs and table.maxn aren't friends local maxArg = 0 for k, v in pairs(args) do if type(k) == 'number' and k > maxArg then maxArg = k end end --Get number of redirects then remove it from t…” 当前
- 21:382024年1月21日 (日) 21:38 差异 历史 +1,907 新 模板:Redirect-multi/doc 创建页面,内容为“{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Lua|Module:Redirect-multi}} This template produces a redirect hatnote, analogous to {{tl|redirect}}, for use when multiple redirects need to be specified. == Usage == The first parameter supplied to the template should be a number specifying the number of redirects. If this is left blank or a non-numer…” 当前
- 21:372024年1月21日 (日) 21:37 差异 历史 +107 新 模板:Redirect-multi 创建页面,内容为“<includeonly>{{#invoke:Redirect-multi|redirectMulti}}</includeonly><noinclude>{{Documentation}}</noinclude>” 当前
- 21:372024年1月21日 (日) 21:37 差异 历史 +1,604 新 模板:Intricate template/doc 创建页面,内容为“{{Documentation subpage}} {{redirect|Template:Esoteric|text=You may be looking for Template:Esoteric file}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> This is the {{tl|intricate template}} message box. {{tl|intricate}} redirects here and can be used as alternative name for this template. This template can be put at the top of the documentation for any templates that a…” 当前
- 21:362024年1月21日 (日) 21:36 差异 历史 +603 新 模板:Intricate template 创建页面,内容为“{{#switch:{{{form|}}} |editnotice = {{editnotice |id = {{{id|}}} |image = 40x40px|alt=|link= |text = {{Intricate template/text}} |expiry= {{{expiry|}}} }} |#default = {{ombox |type = style |image = 40x40px|alt=|link= |text = {{Intricate template/text}} }} }}<includeonly>{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | {{template other| Category:Intricate templates }} }}<…” 当前
- 21:362024年1月21日 (日) 21:36 差异 历史 +41 新 模板:Intricate template 重定向页面至模板:Intricate template 当前 标签:新重定向
- 21:352024年1月21日 (日) 21:35 差异 历史 +5,582 新 模板:Redirect-several/doc 创建页面,内容为“{{Documentation subpage}} {{esoteric}} This template can be used on pages which are the WP:PRIMARYREDIRECT for several terms which also have corresponding disambiguation pages. This template is compatible with up to 10 redirects. It can also be used targeting non-disambiguation articles, although it adds <code> (disambiguation)</code> to the end of each of its parameters by default. This can be modified through the <code>dab</code> parameter. It can also be…” 当前
- 21:352024年1月21日 (日) 21:35 差异 历史 +3,483 新 模板:Redirect-several 创建页面,内容为“{{#switch: {{{link|{{{Link|{{{wikilink|{{{Wikilink|{{{lk|{{{lnk|{{{LNK|{{{Lnk|on}}}}}}}}}}}}}}}}}}}}}}}} | on | On | Y | y | yes | Yes | true | True |#default = <!-- This is for if <nowiki>{{{link}}}</nowiki> (or aliases) is set to "on" (or aliases), "yes" (or aliases), "true" (or aliases), or set to a blank string --> {{#switch: {{{dab|{{{Dab|{{{Disambiguation|{{{disambiguation|{{{disambiguation link|{{{Disambiguation Link|{{{DisambiguationLink|{{{dablin…” 当前
- 21:332024年1月21日 (日) 21:33 差异 历史 +331 新 模块:Technical reasons/doc 创建页面,内容为“<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> Implements {{tl|technical reasons}}. <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| <!-- Categories below this line, please; interwikis at Wikidata --> Category:Hatnote modules }}</includeonly>” 当前
- 21:322024年1月21日 (日) 21:32 差异 历史 +1,794 新 模块:Technical reasons 创建页面,内容为“local mHatnote = require('Module:Hatnote') local mHatlist = require('Module:Hatnote list') local mYesno = require('Module:Yesno') local mArguments --initialize lazily local p = {} function p.technicalReasons (frame) mArguments = require('Module:Arguments') local args = mArguments.getArgs(frame) return p._technicalReasons(args) end function p._technicalReasons (args) --Return an error if no redirect's provided if not args[1] then return mHatnote.makeWik…” 当前
- 21:322024年1月21日 (日) 21:32 差异 历史 +2,005 新 模板:Technical reasons/doc 创建页面,内容为“{{Documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{Lua|Module:Technical reasons}} ==Usage== {{tlx|technical reasons|foo|bar}} : produces the following hatnote: {{technical reasons|foo|bar}} and... {{tlx|technical reasons|foo|bat|bar}} : produces the following hatnote: {{technical reasons|foo|bat|bar}} See an example in the hatnote of the Waltz article. The {{para|prefix}} parameter, which us…” 当前
- 21:322024年1月21日 (日) 21:32 差异 历史 +115 新 模板:Technical reasons 创建页面,内容为“<includeonly>{{#invoke:Technical reasons|technicalReasons}}</includeonly><noinclude> {{Documentation}} </noinclude>” 当前
- 21:312024年1月21日 (日) 21:31 差异 历史 0 新 文件:Mergefrom.svg 无编辑摘要 当前
- 21:302024年1月21日 (日) 21:30 差异 历史 +1,610 新 模板:Merge from 创建页面,内容为“{{SAFESUBST:<noinclude />#invoke:Unsubst||date=__DATE__ |$B= {{#switch:{{NAMESPACE}} |Category=<span class="error">For categories please use the templates available at Wikipedia:Categories for discussion.</span> |Template=<includeonly><span class="error">For templates, please use the templates available at Wikipedia:Templates for discussion.</span>Category:Pages with templates in the wrong namespace</includeonly> }}{{Mbox | name = Merge from | demo…” 当前
- 21:292024年1月21日 (日) 21:29 差异 历史 0 新 文件:Wikidata-logo.svg 无编辑摘要 当前
- 21:282024年1月21日 (日) 21:28 差异 历史 +561 新 模块:Uses Wikidata/doc 创建页面,内容为“{{Merge from|Module:Tracks and uses Wikidata{{#if:{{#titleparts:{{FULLPAGENAME}}||2}}|/{{#titleparts:{{FULLPAGENAME}}||2}}}}}} {{High-use}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> This module is used by {{tlx|Uses Wikidata}}, {{tlx|Tracks Wikidata}}, {{tlx|Tracks and uses Wikidata}} and {{tlx|Wikidata property}}. == Usage == <code><nowiki>{{</nowiki>#invoke:Uses Wikidata|usesProperty}}</code> <includeonly…” 当前
- 21:272024年1月21日 (日) 21:27 差异 历史 +2,066 新 模块:Uses Wikidata 创建页面,内容为“local p = {} function p.usesProperty(frame) local args = frame.getParent(frame).args or nil if mw.text.trim(args[1] or '') == '' then args = frame.args end local result = '<ul>' local ii = 1 while true do local p_num = mw.text.trim(args[ii] or '') if p_num ~= '' then local label = mw.wikibase.getLabel(p_num) or "NO LABEL" result = result .. "<li>middle|4px|link=|alt= <b><i>[[d:Property talk:" .. p_num .. "|"…” 当前
- 21:272024年1月21日 (日) 21:27 差异 历史 +2,443 新 模板:Uses Wikidata/doc 创建页面,内容为“{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Lua|Module:Side box|Module:Uses Wikidata}} This template may be used in the documentation of another template or module, to indicate that that template or module uses a Wikidata property or properties, where available. __NOTOC__ == Usage == ===Standard usage=== <code><nowiki>{{</nowiki>Uses Wikidata…” 当前
- 21:262024年1月21日 (日) 21:26 差异 历史 +652 新 模板:Uses Wikidata 创建页面,内容为“{{Sister project | position = {{{position|}}} | project = data | text = This {{module other|module|template}} uses {{#if:{{{section|}}} | one or more Wikidata properties; see {{Section link||{{{section}}}}} for details. | the Wikidata propert{{#if:{{{2|}}}|ies|y}}: {{#invoke:Uses Wikidata|usesProperty}} }}}}<includeonly>{{#switch:{{SUBPAGENAME}} |sandbox |testcases |doc= <!--no category--> |#default={{module other |Category:Modules using data fro…” 当前
- 21:262024年1月21日 (日) 21:26 差异 历史 +2,107 新 模板:About-distinguish/doc 创建页面,内容为“{{documentation subpage}} {{Lua|Module:About-distinguish}} {{Uses Wikidata|P21|P31}} ==="''This page is about … It is not to be confused with …''"=== {{tlx|About-distinguish}} is a template for noting other uses when there could be confusion with another topic. * {{tlx|about-distinguish|USE1|PAGE1}} → {{about-distinguish|USE1|PAGE1}} * {{tlx|about-distinguish|USE1|PAGE1|PAGE2}} → {{about-distinguish|USE1|PAGE1|PAGE2}} * {{tlx|about-distinguish|USE1|PAG…” 当前
- 21:252024年1月21日 (日) 21:25 差异 历史 +117 新 模板:About-distinguish 创建页面,内容为“{{#invoke:About-distinguish|aboutDistinguish<noinclude>|ABC|XYZ</noinclude>}}<noinclude>{{Documentation}}</noinclude>” 当前
- 21:222024年1月21日 (日) 21:22 差异 历史 +837 新 模板:About-distinguish2/doc 创建页面,内容为“{{documentation subpage}} {{Lua|Module:About-distinguish}} {{Uses Wikidata|P21|P31}} {{tlx|About-distinguish}} is a template for noting other uses when there could be confusion with another topic. * {{tlx|About-distinguish|USE|PAGE}} → {{About-distinguish|USE|PAGE}} * {{tlx|About-distinguish-text|USE|TEXT}} → {{About-distinguish2|USE|TEXT}} * {{tlx|About-distinguish-text|USE|TEXT1|TEXT2|TEXT3}} (can list up to five items) → {{About-distinguish2|USE|TEXT…” 当前
- 21:222024年1月21日 (日) 21:22 差异 历史 +121 新 模板:About-distinguish2 创建页面,内容为“{{#invoke:About-distinguish|aboutDistinguishText<noinclude>|ABC|XYZ</noinclude>}}<noinclude>{{Documentation}}</noinclude>” 当前
- 21:212024年1月21日 (日) 21:21 差异 历史 +277 新 模块:About-distinguish/doc 创建页面,内容为“{{uses Wikidata|P21|P31}} {{high-use|1172}} Implements {{tl|about-distinguish}} and {{tl|about-distinguish-text}}. <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> Category:Hatnote modules }}</includeonly>” 当前
- 21:212024年1月21日 (日) 21:21 差异 历史 +2,410 新 模块:About-distinguish 创建页面,内容为“local mHatnote = require('Module:Hatnote') local mHatlist = require('Module:Hatnote list') local mArguments --initialize lazily local mTableTools = require('Module:TableTools') local checkType = require('libraryUtil').checkType local p = {} function p.aboutDistinguish (frame) mArguments = require('Module:Arguments') local args = mArguments.getArgs(frame) return p._aboutDistinguish(args) end function p.aboutDistinguishText (frame) mArguments = require('Mod…” 当前
- 21:182024年1月21日 (日) 21:18 差异 历史 +837 新 模板:About-distinguish-text/doc 创建页面,内容为“{{documentation subpage}} {{Lua|Module:About-distinguish}} {{Uses Wikidata|P21|P31}} {{tlx|About-distinguish}} is a template for noting other uses when there could be confusion with another topic. * {{tlx|About-distinguish|USE|PAGE}} → {{About-distinguish|USE|PAGE}} * {{tlx|About-distinguish-text|USE|TEXT}} → {{About-distinguish2|USE|TEXT}} * {{tlx|About-distinguish-text|USE|TEXT1|TEXT2|TEXT3}} (can list up to five items) → {{About-distinguish2|USE|TEXT…” 当前
- 21:162024年1月21日 (日) 21:16 差异 历史 +121 新 模板:About-distinguish-text 创建页面,内容为“{{#invoke:About-distinguish|aboutDistinguishText<noinclude>|ABC|XYZ</noinclude>}}<noinclude>{{Documentation}}</noinclude>” 当前
- 21:152024年1月21日 (日) 21:15 差异 历史 +48 新 模板:Redirect-distinguish-text 重定向页面至模板:Redirect-distinguish-text 当前 标签:新重定向
- 21:152024年1月21日 (日) 21:15 差异 历史 +276 新 模块:Redirect-distinguish-for/doc 创建页面,内容为“<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> Implements {{tl|Redirect-distinguish-for}}. <includeonly>{{Sandbox other|| <!-- Categories below this line; interwikis at Wikidata --> Category:Hatnote modules }}</includeonly>” 当前
- 21:142024年1月21日 (日) 21:14 差异 历史 +703 新 模块:Redirect-distinguish-for 创建页面,内容为“mArguments = require('Module:Arguments') mRedirectHatnote = require("Module:Redirect hatnote") local p = {} function p.redirectDistinguishFor(frame) local args = mArguments.getArgs(frame, {parentOnly = true}) local maxArg = 0 for k, v in pairs(args) do if type(k) == 'number' and k > maxArg then maxArg = k end end local parsedArgs = {} for i = 1, maxArg do if i ~= 2 then parsedArgs[i == 1 and 1 or i - 1] = args[i] end end return (string.gsub( --…” 当前
- 21:142024年1月21日 (日) 21:14 差异 历史 +1,793 新 模板:Redirect-distinguish-for/doc 创建页面,内容为“{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Template shortcut|rdf}} {{Lua|Module:Redirect-distinguish-for}} Redirection notice that has both "not to be confused with" and "for Use". == Usage == * {{tlx|Redirect-distinguish-for|REDIRECT|PAGE2|USE3|PAGE3}} → {{Redirect-distinguish-for|REDIRECT|PAGE2|USE3|PAGE3}} * {{tlx|Redirect-distinguish-f…” 当前
- 21:142024年1月21日 (日) 21:14 差异 历史 +126 新 模板:Redirect-distinguish-for 创建页面,内容为“<includeonly>{{#invoke:Redirect-distinguish-for|redirectDistinguishFor}}</includeonly><noinclude>{{Documentation}}</noinclude>” 当前
- 21:132024年1月21日 (日) 21:13 差异 历史 +1,046 新 模板:Redirect-distinguish-text/doc 创建页面,内容为“{{Documentation subpage}} This hatnote is generally used when there is an ambiguity that is not necessarily literal, but one that can be reasonably assumed to exist for a portion of the readership substantial enough to warrant a hatnote. When applying it, care should be taken to avoid trivial uses. * {{tlx|Redirect-distinguish-text|REDIRECT|TEXT}} → {{Redirect-distinguish2|REDIRECT|TEXT}} == TemplateData == {{TemplateData header}} <template…” 当前
- 21:132024年1月21日 (日) 21:13 差异 历史 +403 新 模板:Redirect-distinguish-text 创建页面,内容为“{{Hatnote|"{{{1}}}" redirects here. {{ #if: {{{2| }}}|Not to be confused with {{{2}}}.| }}}}{{#switch:{{{1<noinclude>|REDIRECT</noinclude>}}}|REDIRECT|REDIRECT1|REDIRECT2|REDIRECT3|TERM = | #default = {{#ifexist:{{{1}}}||{{main other|Category:Missing redirects}}}}}}{{#ifeq:{{{1}}}|{{PAGENAME}}|Category:Articles with redirect hatnotes needing review}}<noinclude> {{Documentation}} </noinclude>” 当前
- 21:122024年1月21日 (日) 21:12 差异 历史 +327 新 模块:Main if exists/doc 创建页面,内容为“{{Lua|Module:Labelled list hatnote|Module:Yesno}} == Usage == Used by Template:Main if exists <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}| main}}</code> <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> Category:hatnote modules }}</includeonly>” 当前
- 21:122024年1月21日 (日) 21:12 差异 历史 +1,006 新 模块:Main if exists 创建页面,内容为“--v1.0 local p = {} local yesno = require("Module:yesno") function p.main(frame) local rawpages = {} local nvalid = 0 local namespace = frame.args.ns for i, v in ipairs(frame:getParent().args) do if (v ~= nil) then local thisArg = mw.text.trim(v) if (thisArg ~= "") then local title = mw.title.new(thisArg, namespace) if title ~= nil and title.exists then table.insert(rawpages, title.fullText) nvalid = nvalid + 1 end en…” 当前