2024年1月16日 (星期二)
- 11:162024年1月16日 (二) 11:16 差异 历史 +433 新 模块:If empty/doc 创建页面,内容为“{{Module rating|protected}} {{Lua|Module:Arguments}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{High-use}} This module supports Template:If empty. See here for test cases. <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> }}</includeonly>” 当前
- 11:152024年1月16日 (二) 11:15 差异 历史 +234 新 模块:If empty 创建页面,内容为“local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) for k,v in ipairs(args) do if v ~= '' then return v end end end return p” 当前
- 11:152024年1月16日 (二) 11:15 差异 历史 +102 新 模板:If empty 创建页面,内容为“{{<includeonly>safesubst:</includeonly>#invoke:If empty|main}}<noinclude>{{Documentation}}</noinclude>” 当前
- 11:142024年1月16日 (二) 11:14 差异 历史 +3,592 新 模板:Election table/doc 创建页面,内容为“<noinclude>{{Documentation subpage}}{{High-use}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> == Usage == This template marks the beginning of a table and defines borders, margins, background colours, and text alignment within the table. (Default alignment is "right", others must be specified.) Table rows and cells are written as usual, and the table is closed with "<code><nowiki>|}</nowiki></code>" For example, to have a table as shown be…” 当前
- 11:132024年1月16日 (二) 11:13 差异 历史 +328 新 模板:Election table/category 创建页面,内容为“<includeonly>{{Template other|{{#if: {{{country_manual|}}} | [[Category:{{{country_manual}}} election result templates]] | {{#if: {{{country_auto|}}} | [[Category:{{{country_auto}}} election result templates]] | Category:Election and referendum result templates }} }} }}</includeonly><noinclude>{{Documentation}}</noinclude>” 当前
- 11:132024年1月16日 (二) 11:13 差异 历史 +1,670 新 模板:Election table 创建页面,内容为“{| class="wikitable {{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}} {{#ifeq:{{{sortable|}}}|yes|sortable}}" style="text-align:right; font-size: 95%; {{#switch:{{lc:{{{align|}}}}}|=|none=|left=float:{{{align}}};margin-right:1em;|right=float:{{{align}}};margin-left:1em;|center|centre=margin-left:auto; margin-right:auto;|#default=α}}" {{#if:{{{collapsed|}}}|! colspan=12 style="text-align:center;…” 当前
- 11:122024年1月16日 (二) 11:12 差异 历史 +3,285 新 模板:End/doc 创建页面,内容为“{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>Wikipedia:Wikidata<nowiki>]]) --> {{high-use}} == Usage == This template ends any table (with bar-brace "|}") and may be used with any other templates that begin a one-level table, except with template {{tl|Collapse top}} which requires a {{tl|collapse bottom}} to end a collapsible text. This template duplicates {{tl…” 当前
- 11:122024年1月16日 (二) 11:12 差异 历史 +433 新 模板:End 创建页面,内容为“<includeonly> {{#if:{{{html|}}}|</table>|{{!}}} }}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|_VALUE_{{PAGENAME}}}}|preview=Page using Template:End with unknown parameter "_VALUE_"|ignoreblank=y| html | 1<!--parameter does not do anything, but described in the documentation since 2015--> }}<noinclude>{{Documentation}}</noinclude>” 当前
- 11:102024年1月16日 (二) 11:10 差异 历史 +308 新 模板:Citation Style documentation/usage vertical common 创建页面,内容为“{| class="wikitable" style="width: 30em" |+ Most commonly used parameters in vertical format |- style="vertical-align:top;" |<noinclude> |} {{doc|content= This template is used in documentation for Citation Style 1 templates to show parameters in a vertical format.}} </noinclude>” 当前
- 11:062024年1月16日 (二) 11:06 差异 历史 +154 新 模板:Citation Style documentation/usage common 创建页面,内容为“{| class="wikitable" style="width: 100%" |+ Most commonly used parameters in horizontal format |- style="vertical-align:top;" |<noinclude> |} </noinclude>” 当前
- 11:052024年1月16日 (二) 11:05 差异 历史 +456 新 模板:Citation Style documentation/usage 创建页面,内容为“Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as {{para|isbn}} have upper-case aliases like {{para|ISBN}}, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then {{purge|purge}} the page.” 当前
- 10:442024年1月16日 (二) 10:44 差异 历史 +118 新 模板:Template redirect 创建页面,内容为“<includeonly>{{#invoke:Shortcut|main|template=yes|redirect=yes}}</includeonly><noinclude>{{Documentation}}</noinclude>” 当前
- 10:442024年1月16日 (二) 10:44 差异 历史 +2,115 新 模板:Navbox documentation/doc 创建页面,内容为“{{Documentation subpage}} {{High-use}} {{Template shortcut|navdoc}} {{Template redirect|Navbox doc}} This is a wrapper for {{tl|Collapsible option}} to provide a semblance of documentation for navbox templates. See that template for further guidance. The <nowiki>{{Collapsible option}}</nowiki> template can be suppressed with {{para|stateless|yes}}. == TemplateData == {{TemplateData header}} <templatedata> { "params": { "3": { "label": "Content", "des…” 当前
- 10:432024年1月16日 (二) 10:43 差异 历史 +1,266 新 模板:Navbox documentation 创建页面,内容为“<div style="border: 2px dashed #666666;"><div style="margin: 3em;"><onlyinclude>{{documentation | content = {{{hatnotes|}}} {{Template display|nomobile}} {{{intro|{{{2|}}}}}} This is a navigational template created using {{tl|navbox}}. It can be transcluded on pages by placing <code><nowiki>{{</nowiki>{{{template|{{PAGENAME}}}}}<nowiki>}}</nowiki></code> below the Wikipedia:Manual of Style/Layout#Standa…” 当前
- 10:422024年1月16日 (二) 10:42 差异 历史 +3,681 新 模板:Collapsible option/doc 创建页面,内容为“{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{High-use|demo={{ROOTPAGENAME}}}} {{tlx|Collapsible option}} is a utility template provides a standardised message for transclusion on template documentaion pages for templates whose collapsibility may be managed by the parameter {{para|state}}. It can be used on either the template page itself (wrapped…” 当前
- 10:402024年1月16日 (二) 10:40 差异 历史 +4,134 新 模板:Param value/doc 创建页面,内容为“{{Documentation subpage}} {{High-use}} {{tlr|clear=right|pvalue|pval}} Provides a lightly bordered box to highlight param values on Template documentation pages. Especially useful in cases where values may have leading or trailing blanks, or multiple embedded blanks. == Usage == {{tlc|param value|''value''}} == Parameters == There is one required positional parameter for the value, and four optional params: three for sty…” 当前
- 10:402024年1月16日 (二) 10:40 差异 历史 +421 新 模板:Param value 创建页面,内容为“<code style="border:{{{border|{{{b|thin solid #caa}}}}}};background-color:{{{bg-color|{{{bg|white}}}}}};padding:1px 2px 0 1px;margin:0 2px 0 1px;white-space:nowrap;{{{style|}}}">{{replace|{{replace|{{replace|{{replace|{{replace|<includeonly>⊗ϑ{{{1|}}}⊗ϑ</includeonly><noinclude>value</noinclude>| |{{{space|{{{sp| }}}}}}}}|#|#}}|*|*}}|:|:}}|⊗ϑ|}}</code><noinclude> {{Documentation}} </noinclude>” 当前
- 10:402024年1月16日 (二) 10:40 差异 历史 +2,925 新 模板:Collapsible option 创建页面,内容为“This template's '''initial visibility currently defaults to {{param value|{{#switch:{{{default|}}}|collapsed=collapsed|expanded=expanded|autocollapse|#default=autocollapse}}}}''', meaning that {{#switch:{{{default|}}}|collapsed=it is hidden apart from its title bar.|expanded=it is fully visible.|autocollapse|#default=if there is another collapsible item on the page (a navbox, sidebar, or Help:Collapsing|table with the c…” 当前
- 10:392024年1月16日 (二) 10:39 差异 历史 +460 新 模板:Namespace and pagename-detecting templates/doc 创建页面,内容为“{{Documentation subpage}} <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see Wikipedia:Wikidata)--> {{Collapsible option |statename=optional |default=expanded}} <includeonly>{{Sandbox other|| <!--Categories below this line, please; interwikis at Wikidata--> Category:Documentation see also templates Category:Template namespace templates }}</includeonly>” 当前
- 10:392024年1月16日 (二) 10:39 差异 历史 +3,474 新 模板:Namespace and pagename-detecting templates 创建页面,内容为“{{Navbox | name = Namespace and pagename-detecting templates | state = {{{state|{{{1|<noinclude>expanded</noinclude>}}}}}} | bodyclass=hlist | title = Namespace and pagename-detecting templates | group1 = Namespace | list1 = {{Navbox |child |groupstyle=font-weight:normal; | group1 = Particular | list1 = * {{tlbare|Main other}} * {{tlbare|Talk other}} * {{tlbare|Category other}} * {{tlbare|Draft other}} * {{tlbare|File other}} **…” 当前
- 10:352024年1月16日 (二) 10:35 差异 历史 +2 模板:Template link code 重定向页面至模板:Template link code 当前 标签:新重定向
- 10:342024年1月16日 (二) 10:34 差异 历史 +39 模板:Template link code 无编辑摘要 标签:手工回退
- 10:342024年1月16日 (二) 10:34 差异 历史 −39 模板:Template link code 清空全部内容 标签:清空 已被回退
- 10:332024年1月16日 (二) 10:33 差异 历史 +39 新 模板:Template link code 创建页面,内容为“#Redirect [Template:Template link code]”
- 10:322024年1月16日 (二) 10:32 差异 历史 +2,939 新 模板:Template other/doc 创建页面,内容为“{{Documentation subpage}} {{Template shortcut|ns10}} {{High-risk|2=yes|all-pages=yes}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> This is a meta-template which helps other templates detect whether they are used in the "Template:" namespace. ==Usage== This template usually takes one or two parameters: : {{tc|Template other |''[result/action if on a template page]''…” 当前
- 10:322024年1月16日 (二) 10:32 差异 历史 +435 新 模板:Template other 创建页面,内容为“{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:Template}} | template | other }} }} | template = {{{1|}}} | other | #default = {{{2|}}} }}<!--End switch--><noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>” 当前
- 10:312024年1月16日 (二) 10:31 差异 历史 +368 新 模块:Distinguish/doc 创建页面,内容为“<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{High-use}} {{Module rating|protected}} Implements {{tl|distinguish}}. <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> Category:Hatnote modules }}</includeonly>” 当前
- 10:302024年1月16日 (二) 10:30 差异 历史 +897 新 模块:Distinguish 创建页面,内容为“local mHatnote = require('Module:Hatnote') local mHatlist = require('Module:Hatnote list') local mArguments --initialize lazily local mTableTools --initialize lazily local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local p = {} function p.distinguish(frame) mArguments = require('Module:Arguments') mTableTools = require('Module:TableTools') local args = mArguments.getArgs(frame) local selfref = args.selfref local text = ar…” 当前
- 10:302024年1月16日 (二) 10:30 差异 历史 +6,009 新 模板:Distinguish/doc 创建页面,内容为“{{Documentation subpage}} {{tsh|dist}} <!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{High-use| 65005 }} {{Lua|Module:distinguish}} == Description == The "distinguish" template produces a hatnote to point out to our readers the existence of one or more articles whose title(s) is, or are, similar to the page in question. It is used in cases where the distinction between the titles is g…” 当前
- 10:292024年1月16日 (二) 10:29 差异 历史 +290 新 模板:Distinguish 创建页面,内容为“{{#invoke:Distinguish|distinguish}}<noinclude><!-- splitting these lines causes {{Documentation}} template to terminate green shading when Distinguish is used in /doc pages. --> {{Documentation}} <!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! --> </noinclude>” 当前
- 10:282024年1月16日 (二) 10:28 差异 历史 +1,927 新 模板:C/doc 创建页面,内容为“{{Documentation subpage}} {{High-use}} <!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----> {{Distinguish|Template:Circa}} == Usage == : {{tlx|c |''category name''}} : {{tlx|c |''category name'' |''link text''}} Use {{tl|c}} to create a namespace-free link to a category, e.g. {{c|Philosophy}} rather than {{cl|Philosophy}}, {{cls|Philosophy}}: : {{tlf|c|Philosophy}} produces: {{c|Philosophy}} : {{tl…” 当前
- 10:282024年1月16日 (二) 10:28 差异 历史 +105 新 模板:C 创建页面,内容为“[[:Category:{{PAGENAME:{{{1}}}}}|{{{2|{{PAGENAME:{{{1}}}}}}}}]]<noinclude> {{Documentation}} </noinclude>” 当前
- 10:282024年1月16日 (二) 10:28 差异 历史 +210 新 模块:Aligned table/doc 创建页面,内容为“{{high-use|7000+}} {{module rating|protected}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> Implements {{tl|Aligned table}}” 当前
- 10:272024年1月16日 (二) 10:27 差异 历史 +5,891 新 模块:Aligned table 创建页面,内容为“-- This module implements {{aligned table}} local p = {} local function isnotempty(s) return s and s:match( '^%s*(.-)%s*$' ) ~= '' end function p.table(frame) local args = (frame.args[3] ~= nil) and frame.args or frame:getParent().args local entries = {} local colclass = {} local colstyle = {} local cols = tonumber(args['cols']) or 2 -- create the root table local root = mw.html.create('table') -- add table style for fullwidth if isnotempty(args['…” 当前
- 10:272024年1月16日 (二) 10:27 差异 历史 +188 新 模板:Aligned table 创建页面,内容为“{{<includeonly>safesubst:</includeonly>#invoke:aligned table|table}}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> </noinclude>” 当前
- 10:262024年1月16日 (二) 10:26 差异 历史 +2,586 新 模板:Protection templates 创建页面,内容为“{{Navbox | state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}} | title = {{c|Protection templates}} | image<!--left--> = <!--40px|link=|alt=--> | tracking = no <!-- keep all the documented templates out of the hlist tracking category --> | inner-style = table-format:fixed; | list1 = <div style="overflow:auto">{{Aligned table |cols=5 |style=table-format:fixed;border:1px solid #aaa;margin:0 auto<!-- 0.2em-->;…” 当前
- 10:252024年1月16日 (二) 10:25 差异 历史 +460 新 模块:Protection banner/documentation/config 创建页面,内容为“-- This module contains messages used to generate the documentation for -- Module:Protection banner. return { -- Reason table headings. ['documentation-heading-reason'] = 'Reason', ['documentation-heading-action'] = 'Action', ['documentation-heading-description'] = 'Description', -- Blurb to display if no reasons were found in the module config. ['documentation-blurb-noreasons'] = 'No reason values were found in the module' .. ' configuration.', }” 当前
- 10:242024年1月16日 (二) 10:24 差异 历史 +2,236 新 模块:Protection banner/documentation 创建页面,内容为“-- This module generates documentation for Module:Protection banner. -------------------------------------------------------------------------------- -- Documentation class -------------------------------------------------------------------------------- local Documentation = {} Documentation.__index = Documentation function Documentation:new(mainCfg, docCfg) return setmetatable({ _mainCfg = mainCfg, _docCfg = docCfg }, self) end function Documenta…” 当前
- 10:242024年1月16日 (二) 10:24 差异 历史 +4,849 新 模板:Pp/doc 创建页面,内容为“{{Documentation subpage}} <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see Wikipedia:Wikidata)--> {{High-use}} {{Twinkle standard installation}} {{lua|Module:Protection banner}} This is a general template for producing '''p'''rotection banners and '''p'''adlock icons. It can be used with any protection reason, any protection action, and any protection level. == Usage == {{pp | 1 = ''reason'' |…” 当前
- 10:232024年1月16日 (二) 10:23 差异 历史 +76 新 模板:Pp 创建页面,内容为“{{#invoke:Protection banner|main}}<noinclude> {{documentation}} </noinclude>” 当前
- 10:182024年1月16日 (二) 10:18 差异 历史 −3,544 模块:Transcluder/doc 无编辑摘要 当前
- 10:162024年1月16日 (二) 10:16 差异 历史 −2,796 模块:Transcluder 无编辑摘要 当前
- 09:552024年1月16日 (二) 09:55 差异 历史 +11,053 新 模块:Transcluder/doc 创建页面,内容为“<noinclude> {{#ifeq:{{SUBPAGENAME}}|doc||{{Documentation subpage}}}} <languages /> </noinclude>{{#switch:<translate></translate> | = <includeonly>{{languages|Module:Transcluder/doc}}</includeonly> <translate><!--T:1--> This module is a general-purpose '''transclusion engine''', able to transclude any part of any page and with many options that normal transclusion doesn't provide.</translate> <translate> == Usage == <!--T:2--> === Modules === <!--T:3--> <!--T…”
- 09:552024年1月16日 (二) 09:55 差异 历史 +3,792 模块:Transcluder 无编辑摘要
- 09:342024年1月16日 (二) 09:34 差异 历史 −4 模板:Citation Style 1 无编辑摘要 当前 标签:手工回退
- 09:342024年1月16日 (二) 09:34 差异 历史 0 模板:Citation Style 1 无编辑摘要 标签:已被回退
- 09:322024年1月16日 (二) 09:32 差异 历史 +4 模板:Citation Style 1 无编辑摘要 标签:已被回退
- 09:242024年1月16日 (二) 09:24 差异 历史 +44 新 模板:!- 创建页面,内容为“|-<noinclude> {{documentation}} </noinclude>” 当前
- 01:532024年1月16日 (二) 01:53 差异 历史 +5,044 新 模板:Template parameter usage/doc 创建页面,内容为“{{Documentation subpage}} {{High-use}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{shortcut|1=WP:TPU}} The [https://bambots.brucemyers.com/TemplateParam.php Template Parameters tool] is available for viewing template parameter usage in articles. It works with TemplateData to show the frequency of parameter name usage in a template's mainspace tra…” 当前
- 01:522024年1月16日 (二) 01:52 差异 历史 +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…” 当前