KK的用户贡献
更多操作
2025年10月31日 (星期五)
- 20:572025年10月31日 (五) 20:57 差异 历史 −347 模块:Infobox settlement 无编辑摘要
- 20:252025年10月31日 (五) 20:25 差异 历史 +320 模块:Infobox settlement 无编辑摘要
- 20:212025年10月31日 (五) 20:21 差异 历史 −12 迪克城 无编辑摘要 标签:可视化编辑
- 20:202025年10月31日 (五) 20:20 差异 历史 −129 迪克城 无编辑摘要
- 20:202025年10月31日 (五) 20:20 差异 历史 +575 迪克城 无编辑摘要 标签:可视化编辑:已切换
- 20:192025年10月31日 (五) 20:19 差异 历史 −1,739 模板:Infobox settlement 页面内容被替换为“{{#invoke:Infobox settlement|main}} <noinclude> {{documentation}} <!-- 这是一个由 Module:Infobox settlement 驱动的聚居地信息框模板。 --> </noinclude>” 标签:替换
- 20:192025年10月31日 (五) 20:19 差异 历史 +3,158 新 模块:Infobox settlement 创建页面,内容为“local p = {} -- 辅助函数:检查参数是否存在且不为空 local function hasValue(arg) return arg and arg:match('%S') end -- 构建信息框的单行数据 local function buildRow(label, data) if hasValue(data) then local row = mw.html.create('tr') row:tag('th'):css('width', '30%'):wikitext(label) row:tag('td'):wikitext(data) return tostring(row) end return '' end -- 构建子标题行 local function…”
- 20:162025年10月31日 (五) 20:16 差异 历史 −58,873 模板:Infobox settlement 页面内容被替换为“{| class="infobox" style="width: 300px; font-size: 90%;" ! colspan="2" style="text-align: center; font-size: 125%; padding: 0.5em;" | {{{name|{{PAGENAMEBASE}}}}} {{#if: {{{native_name|}}}| |- ! colspan="2" style="text-align: center; font-style: italic;" | {{{native_name}}} }} {{#if: {{{image|}}}| |- | colspan="2" style="text-align: center;" | [[File:{{{image}}}|280px]] {{#if: {{{image_caption|}}}| <br /><span>{{{image_caption}}}</span> }} }} {{#if: {{{motto|}}}…” 标签:替换
- 19:092025年10月31日 (五) 19:09 差异 历史 +57 迪克城 无编辑摘要 标签:可视化编辑
- 19:082025年10月31日 (五) 19:08 差异 历史 +24,877 新 模块:Coordinates 创建页面,内容为“--[[ This module is intended to replace the functionality of {{Coord}} and related templates. It provides several methods, including {{#invoke:Coordinates | coord }} : General function formatting and displaying coordinate values. {{#invoke:Coordinates | dec2dms }} : Simple function for converting decimal degree values to DMS format. {{#invoke:Coordinates | dms2dec }} : Simple function for converting DMS format to decimal degree format. {{#invoke:Coordinate…” 当前
- 19:072025年10月31日 (五) 19:07 差异 历史 +141 新 模板:PAGENAMEBASE 创建页面,内容为“{{{{{|safesubst:}}}#Invoke:String|replace|{{{1|{{{{{|safesubst:}}}PAGENAME}}}}}|%s+%b()$||1|false}}<noinclude> {{documentation}} </noinclude>” 当前
- 19:062025年10月31日 (五) 19:06 差异 历史 +263 新 模块:If empty 创建页面,内容为“local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) local lastk = 0 for k,v in ipairs(args) do if v ~= '' then return v end lastk = k end end return p” 当前
- 19:062025年10月31日 (五) 19:06 差异 历史 +102 新 模板:If empty 创建页面,内容为“{{<includeonly>safesubst:</includeonly>#invoke:If empty|main}}<noinclude>{{Documentation}}</noinclude>” 当前
- 19:052025年10月31日 (五) 19:05 差异 历史 +277 新 模板:Infobox settlement/columns/styles.css 创建页面,内容为“.ib-settlement-cols { text-align: center; display: table; width: 100%; } .ib-settlement-cols-row { display: table-row; } .ib-settlement-cols-cell { display: table-cell; vertical-align: middle; } .ib-settlement-cols-cellt { display: table-cell; vertical-align: top; }” 当前
- 19:042025年10月31日 (五) 19:04 差异 历史 +1,961 新 模板:Infobox settlement/columns 创建页面,内容为“<templatestyles src="Infobox settlement/columns/styles.css"/> <div class="ib-settlement-cols"> <div class="ib-settlement-cols-row">{{#if:{{{0|}}} |<!-- if 0 -->{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}} |<!-- if 0 and (1 or 2 or 3 or 4 or 5) --><div class="ib-settlement-cols-cellt"> {{#if:{{{1|}}}|<div>{{{1}}}</div>}} {{#if:{{{2|}}}|<div>{{{2}}}</div>}} {{#if:{{{3|}}}|<div>{{{3}}}</div>}} {{#if:{{{4|}}}|<div>{{{4}}}</div>}} {{#if:{{{5|}}}|<div>{{{5}}}</d…” 当前
- 19:032025年10月31日 (五) 19:03 差异 历史 +60,778 新 模板:Infobox settlement 创建页面,内容为“<templatestyles src="ShareCSS/infobox.css" />{{Infobox | child = {{yesno|{{{embed|}}}}} | bodyclass = geography vcard | bodystyle = width:23em | headerstyle = text-align:left | abovestyle = font-size:1.25em; line-height: 1.5em; white-space:nowrap; | {{#ifeq:{{yesno|{{{embed|}}}}}|yes|title|above}} = {{#ifeq:{{yesno|{{{embed|}}}}}|yes| |<span class="fn org">{{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}</span> }}{{#if:{{{native_name|}}}…”
- 19:012025年10月31日 (五) 19:01 差异 历史 +303 迪克城 无编辑摘要
- 19:012025年10月31日 (五) 19:01 差异 历史 −304 新迪克 无编辑摘要
- 19:002025年10月31日 (五) 19:00 差异 历史 +30 新 迪克城 创建页面,内容为“迪克城是新迪克的首都” 标签:可视化编辑
- 18:582025年10月31日 (五) 18:58 差异 历史 −42 新迪克 无编辑摘要 标签:可视化编辑
- 18:582025年10月31日 (五) 18:58 差异 历史 −147 模块:Weather box 无编辑摘要
- 18:572025年10月31日 (五) 18:57 差异 历史 +140 模块:Weather box 无编辑摘要
- 18:562025年10月31日 (五) 18:56 差异 历史 −203 新迪克 无编辑摘要 标签:可视化编辑:已切换
- 18:552025年10月31日 (五) 18:55 差异 历史 −190 模块:Weather box 无编辑摘要
- 18:532025年10月31日 (五) 18:53 差异 历史 +212 新迪克 无编辑摘要
- 18:522025年10月31日 (五) 18:52 差异 历史 −798 新迪克 无编辑摘要 标签:可视化编辑:已切换
- 18:512025年10月31日 (五) 18:51 差异 历史 +1,522 新 模板:Weather box/concise C 创建页面,内容为“<noinclude><!-- -============================================================= - Template:Infobox weather/concise_C - table for Celsius -============================================================= -- (see documentation hereafter) --> </noinclude><includeonly><!-- -->{{Weather box{{{ver|}}} |location = {{{location|}}} |metric first = {{{metric_first|Yes}}} |single line = yes |temperature colour = {{{sctemp|pastel}}} |width = {{{width|}}} |Jan hig…” 当前
- 18:502025年10月31日 (五) 18:50 差异 历史 −48 新迪克 无编辑摘要
- 18:482025年10月31日 (五) 18:48 差异 历史 +7,672 新 模块:Weather box/colors 创建页面,内容为“local w = {} local math_mod = require('Module:Math') local function hex( value ) return string.format("%02X", value) end local function format_line( background, text_color ) return "background: #" .. background .. "; color:#" .. text_color .. ";" end local function range_pos( value, start, stop ) if start < stop then if value < start then return 0 elseif value > stop then return 1 else return (value - start) / (stop - start) end else i…” 当前
- 18:472025年10月31日 (五) 18:47 差异 历史 −686 新迪克 无编辑摘要 标签:可视化编辑:已切换
- 18:462025年10月31日 (五) 18:46 差异 历史 −3 新迪克 无编辑摘要 标签:可视化编辑
- 18:452025年10月31日 (五) 18:45 差异 历史 +10,566 新 模块:Weather box/row 创建页面,内容为“local math_mod = require('Module:Math') local traceText local Value Value = { lang = mw.getContentLanguage(), getDisplay = function (self, second) if not self:isValid() then return nil end local display = self.string if display == 'trace' then if second then -- If a cell displays "cm (inch)", show "trace" not "trace (trace)". return nil end return traceText or 'trace' end if math.abs(self.number) >= 1000 then display = self…” 当前
- 18:442025年10月31日 (五) 18:44 差异 历史 +14,646 新 模块:Math 创建页面,内容为“--This module provides a number of basic mathematical operations. local yesno, getArgs -- lazily initialized local p = {} -- Holds functions to be returned from #invoke, and functions to make available to other Lua modules. local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke and functions meant for Lua. --Helper functions used to avoid redundant code. loca…” 当前
- 18:422025年10月31日 (五) 18:42 差异 历史 +19,351 新 模块:Weather box 创建页面,内容为“-- Implement Template:Weather box. local _precision = require('Module:Math')._precision local function precision(text) -- Input like 'Jan precipitation inch = trace' calls this with text = 'trace' -- which would cause _precision to throw an error since it is not numeric. -- Workaround: Return 0 as the precision if an error occurs. local success, result = pcall(_precision, text) if success then return result end return 0 end local function stripTo…”
- 18:412025年10月31日 (五) 18:41 差异 历史 −8,305 模板:Weather box 页面内容被替换为“<includeonly>{{#invoke:Weather box|main}}</includeonly><noinclude> {{Documentation}} </noinclude>” 标签:替换
- 18:292025年10月31日 (五) 18:29 差异 历史 −2 新迪克 无编辑摘要 标签:可视化编辑
- 18:282025年10月31日 (五) 18:28 差异 历史 +282 新 模板:Weather box/font color 创建页面,内容为“{{#if:{{{1|}}}| {{#ifexpr: ({{{1}}}) > 34 or (({{{1}}}) < -24) and (({{{1}}}) > -31) or (({{{1}}}) < -30) | white | {{#ifexpr: ({{{1}}}) > 24 and (({{{1}}}) < 31) or (({{{1}}}) > -17) and (({{{1}}}) < 0) or (({{{1}}}) = 2) or (({{{1}}}) < -16) and (({{{1}}}) > -26) | black }} }} }}” 当前
- 18:282025年10月31日 (五) 18:28 差异 历史 −2 模板:Weather box/precip col 无编辑摘要 当前
- 18:272025年10月31日 (五) 18:27 差异 历史 −803 模板:Weather box/col 无编辑摘要 当前 标签:手工回退
- 18:242025年10月31日 (五) 18:24 差异 历史 +803 模板:Weather box/col 无编辑摘要 标签:已被回退
- 18:202025年10月31日 (五) 18:20 差异 历史 −1 新迪克 无编辑摘要
- 18:192025年10月31日 (五) 18:19 差异 历史 −7 模板:Weather box 无编辑摘要
- 18:192025年10月31日 (五) 18:19 差异 历史 +128 模板:Weather box/precip col 无编辑摘要
- 18:172025年10月31日 (五) 18:17 差异 历史 +1,873 新迪克 无编辑摘要 标签:可视化编辑:已切换
- 18:152025年10月31日 (五) 18:15 差异 历史 −1,045 模板:Weather box 无编辑摘要
- 18:142025年10月31日 (五) 18:14 差异 历史 +37 新 Sandbox 创建页面,内容为“{{#ifexpr: 5 > 3 | 正常 | 错误 }}”
- 18:042025年10月31日 (五) 18:04 差异 历史 +1,417 模板:Weather box 无编辑摘要
- 18:012025年10月31日 (五) 18:01 差异 历史 −13,441 模板:Weather box 无编辑摘要
- 18:002025年10月31日 (五) 18:00 差异 历史 +420 新 模板:Weather box/precip col 创建页面,内容为“{{#if:{{{1|}}}| {{#ifexpr: {{{1}}} > 400 | #4B0082 | {{#ifexpr: {{{1}}} > 300 | #0000CD | {{#ifexpr: {{{1}}} > 200 | #0000FF | {{#ifexpr: {{{1}}} > 150 | #1E90FF | {{#ifexpr: {{{1}}} > 100 | #87CEFA | {{#ifexpr: {{{1}}} > 75 | #98FB98 | {{#ifexpr: {{{1}}} > 50 | #90EE90 | {{#ifexpr: {{{1}}} > 25 | #ADFF2F | {{#ifexpr: {{{1}}} > 10 | #FFFF99 | {{#ifexpr: {{{1}}} > 0 | #FFFFE0 | transparent }}}}}}}}}} }} |transparent}}”
- 17:592025年10月31日 (五) 17:59 差异 历史 −50 模板:Weather box/col 无编辑摘要