2022年5月19日 (星期四)
- 21:382022年5月19日 (四) 21:38 差异 历史 −172 模板:Documentation/doc 无编辑摘要
- 21:382022年5月19日 (四) 21:38 差异 历史 +2,043 新 模板:Documentation/doc 创建页面,内容为“{{Template:High-risk|1000+}} 這個模板用來显示和格式化一些重要模板的說明文件,包括你正在阅读的本文。 Template:Documentation既可以用来嵌入'''/doc'''子页面,也可以用来进行内联嵌入;同时,将有一定的样式来标记文档部分。 使用Template:Documentation能够将模板及其页面分离,从而避免'''内联文档'''的缺点(如被锁定后无法编辑说明、只选一个目录编辑可能…”
- 21:372022年5月19日 (四) 21:37 差异 历史 +1,653 模板:Documentation 无编辑摘要
- 21:362022年5月19日 (四) 21:36 差异 历史 +9,089 新 模板:Infobox/doc 创建页面,内容为“本模板为一系列「信息框」模板的元模板,亦即本模板用于构建其他模板。通常不建議在条目中直接使用此模板,但是如有需要,可以在個別「一次性」情況中直接使用。 === 用法 === 本模板与{{tl|navbox}}的用法相似,但也有一些不同之处。表格中的每一行既可以是顶栏(header),也可以是成对的标签(label)与数据(data),甚至还可以只是一个数据…”
- 21:162022年5月19日 (四) 21:16 差异 历史 −42 模板:Infobox 无编辑摘要
- 21:162022年5月19日 (四) 21:16 差异 历史 +69 新 模板:Infobox 创建页面,内容为“{{#invoke:Infobox|infobox}}<noinclude> {{documentation}} </noinclude>”
- 20:352022年5月19日 (四) 20:35 差异 历史 +10,054 新 模块:Arguments 创建页面,内容为“-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) ==…”
- 20:282022年5月19日 (四) 20:28 差异 历史 +182 新 模板:Documentation 创建页面,内容为“{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>”
- 20:262022年5月19日 (四) 20:26 差异 历史 +400 新 模板:Utils/Transclude 创建页面,内容为“{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }} | Template:{{{1}}} <!-- no leading colon, eg "Foo" --> | {{PAGENAME: {{{1}}} }} <!-- leading colon, eg ":Foo", so we want the article --> }} }}<noinclude> {{documentation}} </noinclude>”
- 20:242022年5月19日 (四) 20:24 差异 历史 +243 新 模板:Tl 创建页面,内容为“<includeonly>{{[[{{transclude|{{{1}}}}}|{{{1}}}]]{{#if:{{{2|{{{arg|}}}}}}|{{!}}{{{2|{{{arg}}}}}}}}}}</includeonly><noinclude> {{Documentation}} <!-- 請在將分類與跨語言連結增加在 /doc 子頁面 --> </noinclude>”
- 20:202022年5月19日 (四) 20:20 差异 历史 +931 MediaWiki:Common.css 无编辑摘要
- 20:192022年5月19日 (四) 20:19 差异 历史 +17,232 新 模块:Infobox 创建页面,内容为“-- -- This module implements {{Infobox}} -- 中文的此模块对比英文维基多解析了overimage, overcaption, -- overimagerowclass以及header/labal/data*style参数。 -- local p = {} local navbar = require('Module:Navbar')._navbar local args = {} local origArgs = {} local root local function notempty( s ) return s and s:match( '%S' ) end local function fixChildBoxes(sval, tt) if notempty(sval) then local marker = '<span class=special_infobox_mar…”
- 20:172022年5月19日 (四) 20:17 差异 历史 +2,603 新 模块:Navbar 创建页面,内容为“local p = {} local getArgs function p._navbar(args) local titleArg = 1 if args.collapsible then titleArg = 2 if not args.plain then args.mini = 1 end if args.fontcolor then args.fontstyle = 'color:' .. args.fontcolor .. ';' end args.style = 'float:left; text-align:left' end local titleText = args[titleArg] or (':' .. mw.getCurrentFrame():getParent():getTitle()) local title = mw.title.new(mw.text.trim(titleText), 'Template'); if not…”
2022年5月18日 (星期三)
- 20:302022年5月18日 (三) 20:30 差异 历史 +234 MediaWiki:Common.css 无编辑摘要
- 20:082022年5月18日 (三) 20:08 差异 历史 −80 模板:Utils/Docname 无编辑摘要
- 20:072022年5月18日 (三) 20:07 差异 历史 −224 模板:Utils/Docname 无编辑摘要
- 20:072022年5月18日 (三) 20:07 差异 历史 +402 新 模板:Utils/Docname 创建页面,内容为“{{SUBJECTPAGENAME}}/doc<noinclude> <!-- 中文还没有建立模板的沙盒和用例测试,先直接返回/doc子页面。 --> {{#switch: {{SUBPAGENAME}} |沙盒|sandbox|案例测试|testcases={{ #rel2abs: ../doc }} |#default={{SUBJECTPAGENAME}}/doc }}</noinclude><noinclude> ja:Template:Documentation/docname en:Template:Documentation/docname Category:模板页的模板</noinclude>”
- 19:572022年5月18日 (三) 19:57 差异 历史 0 新 文件:Icon-info.svg 无编辑摘要
- 19:322022年5月18日 (三) 19:32 差异 历史 +318 MediaWiki:Common.css 无编辑摘要
- 19:292022年5月18日 (三) 19:29 差异 历史 +438 新 MediaWiki:Common.css add: moegirl wiki infotemplate