Đóng góp của Pyc1948

Thành viên với 1.360 lần sửa đổi. Đã mở tài khoản vào ngày 22 tháng 6 năm 2023.
Bước tới điều hướng Bước tới tìm kiếm
Tìm kiếm đóng góphiệnẩn
⧼contribs-top⧽
⧼contribs-date⧽

ngày 23 tháng 6 năm 2023

  • 06:4106:41, ngày 23 tháng 6 năm 2023 khác sử +1.046 M Bản mẫu:Case templates see alsoTạo trang mới với nội dung “* {{tl|Fixcaps}} – capitalizes or lowercases words (mostly used to repair paragraphs written by new editors in all-caps or all-lowercase <nowiki>{{fixcaps|pLAy/tHE/GamE}}</nowiki> → {{fixcaps|pLAy/tHE/GamE}} * {{tl|R from other capitalisation}} – for categorizing WP:Redirects from titles to article (or other pages) where the redirect is just a different capitalization * {{tl|Template capitalization}} – ?? Help:Magic words#Formatting|Mag…” hiện tại
  • 06:4006:40, ngày 23 tháng 6 năm 2023 khác sử +124 M Bản mẫu:ConvertTạo trang mới với nội dung “<includeonly>{{{{{♥|safesubst:}}}#gọi:Convert|convert|warnings=1}}</includeonly><noinclude> {{Tài liệu}} </noinclude>” hiện tại
  • 06:3906:39, ngày 23 tháng 6 năm 2023 khác sử +66 M Bản mẫu:PosnqTạo trang mới với nội dung “{{#invoke:String2 |posnq}}<noinclude> {{Tài liệu}} </noinclude>” hiện tại
  • 06:3906:39, ngày 23 tháng 6 năm 2023 khác sử +73 M Bản mẫu:FindpagetextTạo trang mới với nội dung “{{#invoke:String2 |findpagetext}}<noinclude> {{Tài liệu}} </noinclude>” hiện tại
  • 06:3906:39, ngày 23 tháng 6 năm 2023 khác sử +66 M Bản mẫu:One2aTạo trang mới với nội dung “{{#invoke:String2 |one2a}}<noinclude> {{Tài liệu}} </noinclude>” hiện tại
  • 06:3806:38, ngày 23 tháng 6 năm 2023 khác sử +66 M Bản mẫu:StringsplitTạo trang mới với nội dung “{{#invoke:String2 |split}}<noinclude> {{Tài liệu}} </noinclude>” hiện tại
  • 06:3806:38, ngày 23 tháng 6 năm 2023 khác sử +103 M Bản mẫu:HlistTạo trang mới với nội dung “{{<includeonly>safesubst:</includeonly>#gọi:list|horizontal}}<noinclude> {{Tài liệu}} </noinclude>” hiện tại
  • 06:3806:38, ngày 23 tháng 6 năm 2023 khác sử +20.794 M Mô đun:String2/tài liệuTạo trang mới với nội dung “{{module rating|release}} The module '''String2''' contains five case-related calls that convert strings to upper, lower, sentence or title case and two calls that are useful for working with substrings. There are two utility calls that strip leading zeros from padded numbers and transform text so that it is not interpreted as wikitext. == Functions == === upper === The upper function simply converts all characters to upper case. === lower === The…” hiện tại
  • 06:3706:37, ngày 23 tháng 6 năm 2023 khác sử +7.715 M Mô đun:String2Tạo trang mới với nội dung “local p = {} p.upper = function(frame) local s = mw.text.trim(frame.args[1] or "") return string.upper(s) end p.lower = function(frame) local s = mw.text.trim(frame.args[1] or "") return string.lower(s) end p.sentence = function (frame ) frame.args[1] = string.lower(frame.args[1]) return p.ucfirst(frame) end p.ucfirst = function (frame ) local s = mw.text.trim( frame.args[1] or "" ) local s1 = "" -- if it's a list chop off and (store a…” hiện tại
  • 06:3706:37, ngày 23 tháng 6 năm 2023 khác sử +7.877 M Bản mẫu:String handling templatesTạo trang mới với nội dung “{{#gọi:Navbox with collapsible groups|navbox | name = Bản mẫu xử lý chuỗi kí tự | state = {{{state|expanded}}} | bodyclass = plainlist | title = Bản mẫu xử lý chuỗi kí tự (trợ giúp) | selected = {{{selected|{{{expanded|{{{1|}}}}}}}}} <!---------------------- Trimming -------------------------> | abbr1 = sub | sect1 = Chuỗi con (chọn một đoạn các kí tự theo vị trí của n…” hiện tại
  • 06:3606:36, ngày 23 tháng 6 năm 2023 khác sử +172 M Bản mẫu:CodeTạo trang mới với nội dung “{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}|style={{{style|}}}|inline=1}}<noinclude> {{Tài liệu}} </noinclude>” hiện tại
  • 06:3606:36, ngày 23 tháng 6 năm 2023 khác sử +2.910 M Mô đun:String/testcasesTạo trang mới với nội dung “-- Các trường hợp kiểm thử đơn vị cho Mô đun:String. Mở trang thảo luận để chạy các -- trường hợp kiểm thử. local p = require('Mô đun:UnitTests') function p:test_len() self:preprocess_equals_many('{{#gọi:String/sandbox|len|', '}}', { {' foo ', '5'}, {'s= foo ', '3'}, {'', '0'}, {'s=', '0'}, {' ', '3'}, {'最近の更新', '5'}, }) end function p:…” hiện tại
  • 06:3506:35, ngày 23 tháng 6 năm 2023 khác sử +20.178 M Mô đun:String/tài liệuTạo trang mới với nội dung “{{Used in system}} {{Module rating|protected}} {{Lmd|String}} This module is intended to provide access to basic string functions. Most of the functions provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove any leading or trailing whitespace from the parameter. Depending on the intended use, it may be advantageous to either preserve or remove such wh…” hiện tại
  • 06:3506:35, ngày 23 tháng 6 năm 2023 khác sử +19.159 M Mô đun:StringTạo trang mới với nội dung “--[=[ Mô đun này nhằm cung cấp các hàm chuỗi cơ bản. Phần nhiều hàm này cho phép gọi với các tham số có tên, các tham số không có tên, hoặc pha trộn cả hai kiểu. Nếu sử dụng các tham số có tên, MediaWiki tự động bỏ qua khoảng cách đằng truớc và đằng sau tham số. Tùy cách sử dụng, bạn có thể cần giữ hoặc bỏ qua khoảng cách này. Các tùy chọn toà…” hiện tại
  • 06:3406:34, ngày 23 tháng 6 năm 2023 khác sử +3.687 M Mô đun:Sidebar/styles.cssTạo trang mới với nội dung “: →‎TODO: Invert width design to be "mobile first": .sidebar { →‎TODO: Ask if we should have max-width 22em instead: width: 22em; →‎@noflip: float: right; →‎@noflip: clear: right; →‎@noflip: margin: 0.5em 0 1em 1em; background: #f8f9fa; border: 1px solid #aaa; padding: 0.2em; text-align: center; line-height: 1.4em; font-size: 88%; border-collapse: collapse; /* Timeless has display: none on .nomobile at mobile resolu…” hiện tại
  • 06:3306:33, ngày 23 tháng 6 năm 2023 khác sử +1.731 M Mô đun:Sidebar/configurationTạo trang mới với nội dung “return { i18n = { child_yes = 'yes', float_none = 'none', float_left = 'left', wrap_true = 'true', navbar_none = 'none', navbar_off = 'off', default_list_title = 'Danh sách', title_not_to_add_navbar = 'Bản mẫu:Thanh bên', collapse_title_not_to_add_navbar = 'Bản mẫu:Sidebar with collapsible lists', templatestyles = 'Mô đun:Sidebar/styles.css', category = { child = '[[Thể loại:Trang sử dụng thanh bên có t…” hiện tại
  • 06:3306:33, ngày 23 tháng 6 năm 2023 khác sử +8.109 M Mô đun:SidebarTạo trang mới với nội dung “-- -- Mô đun này thực hiện {{Sidebar}} -- require('strict') local p = {} local getArgs = require('Mô đun:Arguments').getArgs local navbar = require('Mô đun:Navbar')._navbar local function trimAndAddAutomaticNewline(s) -- For compatibility with the original {{sidebar with collapsible lists}} -- implementation, which passed some parameters through {{#if}} to trim -- their whitespace. This also triggered the automatic newline behavior.…” hiện tại
  • 06:3206:32, ngày 23 tháng 6 năm 2023 khác sử +2.769 M Mô đun:Side boxTạo trang mới với nội dung “ -- Mô đun này thực hiện {{hộp bên}}. local yesno = require('Mô đun:Yesno') local p = {} function p.main(frame) local origArgs = frame:getParent().args local args = {} for k, v in pairs(origArgs) do v = v:match('%s*(.-)%s*$') if v ~= '' then args[k] = v end end return p._main(args) end function p._main(args) local data = p.makeData(args) return p.renderSidebox(data) end function p.makeData(args) local data = {} --…” hiện tại
  • 06:3206:32, ngày 23 tháng 6 năm 2023 khác sử +1.287 M Mô đun:Shortcut/configTạo trang mới với nội dung “-- This module holds configuration data for Mô đun: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'] = 'Viết tắt', -- The heading when |redirect=yes is given. It accepts the following parameter: -- $1 - the total number of shortcuts. (required) ['redirect-heading'] = '[[Wikipedia:Trang…” hiện tại
  • 06:3106:31, ngày 23 tháng 6 năm 2023 khác sử +4.355 M Mô đun:ShortcutTạo trang mới với nội dung “-- Mô đun này thực hiện {{Viết tắt}}. -- Set constants local CONFIG_MODULE = 'Mô đun:Shortcut/config' -- Load required modules local checkType = require('libraryUtil').checkType local yesno = require('Mô đun:Yesno') local p = {} local function message(msg, ...) return mw.message.newRawMessage(msg, ...):plain() end local function makeCategoryLink(cat) return string.format('%s:%s', mw.site.namespaces[14].name, cat) end functi…” hiện tại
  • 06:3006:30, ngày 23 tháng 6 năm 2023 khác sử +3.892 M Mô đun:Section linkTạo trang mới với nội dung “-- Mô đun này thực hiện {{section link}}. local checkType = require('libraryUtil').checkType local p = {} local function makeSectionLink(page, section, display) display = display or section page = page or '' return string.format('%s', page, section, display) end local function normalizeTitle(title) title = mw.ustring.gsub(mw.ustring.gsub(title,"'",""),'"','') return mw.title.new(mw.ustring.gsub(title,"%b<>","")).prefixedText…” hiện tại
  • 06:2906:29, ngày 23 tháng 6 năm 2023 khác sử +3.010 M Mô đun:Redirect templateTạo trang mới với nội dung “require('strict') local p = {} -- key is beginning of arg name. value is table with namespace number and link -- alternatively, a function taking the namespace number and returning a validity -- can be used local namespaceCategories = { all = { function() return true end }, main = { 0, 'chính' }, help = { 12, 'trợ giúp' }, portal = { 100, '[[Wikipedia:Cổng thông tin|cổng…” hiện tại
  • 06:2906:29, ngày 23 tháng 6 năm 2023 khác sử +4.053 M Mô đun:RedirectTạo trang mới với nội dung “-- 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…” hiện tại
  • 06:2506:25, ngày 23 tháng 6 năm 2023 khác sử +1.064 M Mô đun:PurgeTạo trang mới với nội dung “-- Mô đun này thực hiện Bản mẫu:Purge. local p = {} local function makeUrlLink(url, display) return string.format('[%s %s]', url, display) end function p._main(args) -- Make the URL local url do local title if args.page then title = mw.title.new(args.page) if not title then error(string.format( "'%s' không phải là một tên trang hợp lệ", args.page ), 2) end else title = mw.title.getC…” hiện tại
  • 06:2406:24, ngày 23 tháng 6 năm 2023 khác sử +2.240 M Mô đun:Protection banner/documentationTạo trang mới với nội dung “-- 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 functio…” hiện tại
  • 05:5805:58, ngày 23 tháng 6 năm 2023 khác sử +49.805 M Mô đun:Protection banner/configTạo trang mới với nội dung “-- This module provides configuration data for Module:Protection banner. return { -------------------------------------------------------------------------------- -- -- BANNER DATA -- -------------------------------------------------------------------------------- --[[ -- Banner data consists of six fields: -- * text - the main protection text that appears at the top of protection -- banners. -- * explanation -…” hiện tại
  • 05:5705:57, ngày 23 tháng 6 năm 2023 khác sử +3.144 M Bản mẫu:Collapsible optionTạo trang mới với nội dung “'''{{big|Trạng thái hiển thị ban đầu}}''': hiện tại mặc định là '''{{big|{{#switch:{{{default|{{{mặc định|}}}}}}|collapsed=collapsed|expanded=expanded|autocollapse|#default=autocollapse}}}}''' Để thiết lập trạng thái hiển thị ban đầu của bản mẫu, sử dụng tham số {{thông số|{{{parameter_name|state}}}}} như sau: <ul> <li>{{thông số|{{{parameter_name|stat…” hiện tại
  • 05:5705:57, ngày 23 tháng 6 năm 2023 khác sử +3.125 M Bản mẫu:Protection templatesTạo trang mới với nội dung “{{Navbox | state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}} | class = <!--ombox ombox-protection--> | navbar = plain | title = {{c|Bản mẫu khóa}} | image<!--left--> = <!--40px|link=|alt=--> | tracking = no <!-- keep all the documented templates out of the hlist tracking category --> | list1 = {{Aligned table |cols=4 |style=border:1px solid #aaa;font-size:110%;margin:0 auto<!-- 0.2em-->;…” hiện tại
  • 05:5605:56, ngày 23 tháng 6 năm 2023 khác sử +7.493 M Mô đun:Protection banner/tài liệuTạo trang mới với nội dung “{{Module rating|p}} Mô-đun này tạo biểu ngữ bảo vệ và biểu tượng ổ khóa được đặt ở đầu trang được khóa. == Sử dụng == Hầu hết người dùng sẽ không cần sử dụng mô-đun này trực tiếp. Để thêm các bản mẫu khóa vào các trang, bạn có thể sử dụng bản mẫu {{tl|Khóa}} hoặc bạn có thể thấy thuận tiện hơn khi sử dụng một trong các bản mẫu khóa…” hiện tại
  • 05:5605:56, ngày 23 tháng 6 năm 2023 khác sử +25.700 M Mô đun:Protection bannerTạo trang mới với nội dung “-- This module implements {{pp-meta}} and its daughter templates such as -- {{pp-dispute}}, {{pp-vandalism}} and {{pp-sock}}. -- Initialise necessary modules. require('strict') local makeFileLink = require('Mô đun:File link')._main local effectiveProtectionLevel = require('Mô đun:Effective protection level')._main local effectiveProtectionExpiry = require('Mô đun:Effective protection expiry')._main local yesno = require('Mô đun:Yesno') -- L…” hiện tại
  • 05:5305:53, ngày 23 tháng 6 năm 2023 khác sử +4.441 M Mô đun:Pagetype/configTạo trang mới với nội dung “-------------------------------------------------------------------------------- -- Module:Pagetype configuration data -- -- This page holds localisation and configuration data for Module:Pagetype. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. -------------------------------------------------------------------------------- --…” hiện tại
  • 05:4805:48, ngày 23 tháng 6 năm 2023 khác sử +158 M Bản mẫu:PhabTạo trang mới với nội dung “{{#ifeq:{{padleft:|1|{{{1|T}}}}}|T |[[Phabricator:{{{1|}}}|{{{1|Phabricator}}}]] |[[Phabricator:T{{{1}}}|T{{{1}}}]] }}<noinclude> {{Tài liệu}} </noinclude>” hiện tại
  • 05:4605:46, ngày 23 tháng 6 năm 2023 khác sử +461 M Mô đun:No globals/tài liệuTạo trang mới với nội dung “{{high-risk|1361702|all-pages = yes}} {{used in system}} {{module rating|protected}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> <includeonly>{{Sandbox other|| <!-- Categories go here and interwikis go in Wikidata. --> Thể loại:Mô đun Wikipedia }}</includeonly> Mô đun này có các tính năng được đưa vào Scribunto ({{phab|T209310}}) nhưng hiện nay nên được thay thế bằng {{ml-lua|st…” hiện tại
  • 05:4505:45, ngày 23 tháng 6 năm 2023 khác sử +323 M Mô đun:No globalsTạo trang mới với nội dung “local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then error('Cố đọc biến toàn cục nil ' .. tostring(k), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error('Cố ghi biến toàn cục ' .. tostring(k), 2) end rawset(t, k, v) end setmetatable(_G, mt)” hiện tại
  • 05:4405:44, ngày 23 tháng 6 năm 2023 khác sử +725 M Mô đun:Navbar/styles.cssTạo trang mới với nội dung “: .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar-collapse { float: left; text-align: left; } .navbar-boxtext { word-spacing: 0; } .navbar ul { display: inline-block; white-space: nowrap; line-height: inherit; } .navbar-brackets::before { margin-right: -0.125em; content: '[ '; } .navbar-brackets::after { margin-left: -0.125em; content: ' ]'; } .navbar li { word-spacing: -0.125em; } .navbar a > span,…” hiện tại
  • 05:4305:43, ngày 23 tháng 6 năm 2023 khác sử +887 M Mô đun:Navbar/configurationTạo trang mới với nội dung “return { ['templatestyles'] = 'Mô đun:Navbar/styles.css', ['box_text'] = 'Hộp này: ', -- default text box when not plain or mini ['title_namespace'] = 'Template', -- namespace to default to for title ['invalid_title'] = 'Tiêu đề không hợp lệ ', ['classes'] = { -- set a line to nil if you don't want it ['navbar'] = 'navbar', ['plainlinks'] = 'plainlinks', -- plainlinks ['horizontal_list'] = 'hlist', -- horizontal list class…” hiện tại
  • 05:1805:18, ngày 23 tháng 6 năm 2023 khác sử +91 M Bản mẫu:SidebarTạo trang mới với nội dung “<includeonly>{{#gọi:Sidebar|sidebar}}</includeonly><noinclude>{{tài liệu}}</noinclude>” hiện tại
  • 05:1705:17, ngày 23 tháng 6 năm 2023 khác sử +1.206 M Bản mẫu:Lua sidebarTạo trang mới với nội dung “{{Sidebar|width=238px | title = Liên kết liên quan | content1 = {{div col|colwidth=8em}} <div class="plainlist"> * [[Bản mẫu:{{{Bản mẫu|{{{title|{{BASEPAGENAME}}}}}}}}|Bản mẫu]] {{#if:{{#invoke:redirect|isRedirect|Template talk:{{{Bản mẫu|{{{title|{{BASEPAGENAME}}}}}}}}}}||([[Template talk:{{{template|{{{title|{{BASEPAGENAME}}}}}}}}|talk]])}} * [[Bản mẫu:{{{Bản mẫu|{{{title|{{BASEPAGENAME}}}}}}}}/sandbox|Template sandbox]]…” hiện tại
  • 05:1705:17, ngày 23 tháng 6 năm 2023 khác sử +838 M Mô đun:Navbox/tài liệuTạo trang mới với nội dung “<!-- XIN HÃY THÊM THỂ LOẠI VÀO PHÍA DƯỚI TRANG NÀY. --> <!-- Để bổ sung liên kết liên wiki, hãy ghé vào Wikidata. --> {{Sử dụng nhiều|264000}} {{Module rating|protected}} {{Lua|Mô đun:Navbar|Mô đun:Arguments|Mô đun:Color contrast}} {{Lua sidebar}} Mô đun này thực thi bản mẫu {{tl|Hộp điều hướng}}. Vui lòng xem trang bản mẫu để biết hướng dẫn. == Các thể loại theo dõi/bảo tr…” hiện tại
  • 05:1305:13, ngày 23 tháng 6 năm 2023 khác sử +15.675 M Mô đun:NavboxTạo trang mới với nội dung “-- -- Mô đun này thực hiện {{Hộp điều hướng}} -- local p = {} local navbar = require('Mô đun:Navbar')._navbar local getArgs -- lazily initialized local args local border local listnums local ODD_EVEN_MARKER = '\127_ODDEVEN_\127' local RESTART_MARKER = '\127_ODDEVEN0_\127' local REGEX_MARKER = '\127_ODDEVEN(%d?)_\127' local function striped(wikitext) -- Return wikitext with markers replaced for odd/even striping. -- Child (subgr…” hiện tại
  • 05:1305:13, ngày 23 tháng 6 năm 2023 khác sử +357 M Mô đun:Navbar/tài liệuTạo trang mới với nội dung “{{Sử dụng nhiều|1216743|all-pages = yes}} {{used in system}} {{module rating|protected}} {{Lua|<!--Mô đun:Navbar/configuration|-->Mô đun:Arguments|Mô đun:TableTools}} {{Uses TemplateStyles|Mô đun:Navbar/styles.css}} Đây là Lua thực hiện của {{tl|Thanh điều hướng}}. Nó được sử dụng trong Mô đun:Navbox.” hiện tại
  • 05:1305:13, ngày 23 tháng 6 năm 2023 khác sử +3.176 M Mô đun:NavbarTạo trang mới với nội dung “local p = {} local getArgs local ul function p.addItem (mini, full, link, descrip, args, url) local l if url then l = {'[', '', ']'} else l = {'', ''} end ul:tag('li') :addClass('nv-'..full) :wikitext(l[1] .. link .. l[2]) :tag(args.mini and 'abbr' or 'span') :attr('title', descrip..' bản mẫu này') :cssText(args.fontstyle) :wikitext(args.mini and mini or full) :done() :wikitext(l[3]) end function p.bracke…” hiện tại
  • 05:1205:12, ngày 23 tháng 6 năm 2023 khác sử +2.572 M Mô đun:Namespace detect/dataTạo trang mới với nội dung “-------------------------------------------------------------------------------- -- Namespace detect data -- -- This module holds data for Mô đun:Namespace detect to be loaded per -- -- page, rather than per #gọi, for performance reasons. -- -------------------------------------------------------------------------------- local cfg = require('Mô đun:Namespace detect/…” hiện tại
  • 05:1205:12, ngày 23 tháng 6 năm 2023 khác sử +3.552 M Mô đun:Namespace detect/configTạo trang mới với nội dung “-------------------------------------------------------------------------------- -- Namespace detect configuration data -- -- -- -- This module stores configuration data for Module:Namespace detect. Here -- -- you can localise the module to your wiki's language. -- --…” hiện tại
  • 05:1105:11, ngày 23 tháng 6 năm 2023 khác sử +5.992 M Mô đun:Namespace detectTạo trang mới với nội dung “--[[ -------------------------------------------------------------------------------- -- -- -- NAMESPACE DETECT -- -- -- -- This module implements the {{namespace detect}} template in Lua, with a -- -- few improvements: all namespaces and all…” hiện tại
  • 05:0705:07, ngày 23 tháng 6 năm 2023 khác sử +68 M Mô đun:Message box/configuration/tài liệuTạo trang mới với nội dung “{{high-risk|161474}} {{Used in system}} {{Module rating|protected}}” hiện tại
  • 05:0605:06, ngày 23 tháng 6 năm 2023 khác sử +8.602 M Mô đun:Message box/configurationTạo trang mới với nội dung “-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- local config = { ambox = { types = { speed…” hiện tại
  • 05:0605:06, ngày 23 tháng 6 năm 2023 khác sử +5.203 M Mô đun:Message box/tài liệuTạo trang mới với nội dung “{{high-risk|196905|all-pages = yes}} {{Used in system}} {{module rating|p}} This is a meta-module that implements the message box templates {{tl|mbox}}, {{tl|ambox}}, {{tl|cmbox}}, {{tl|fmbox}}, {{tl|imbox}}, {{tl|ombox}}, and {{tl|tmbox}}. It is intended to be used from Lua modules, and should not be used directly from wiki pages. If you want to use this module's functionality from a wiki page, please use the individual message box templates instea…” hiện tại
  • 05:0605:06, ngày 23 tháng 6 năm 2023 khác sử +18.278 M Mô đun:Message boxTạo trang mới với nội dung “-- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}. -- Load necessary modules. require('Mô đun:No globals') local getArgs local yesno = require('Mô đun:Yesno') -- Get a language object for formatDate and ucfirst. local lang = mw.language.getContentLanguage() -- Define constants local CONFIG_MODULE = 'Mô đun:Message box/configuration' local D…” hiện tại
  • 05:0305:03, ngày 23 tháng 6 năm 2023 khác sử +14.375 M Mô đun:MathTạo trang mới với nội dung “--Mô đun này cung cấp nhiều phép toán cơ bản. 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. l…” hiện tại