所有公开日志
跳转到导航
跳转到搜索
所有NeuroWiki公开日志的联合展示。您可以通过选择日志类型、输入用户名(区分大小写)或相关页面(区分大小写)筛选日志条目。
- 2024年11月1日 (五) 12:59 Selfice 留言 贡献创建了页面Template:Navbar/doc (创建页面,内容为“{{lua|Module:Navbar}} <!-- 在本行下編輯模板說明 --> 本模板由{{Tl|Tnavbar}}改名而成。 == 用法 == {| class="wikitable" style="font-size:100%" ! 選項 !! 參數 !! 結果 |- | 一般 || <code><nowiki>{{navbar|模板名}}</nowiki></code> || {{navbar|navbar/doc}} |- | 沒有<code style="background-color:yellow">本模板: </code>的文字開頭 || <code><nowiki>{{navbar|模板名|plain=1}}</nowiki></code> || {{navbar|navbar/doc|plain=1}} |- |…”)
- 2024年11月1日 (五) 12:57 Selfice 留言 贡献创建了页面Template:Navbar (创建页面,内容为“<includeonly>{{#invoke:Navbar|navbar}}</includeonly><noinclude> {{documentation}} </noinclude>”)
- 2024年11月1日 (五) 12:20 Selfice 留言 贡献创建了页面Template:Tsloader (重定向页面至Template:TSLoader) 标签:新重定向
- 2024年11月1日 (五) 12:18 Selfice 留言 贡献创建了页面Module:TableTools (创建页面,内容为“------------------------------------------------------------------------------------ -- TableTools -- -- -- -- This module includes a number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other Lua modules, and should not -- -- be called directly from #invoke.…”)
- 2024年11月1日 (五) 12:16 Selfice 留言 贡献创建了页面Module:List (创建页面,内容为“local libUtil = require('libraryUtil') local checkType = libUtil.checkType local mTableTools = require('Module:TableTools') local p = {} local listTypes = { ['bulleted'] = true, ['unbulleted'] = true, ['horizontal'] = true, ['ordered'] = true, ['horizontal_ordered'] = true } function p.makeListData(listType, args) -- Constructs a data table to be passed to p.renderList. local data = {} -- Classes and TemplateStyles data.classes = {} data.templates…”)
- 2024年11月1日 (五) 12:15 Selfice 留言 贡献创建了页面Template:Bulleted list (创建页面,内容为“{{<includeonly>safesubst:</includeonly>#invoke:list|bulleted}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>”)
- 2024年11月1日 (五) 12:14 Selfice 留言 贡献创建了页面Template:Template shortcut/doc (创建页面,内容为“== 用法 == 本模板能夠在模板的說明頁中顯示模板的{{#if:{{{redirect|}}} |重定向 |-{zh-hans:快捷方式; zh-hant:捷徑;}-}}。 ==範例== ===基本=== For one template shortcut named {{tl|uw-v1}}: <pre> {{template shortcut|uw-v1}} </pre> {{template shortcut|uw-v1}} {{clear}} To indicate that {{tl|uw-vandalism1}} has three shortcuts named: {{tl|uw-v1}}, {{tl|uw-vand1}}, and {{tl|uw-vandal1}}; then the following code may be used: <pre>…”)
- 2024年11月1日 (五) 12:14 Selfice 留言 贡献创建了页面Template:Template shortcut (创建页面,内容为“<div role="note" class="shortcutbox shortcutbox-left plainlist plainlinks noprint" style="<!-- -->{{#switch:{{{clear|}}} |true=clear:{{{float|right}}}; |left|right|both=clear:{{{clear|}}}; |#default=}}<!-- -->float: {{#ifeq:{{{float|}}}|left|left|right}};<!-- -->margin: {{{top|0em}}} {{#ifeq:{{{float|}}}|left|1em 0em 0em|0em 0em 1em}};<!-- -->border: 1px solid var(--border-color-base,#aaa); background: var(--background-color-base,#fff); padding: 0.3em 0.6em 0.2…”)
- 2024年11月1日 (五) 12:10 Selfice 留言 贡献创建了页面Module:Redirect (创建页面,内容为“-- This module provides functions for getting the target of a redirect page. local p = {} -- Gets a mw.title object, using pcall to avoid generating script errors if we -- are over the expensive function count limit (among other possible causes). local function getTitle(...) local success, titleObj = pcall(mw.title.new, ...) if success then return titleObj else return nil end end -- Gets the name of a page that a redirect leads to, or nil if it isn't…”)
- 2024年11月1日 (五) 12:06 Selfice 留言 贡献创建了页面Template:Lan/doc (创建页面,内容为“Lan模板可以在普通繁简转换功能(<nowiki>-{zh:; zh-hans:; zh-hant:; zh-cn:;……}-</nowiki>)无法发挥作用时替代其进行转换,比如图片的转换(建议使用{{tl|Image}})、提示文字的转换等。然而,Lan模板是按界面语言而非语言变种转换的,不能通过页面顶部的用字标签改变用字。也就是说,在可以使用<nowiki>-{}-</nowiki>进行转换时,请不要使用Lan模板。 {{Lua|模块:l…”)
- 2024年11月1日 (五) 12:05 Selfice 留言 贡献创建了页面Template:Lan (创建页面,内容为“<includeonly>{{#invoke:lan|main}}</includeonly><noinclude>{{模板文档}}</noinclude>”)
- 2024年11月1日 (五) 12:05 Selfice 留言 贡献创建了页面Template:No redirect (创建页面,内容为“{{{{{|safesubst:}}}#if: {{{{{|safesubst:}}}#invoke:Redirect|isRedirect|{{{1}}}}} | <span class="plainlinks">[{{fullurl:{{{1}}}|redirect=no}} {{{2|{{{1}}}}}}]</span> | {{{{{|safesubst:}}}#if:{{{2|}}}|[[:{{{{{|safesubst:}}}FULLPAGENAME:{{{1}}}}}|{{{2}}}]]|[[:{{{{{|safesubst:}}}FULLPAGENAME:{{{1}}}}}]]}} }}<noinclude>{{lua|Module:Redirect}} {{documentation}} </noinclude>”)
- 2024年11月1日 (五) 12:04 Selfice 留言 贡献创建了页面Module:Shortcut/config (创建页面,内容为“-- This module holds configuration data for Module:Shortcut. return { -- The heading at the top of the shortcut box. It accepts the following parameter: -- $1 - the total number of shortcuts. (required) ['shortcut-heading'] = '-{zh-hans:快捷方式;zh-hant:捷徑}-', -- The error message to display when a shortcut is invalid (is not a string, or -- is the blank string). It accepts the following parameter: -- $1 - the number of the s…”)
- 2024年11月1日 (五) 12:03 Selfice 留言 贡献创建了页面Module:Arguments/doc (创建页面,内容为“此模块是调用其他模块的模块。 此模块提供了对通过<code><nowiki>{{#invoke:}}</nowiki></code>(以下简称#invoke)传递参数的简单处理。这是元模块(meta-module),只能被其他模块使用,而不应被#invoke直接调用。其特性如下: * 对参数的简易修整,移除空白参数。 * 参数可以在当前框架或父框架中同时传递。(具体见下) * 参数可以直接通过其他Lua模块或调试…”)
- 2024年11月1日 (五) 12:02 Selfice 留言 贡献创建了页面Module: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) ==…”)
- 2024年11月1日 (五) 12:01 Selfice 留言 贡献创建了页面Module:Shortcut/doc (创建页面,内容为“{{Uses TemplateStyles|Template:Shortcut/styles.css|Template:Ombox/shortcut.css}} {{Lua sidebar}} 本模組可以產出一個文字方塊,顯示可連結至某個頁面的捷徑。 == 用法 == === 用於Wiki標記語法 === 如果要從Wiki標記語法引入,本模板應當從某個模板進行呼叫,通常使用的模板為{{tl|shortcut}}。請參考該模板的文件說明。然而,您也可以用Wiki標記語法進行呼叫:<code>{{tlxm|#invoke|…”)
- 2024年11月1日 (五) 12:00 Selfice 留言 贡献创建了页面Module:Shortcut (创建页面,内容为“-- This module implements {{shortcut}}. -- Set constants local CONFIG_MODULE = 'Module:Shortcut/config' -- Load required modules local checkType = require('libraryUtil').checkType local yesno = require('Module:Yesno') local p = {} function p._getshortname(frame) return frame:expandTemplate{title = "Lan",args = {["zh-hans"]="快捷方式",["zh-hant"]="捷徑"}} end function p.getshortlink(frame) return "[[Wikipedia:捷徑|" .. p._getshortname(frame) .. "…”)
- 2024年11月1日 (五) 11:49 Selfice 留言 贡献创建了页面Template:Error/doc (创建页面,内容为“{{documentation header}} <!-- 文档页面 --> {{lua|Error}} 此模板用于显示一个类似于解析器错误的红色文字。 == 用法 == {{p|1}}用于指定显示的内容。 * {{tl|error|An exemplary error}} → {{error|An exemplary error|nocat=1}} * 对比解析器错误:<code>{{<nowiki/>#expr:Foo}}</code> → {{#expr:Foo}} 如果未指定{{p|1}},将不会显示任何内容,但仍然可以被<code>{{<nowiki/>#iferror:}}</code>检…”)
- 2024年11月1日 (五) 11:48 Selfice 留言 贡献创建了页面Template:Error (创建页面,内容为“<includeonly>{{ #invoke: error | main }}</includeonly><noinclude>{{documentation}} <!-- 请将分类/语言链接放在文档页面 --></noinclude>”)
- 2024年11月1日 (五) 11:48 Selfice 留言 贡献创建了页面Module:Error/doc (创建页面,内容为“{{documentation header}} <!-- 文档页面 --> 此模块用于实现{{t|Error}}。 == 用法 == === main === 见{{t|error}}。 === call === <code>p.call( content, tag, nocat )</code>:生成错误提示。 * <code>content</code>:可选,要显示的错误文本,默认为空值。 * <code>tag</code>:可选,指定将错误文本包括在何种标签中,默认为strong。 * <code>nocat</code>:可选,不将页面列入分类中。 === errno ===…”)
- 2024年11月1日 (五) 11:48 Selfice 留言 贡献创建了页面Module:Error (创建页面,内容为“local p = {} local availableTags = { p = true, span = true, div = true, strong = true } function p.call( content, tag, nocat ) tag = string.lower( tag or '' ) return tostring( mw.html.create( availableTags[ tag ] and tag or 'strong' ) :addClass( 'error' ) :wikitext( content or '' ) ) .. ( nocat and '' or 'Category:页面内有Error模板指定的错误' ) end function p.main( f ) local args = f local frame = mw.getCurrentFrame() i…”)
- 2024年11月1日 (五) 11:45 Selfice 留言 贡献创建了页面Template:Tlp (创建页面,内容为“<span style="white-space:nowrap;">{{{{#if:{{{1|}}} | [[{{ns:Template}}:{{{1}}}|{{{1}}}]] | tlp|... }}<!-- -->{{#ifeq:{{{2|x}}}|{{{2|}}}| |{{{2}}} }}<!-- -->{{#ifeq:{{{3|x}}}|{{{3|}}}| |{{{3}}} }}<!-- -->{{#ifeq:{{{4|x}}}|{{{4|}}}| |{{{4}}} }}<!-- -->{{#ifeq:{{{5|x}}}|{{{5|}}}| |{{{5}}} }}<!-- -->{{#ifeq:{{{6|x}}}|{{{6|}}}| |{{{6}}} }}<!-- -->{{#ifeq:{{{7|x}}}|{{{7|}}}| |{{{7}}} }}<!-- -->{{#ifeq:{{{8|x}}}|{{{8|}}}| &…”)
- 2024年11月1日 (五) 11:45 Selfice 留言 贡献创建了页面Template:Yes-No/doc (创建页面,内容为“{{Template:Table_cell_templates/doc}}”)
- 2024年11月1日 (五) 11:44 Selfice 留言 贡献创建了页面Template:Yes-No (创建页面,内容为“<noinclude>{| class="wikitable" |- |</noinclude>style="background: #FFD; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="partial table-partial skin-invert"|{{{1|是/否}}}<noinclude> |} {{Documentation|Template:Table_cell_templates/doc}} <!-- interwikis & categories --> </noinclude>”)
- 2024年11月1日 (五) 11:43 Selfice 留言 贡献创建了页面Template:Yes/doc (创建页面,内容为“{{Template:Table cell templates/doc}}”)
- 2024年11月1日 (五) 11:43 Selfice 留言 贡献移动页面Template:NO/doc至Template:No/doc,不留重定向
- 2024年11月1日 (五) 11:43 Selfice 留言 贡献移动页面Template:NO至Template:No,不留重定向
- 2024年11月1日 (五) 11:42 Selfice 留言 贡献创建了页面Template:NO/doc (创建页面,内容为“{{Template:Table cell templates/doc}}”)
- 2024年11月1日 (五) 11:42 Selfice 留言 贡献创建了页面Template:NO (创建页面,内容为“<noinclude>{| class="wikitable" |- |</noinclude>class="table-no skin-invert" style="text-align:{{{align|center}}}; background:#FF9090"|{{#if:{{{1|}}}|{{{1|}}}|否}}<noinclude> |} {{Documentation|1=Template:Table cell templates/doc}} </noinclude>”)
- 2024年11月1日 (五) 11:40 Selfice 留言 贡献创建了页面Template:Yes (创建页面,内容为“<noinclude>{| class="wikitable" |- |</noinclude>class="table-yes skin-invert" style="text-align:{{{align|center}}}; background:#90FF90"|{{#if:{{{1|}}}|{{{1|}}}|是}}<noinclude> |} {{Documentation|1=Template:Table cell templates/doc}} </noinclude>”)
- 2024年11月1日 (五) 11:40 Selfice 留言 贡献创建了页面Template:N/A/doc (创建页面,内容为“<noinclude></noinclude> <!-- 在本行下編輯模板說明 --> {{Table cell templates/doc}} <includeonly> <!-- 本行下加入模板的分類 --> </includeonly>”)
- 2024年11月1日 (五) 11:39 Selfice 留言 贡献创建了页面Template:Table cell templates/doc (创建页面,内容为“<noinclude></noinclude> {{#ifeq:{{FULLPAGENAME}}|Template:BLACK|{{For|the text color template|Template:Black}}|{{#ifeq:{{FULLPAGENAME}}|Template:Ya|{{For|the template with a smaller tick and no green background|Template:Aye}}|{{#ifeq:{{FULLPAGENAME}}|Template:Maybe|{{For|the yellow tick template|Template:Mby}}}}}}}} 本系列中的模板用于在表格中创建一个含有文本以及适当的背景颜色的单元格。 它们通常用于:Cat…”)
- 2024年11月1日 (五) 11:37 Selfice 留言 贡献创建了页面Template:N/A (创建页面,内容为“{| class="wikitable" |- | <onlyinclude>data-sort-value="{{{sort|}}}" style="background: var(--background-color-disabled-subtle,#ececec); color: var(--color-disabled,#2c2c2c); vertical-align: middle; font-size: smaller; text-align: {{{align|center}}}; {{{style|}}}" class="table-na skin-invert" <!-- -->| {{{1|不適用}}}</onlyinclude> |} {{documentation}}”)
- 2024年11月1日 (五) 11:37 Selfice 留言 贡献创建了页面Template:N/a (重定向页面至Template:N/A) 标签:新重定向
- 2024年11月1日 (五) 11:35 Selfice 留言 贡献创建了页面Module:Yesno/doc (创建页面,内容为“本模块提供用于处理布尔值或形如布尔值的字符串输入的一致接口。Lua允许布尔值<code>true</code>和<code>false</code>,wiki代码则只能用像yes、no这样的词语来表达布尔值。本模块处理这些字符串并将其转化为布尔值,以供Lua处理。对于<code>nil</code>值依旧返回<code>nil</code>,以允许区分<code>nil</code>和<code>false</code>。本模块同样接受其他的Lua结构输入,如布尔…”)
- 2024年11月1日 (五) 11:34 Selfice 留言 贡献创建了页面Module:Yesno (创建页面,内容为“-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki uses non-ascii characters for any of "yes", "no", etc., you -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes' or val == 'y'…”)
- 2024年11月1日 (五) 11:34 Selfice 留言 贡献创建了页面Template:Fullurl2/doc (创建页面,内容为“{{Fullurl/doc}}”)
- 2024年11月1日 (五) 11:33 Selfice 留言 贡献创建了页面Template:Fullurl2 (创建页面,内容为“{{{{{|safesubst:}}}#invoke:fullurl|fullurl}}<noinclude> {{doc}}</noinclude>”)
- 2024年11月1日 (五) 11:32 Selfice 留言 贡献创建了页面Module:Fullurl/doc (创建页面,内容为“{{lua|Module:Fullurl}} == 概要 == 由於技術限制,使用{{tlx|fullurl}}時皆須要把等號用{{tlx|{{=}}}}替換,或是寫成<code>{{fullurl|title|2=a=b&c=d|3=文字}}</code>,因此寫了這個模板。 == 參數及使用方法 == 有幾個特殊參數: {| class="wikitable" |- ! 參數 !! 別名 !! 意義 |- | <code>title</code> || <code>1</code> || 標題,未填寫時自動讀取當前頁面名。 |- | <code>…”)
- 2024年11月1日 (五) 11:32 Selfice 留言 贡献创建了页面Module:Fullurl (创建页面,内容为“local p = {} local yesno = require('Module:Yesno') local mError = require('Module:Error').error function p._fullurl(args) local paid = '' local title = args['title'] or args[1] or args['1'] or tostring(mw.title.getCurrentTitle()) if title == '' then --不能讓title變空值,否則url會返回nil title = tostring(mw.title.getCurrentTitle()) end local text = args['text'] or args[2] or args['1'] or title for k, v in pairs( args ) do if ((k == 'titl…”)
- 2024年11月1日 (五) 11:04 Selfice 留言 贡献创建了页面Template:Infobox (创建页面,内容为“{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|{{remove first word|{{SUBPAGENAME}}}}}}}}{{#ifeq:{{PAGENAME}}|信息框||{{#ifeq:{{str rightc|{{SUBPAGENAME}}|3}}|信息框|{{str crop|{{SUBPAGENAME}}|3}}}}}}{{#ifeq:{{PAGENAME}}|資訊框||{{#ifeq:{{str rightc|{{SUBPAGENAME}}|3}}|資訊框|Category:信息框模板|{{str…”)
- 2024年11月1日 (五) 11:01 Selfice 留言 贡献创建了页面Template:Nowrap/doc (创建页面,内容为“本模板防止包含空格的一段文本或链接被从中换行。换行是在英文环境下可能需要注意的一个问题。中文环境下也可用该模板来保持一段文本不被换行所打断,例如: <pre>-{}- {{Nowrap|不想从中换行的文字}} </pre> 在你使用本模板之前你可能会想弄懂{{Link-en|Help:换行处理|Help:Line-break handling}}。 == 用法 == <pre> Lots of text {{Nowrap|10 kg (22 lb)}} more text. </pre> 它可…”)
- 2024年11月1日 (五) 10:58 Selfice 留言 贡献还原页面Template:Nowrap(1个修订版本)
- 2024年11月1日 (五) 10:57 Selfice 留言 贡献创建了页面Template:Demo/doc (创建页面,内容为“{{Lua|Module:Demo}} 该模板只是将模板代码(或任何其他代码)放在标签中<syntaxhighlight lang="wikitext">...</syntaxhighlight>,然后将该代码的呈现放在下面。 {{演示|< nowiki > {{您的模板}} </ nowiki >}} 重要提示:您必须用<nowiki>...</nowiki>标签包裹要演示的源(或者使用{{ escape }},它有一个 demo-escape 示例),如下所示: {{demo|<nowiki>[template source]</nowiki>}}”)
- 2024年11月1日 (五) 10:56 Selfice 留言 贡献创建了页面Module:Demo/doc (创建页面,内容为“{{Lua|Module:Demo}} 该模板只是将模板代码(或任何其他代码)放在标签中<syntaxhighlight lang="wikitext">...</syntaxhighlight>,然后将该代码的呈现放在下面。 {{演示|< nowiki > {{您的模板}} </ nowiki >}} 重要提示:您必须用<nowiki>...</nowiki>标签包裹要演示的源(或者使用{{ escape }},它有一个 demo-escape 示例),如下所示: {{demo|<nowiki>[template source]</nowiki>}}”)
- 2024年11月1日 (五) 10:55 Selfice 留言 贡献还原页面Module:Demo(1个修订版本)
- 2024年11月1日 (五) 10:54 Selfice 留言 贡献还原页面Template:Demo(1个修订版本)
- 2024年11月1日 (五) 10:54 Selfice 留言 贡献还原页面Template:Template Pre(1个修订版本)
- 2024年11月1日 (五) 10:53 Selfice 留言 贡献创建了页面Template:Template other/doc (创建页面,内容为“这是一个元模板,它可以帮助其他模板检测它们是否在“Template:”命名空间中使用。”)
- 2024年11月1日 (五) 10:52 Selfice 留言 贡献还原页面Template:Template other(1个修订版本)