Search Results: Module:Message box/configuration/doc

Sorry, the article you're looking for isn't specifically available. Here are related topics:


Module:Message box/configuration
Kamis, 2022-12-29 06:19:19

------------------------------------------ -- Message box configuration -- -- ...

Click to read more »
Module:Message box
Selasa, 2025-07-15 09:49:30

-- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}...

Click to read more »
Module:Asbox
Sabtu, 2021-01-30 20:55:31

containing parts. (See below) ]] local attention, catTag, catKey = Buffer'Stub message templates needin attention', '[[Category:%s]]', '%s|%s%s' local function...

Click to read more »
Module:Documentation
Kamis, 2022-12-29 06:19:20

$2 etc. in the -- message are substituted with values from the table keys [1], [2] etc. -- For example, if the message "foo-message" had the value 'Foo...

Click to read more »
Module:UserLinks
Sabtu, 2018-02-17 15:15:53

makeUrlLink local makeFullUrlLink = mShared.makeFullUrlLink local message = mShared.message local p = {} ----------------------------------------------...

Click to read more »
Module:Citation/CS1
Minggu, 2022-10-23 22:19:13

error message if utilities.is_set(error_message) then -- once we've added the first portion of the error message ... error_message = error_message...

Click to read more »
Module:Protect
Kamis, 2019-02-28 03:00:53

success then local message = tostring(... or '(no message)') if options.removeLocation then message = string.gsub(message, '^Module:[^:]+:%d+:...

Click to read more »
Module:UserLinks/shared
Senin, 2018-04-23 02:06:50

Message, demo) local errorMessage, section = mw.ustring.match(encodedMessage, '^(.-)|(.*)$') errorMessage = errorMessage or encodedMessage --...

Click to read more »
Module:EditAtWikidata
Sabtu, 2017-03-11 01:25:25

Message|local_parameter}} -- {{#invoke:EditAtWikidata|showMessage|qid=<ArticleID|local_parameter}} local p = {} local i18n = { ["message"] =...

Click to read more »
Module:Error
Selasa, 2015-08-11 08:39:09

:addClass('error') :wikitext(tostring(args.message or args[1] or error('no message specified', 2))) ) end function p.error(frame) ...

Click to read more »
Module:Check for unknown parameters
Kamis, 2020-10-15 01:12:52

class="hatnote" style="color:red"><strong>Warning:</strong> ' .. preview .. ' (this message is shown only in preview).</div>' elseif preview == nil then preview...

Click to read more »
Module:Link language
Sabtu, 2019-12-21 00:54:59

and mw.text.trim(lang) if lang and lang ~= '' then return mw.message.newRawMessage(cfg.messages['leid'], lang):plain() else return 'no leid specified'...

Click to read more »
Module:Shortcut/config
Jumat, 2022-01-28 01:50:38

'[[Wikipedia:Redirect|{{PLURAL:$1|Redirect|Redirects}}]]', -- The error message to display when a shortcut is invalid (is not a string, or -- is the blank...

Click to read more »
Module:Message box/ombox.css
Kamis, 2022-12-29 06:19:21

/* {{pp|small=y}} */ .ombox { margin: 4px 0; border-collapse: collapse; border: 1px solid #a2a9b1; /* Default "notice" gray */ background-color:...

Click to read more »
Module:TNT
Minggu, 2025-12-28 01:06:08

DESCRIPTION: -- The "msg" function uses a Commons dataset to translate a message -- with a given key (e.g. source-table), plus optional arguments --...

Click to read more »
Module:Citation/CS1/Configuration
Kamis, 2020-10-15 03:34:35

= { message = 'Check <code class="cs1-code">&#124;message-id=</code> value', anchor = 'bad_message_id', category = 'CS1 errors: message-id', ...

Click to read more »
Module:IPA symbol
Selasa, 2017-03-28 03:27:37

return data.correspondences[id]["type"] end local function html_error(message) if args[2] then return args[2] else return mw.ustring.format(...

Click to read more »
Module:Citation/CS1/Identifiers
Kamis, 2020-10-15 01:12:54

]] local has_accept_as_written, is_set, in_array, set_message, select_one, -- functions in Module:Citation/CS1/Utilities substitute...

Click to read more »
Module:CallAssert
Sabtu, 2019-02-16 06:43:05

argsCount) local message = mw.ustring.format( '%s(%s) failed', funcName, table.concat(args, ', ') ) error(message, 2) end return unpack(result...

Click to read more »
Module:UserLinks/config
Sabtu, 2018-02-17 15:19:56

See the comments in the code below for explanations -- -- of what each message does. --...

Click to read more »
Module:Citation/CS1/Utilities
Kamis, 2020-10-15 01:12:54

-- for categorizing citations that contain errors error_ids = {}; message_tail = {}; maintenance_cats = {}; -- for categorizing citations...

Click to read more »
Module:UserLinks/extra
Sabtu, 2018-02-17 15:19:00

makeUrlLink local makeFullUrlLink = mShared.makeFullUrlLink local message = mShared.message local linkFunctions = {} function linkFunctions.coibot(snippets)...

Click to read more »
Module:Shortcut
Jumat, 2022-01-28 01:50:37

require('Module:Yesno') local p = {} local function message(msg, ...) return mw.message.newRawMessage(msg, ...):plain() end local function makeCategoryLink(cat)...

Click to read more »
Module:Preview warning
Senin, 2018-06-04 02:53:33

'<div class="hatnote" style="color:red"><strong>Wairnin:</strong> ' .. preview .. ' (this message is shawn anerly in preview)</div>' end end return p...

Click to read more »
Module:TemplatePar
Rabu, 2023-04-19 21:20:37

Failsafe = TemplatePar local GlobalMod = Local -- Module globals Local.messagePrefix = "lua-module-TemplatePar-" Local.L10nDef = {} Local.L10nDef.en =...

Click to read more »
Module:Webarchive
Minggu, 2022-10-23 22:20:36

arguments in a message string using an argument table. ]] local function substitute (msg, args) return args and mw.message.newRawMessage (msg, args):plain()...

Click to read more »
Module:Lua banner
Kamis, 2020-10-15 01:53:50

local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs...

Click to read more »
Module:Category relatit
Jumat, 2020-10-23 03:30:06

-- level information so that we can catch it and format the error -- message as wikitext. error(string.format( "'%s' is not a valid category...

Click to read more »
Module:Age
Kamis, 2018-05-31 13:57:06

= true, on = true })[parameter] end local function message(msg, id) -- Return formatted message text for an error or warning. local categories = {...

Click to read more »
Module:Lang
Minggu, 2022-10-23 22:19:23

return nil and a nil error message. When both |italic= and |italics= are set, returns nil and a 'conflicting' error message. The return value nil causes...

Click to read more »
Module:WPSHIPS utilities
Minggu, 2022-10-23 22:24:15

string of characters that precede the error message span; typically '' and '*' message – the error message to be displayed; goes inside the span sep...

Click to read more »
Module:Separated entries
Sabtu, 2017-02-25 09:30:29

p.main = makeInvokeFunction() p.br = makeInvokeFunction('<br />') p.comma = makeInvokeFunction(mw.message.new('comma-separator'):plain()) return p...

Click to read more »
Module:Football manager history
Senin, 2017-10-09 10:21:55

concat(self, sep) end, } end local function message(msg, caller, nocat) -- Return formatted message text for an error. -- Can append "#FormattingError"...

Click to read more »
Module:Toolbar
Sabtu, 2018-02-17 14:55:40

numKeys(args) local sep = (args.separator or 'pipe') .. '-separator' sep = mw.message.new(sep):plain() local ret = {} for i, v in ipairs(nums) do ret[#ret...

Click to read more »
Module:IPAc-en/data
Rabu, 2016-06-22 00:49:56

hard-to-debug errors if it went -- unchecked, so make it cause a big red error message instead. for id in pairs(pronunciation) do if phonemes[id] then error(string...

Click to read more »
Module:IPAc-ro/data
Minggu, 2018-01-21 03:19:11

hard-to-debug errors if it went -- unchecked, so make it cause a big red error message instead. for id in pairs(pronunciation) do if phonemes[id] then error(string...

Click to read more »
Module:Databox
Minggu, 2022-07-03 15:20:00

property_blacklist_hash['P31'] = true --Special property local edit_message = mw.message.new('vector-view-edit'):plain() for _, property in pairs(properties)...

Click to read more »
Module:Scots byleid note
Rabu, 2020-10-21 00:07:41

else local message_box = require('Module:Message box').main if not n.image then n.image = 'none' end n['type'] = 'style' return message_box ('tmbox'...

Click to read more »
Module:Convert
Rabu, 2020-09-02 02:10:55

Configuration options to keep magic values in one location. -- Conversion data and message text are defined in separate modules. local config, maxsigfig local numdot...

Click to read more »
Module:Uses TemplateStyles
Jumat, 2019-12-20 08:40:54

local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs...

Click to read more »
Module:Lang/sandbox
Minggu, 2022-10-23 22:19:28

return nil and a nil error message. When both |italic= and |italics= are set, returns nil and a 'conflicting' error message. The return value nil causes...

Click to read more »
Module:Protection banner
Rabu, 2026-02-18 15:57:12

initialise modules and objects we don't always need. local getArgs, makeMessageBox, lang -- Set constants. local CONFIG_MODULE = 'Module:Protection banner/config'...

Click to read more »
Module:Excerpt
Minggu, 2026-05-10 22:46:34

hat = Excerpt.getMessage( 'this' ) elseif params.only then hat = Excerpt.getMessage( params.only ) else hat = Excerpt.getMessage( 'section' ) end...

Click to read more »
Module:Wd/i18n
Rabu, 2020-07-08 09:42:08

maun specifee a function tae caw", -- equal to the standard module error message ["main-called-twice"] = 'The function "main" canna be cawed...

Click to read more »
Module:Template wrapper
Minggu, 2022-10-23 22:19:44

list. returns name of the working or listed template or nil for an error message ]] local function _main (frame, args, list) local template; local exclude...

Click to read more »
Module:Easter
Selasa, 2019-12-17 11:29:01

formatEasterError(message, ...) if select('#', ... ) > 0 then message = string.format(message, ...) end return "<span class=\"error\">" .. message ...

Click to read more »
Module:URL
Kamis, 2020-10-15 01:13:07

point for calling from the forked Template:URL2. This function returns no message by default. It strips out wiki-link markup, html tags, and everything after...

Click to read more »
Module:Requested move
Kamis, 2023-11-23 17:20:00

function err(msg, numargs, reason, count) -- Generates a wikitext error message local commented = '<!-- {{subst:requested move|' if count ~= 1 then ...

Click to read more »
Module:NumberSpell
Selasa, 2016-06-21 23:51:37

format('<strong class="error">Error: %s</strong>', result) -- "result" is the error message. end return p._main(num) end function p._main(num) if type(num) ~=...

Click to read more »
Module:Gazette util
Minggu, 2022-10-23 22:23:08

message that will be appended to the end of the {{cite magazine}} template rendering. Error messages are handled this way so that the error message is...

Click to read more »
Module:Transcluder
Jumat, 2026-02-06 21:33:43

local ok, message = pcall(TNT.format, 'I18n/Module:Transcluder.tab', 'error-' .. key, value) if not ok then message = key end error(message, 2) end ...

Click to read more »
Module:Large category TOC
Minggu, 2016-05-22 02:45:22

local pageurl = mw.title.getCurrentTitle():fullUrl() local toc = mw.message.new('Toc'):plain() -- Highest level div local toc_frame = mw.html.create('div')...

Click to read more »
Module:Lang/utilities
Minggu, 2022-10-23 22:22:07

name table.insert (list, lang) -- add this language or error message to the list if 'ca-valencia' ~= code then -- except for valencian...

Click to read more »
Module:Babel
Sabtu, 2019-12-21 01:47:32

:css('vertical-align', 'middle !important') local userboxes -- Special message for when first argument is blank; otherwise treat it as normal if args[1]...

Click to read more »
Module:Data tables/dataM855
Senin, 2020-04-27 08:06:07

["ἀγγελία"]={"announcement","communication","errand","information","message","news","report","tidings","word"}} return {["freezer"]=freezer...

Click to read more »
Module:Road data/util
Sabtu, 2023-07-29 07:08:20

length in kilometers; m = converted length in meters; error = error message, if any ]] function util.convertLengths(lengths, blank) -- Import math...

Click to read more »
Module:Archive list
Sabtu, 2018-02-17 15:13:38

'comma' or sep == 'tpt-languages' then return mw.message.new( sep .. '-separator' ):plain() else return sep...

Click to read more »
Module:High-use
Kamis, 2022-12-29 06:25:46

= (frame:preprocess("{{REVISIONID}}") == "") and "\n\n----\n'''Preview message''': Transclusion count updated automatically ([[Template:High-use/doc#Technical...

Click to read more »
Module:Protection banner/config
Kamis, 2022-12-29 06:19:20

${CURRENTVERSION} - a link to the page history or the move log, with the -- display message "current-version-edit-display" or -- "current-version-move-display". --...

Click to read more »
Module:Iucn
Minggu, 2022-10-23 22:24:46

identifyier parts (or nil when parameter not used) and a message (nil on success, error message else) the identifier portions of the several parameters...

Click to read more »
Module:Protected edit request
Rabu, 2014-02-19 07:07:51

local yesno = require('Module:Yesno') local makeMessageBox = require('Module:Message box').main -- may not need these. lazily initalize local makeToolbar...

Click to read more »
Module:Convert/text
Senin, 2018-04-16 06:39:44

local all_messages = { -- Message format string: $1=title, $2=text, $3=category, $4=anchor. -- Each displayed message starts with "Convert:" so can...

Click to read more »
Module:Debug
Senin, 2020-04-27 08:06:08

from a template function export.error(frame) error(frame.args[1] or "(no message specified)") end --[[ Convenience function for generating syntaxhighlight...

Click to read more »
Module:Redirect
Jumat, 2022-01-28 01:50:33

when the bracket parameter is given, as a -- page link. Returns an error message when page does not exist or the redirect -- target cannot be determined...

Click to read more »
Module:Pagelist
Sabtu, 2014-01-18 06:14:45

'comma' or sep == 'tpt-languages' then return mw.message.new( sep .. '-separator' ):plain() else return sep...

Click to read more »
Module:Check isxn
Sabtu, 2017-03-04 05:19:47

checkdigit / calculated value mismatch will all cause a check issn error message. ]] local function check_issn(id, error_string) local issn_copy = id;...

Click to read more »
Module:Roman
Sabtu, 2019-07-13 05:38:20

2) elseif num == 0 then return 'N' end -- Return a message for numbers too big to be expressed in Roman numerals. if num >= 5000000...

Click to read more »
Module:TimeAgo
Selasa, 2016-06-21 23:49:55

Check that the entered timestamp is valid. If it isn't, then give an error message. local noError, inputTime = pcall( lang.formatDate, lang, 'U', args[1]...

Click to read more »
Module:WikidataCoord
Minggu, 2022-10-23 22:21:50

class="error">{{WikidataCoord}} – missing coordinate data</span>'; -- error message and quit elseif mw.ustring.match (args[1], '%d+°%d+&#39;[%d%.]+&#34;[NS]...

Click to read more »
Module:Track gauge
Minggu, 2017-03-05 00:37:59

is the cleaned value of args[1]. args[1] is kept as rawInput for error message local searchAlias = '' local rawDisp for k, v in pairs(origArgs) do...

Click to read more »
Module:Convert/wikidata
Selasa, 2018-01-30 07:50:04

unit's default output unit, -- or return false, t where t is an error message table. -- However, for simplicity a valid result is always returned. ...

Click to read more »
Module:Documentation/config
Jumat, 2022-01-28 01:50:00

page type of the sandbox page. The message that is displayed depends on the current subject -- namespace. This message is used in either cfg['sandbox-notice-blurb']...

Click to read more »
Module:Val
Minggu, 2018-02-18 08:42:20

units local function valerror(msg, nocat, iswarning) -- Return formatted message text for an error or warning. -- Can append "#FormattingError" to URL...

Click to read more »
Module:Wikidata
Senin, 2020-09-28 23:19:08

[[File:Noun Project label icon 1116097 cc mirror.svg|10px|" .. mw.message.new('Translate-taction-translate'):inLanguage(uselang):plain() .. "|link=https://www...

Click to read more »
Module:Hatnote
Sabtu, 2020-10-03 05:17:02

makeWikitextError(msg, helpLink, addTrackingCategory, title) -- Formats an error message to be returned to wikitext. If -- addTrackingCategory is not false after...

Click to read more »
Module:Template link
Senin, 2020-04-27 08:11:22

"mw:Extension:LiquidThreads"; ["#target" ] = "mw:Extension:MassMessage"; -- not documented yet } -- rudimentary local function is_valid_pagename(pagename)...

Click to read more »
Module:Etymology/templates
Sabtu, 2020-09-19 07:19:07

calque(frame) local args = frame:getParent().args -- More informative error message. if args["etyl lang"] or args["etyl term"] or args["etyl t"] or args["etyl...

Click to read more »
Module:Pi-decl/noun
Senin, 2020-04-27 08:11:02

tabulated_ending.. ' endings.') return nil -- If you don't like the message above! end local antlen = {yes = 4, no = 3} -- Length by implicitness...

Click to read more »
Module:Webarchive/data
Kamis, 2020-07-09 07:30:58

--------------------------------- these tables hold error and warning message text ]] local err_warn_msgs = { date_err = '[Date error]', ...

Click to read more »
Module:Biota infobox
Minggu, 2022-10-23 22:23:26

else -- insufficient parameters -- TODO add error message and return end local offset = 2 -- authority offset when...

Click to read more »
Module:Currency
Minggu, 2022-10-23 22:24:55

'commas' ~= fmt then -- if not commas (the default) then error message return '<span style="font-size:inherit" class="error">{{currency}} –...

Click to read more »
Module:Citation/CS1/Whitelist
Kamis, 2020-10-15 01:12:54

['sheets'] = true, ['trans-map'] = true, }, newsgroup = { ['message-id'] = true, ['newsgroup'] = true, }, serial = { ['airdate'] = true...

Click to read more »
Module:Location map
Rabu, 2023-03-01 08:34:39

mapData[name] == nil then return '' elseif params then return mw.message.newRawMessage(tostring(mapData[name]), unpack(params)):plain() else return...

Click to read more »
Module:Random
Kamis, 2014-06-05 20:18:52

mwsep in ipairs(mwseparators) do if sep == mwsep then return mw.message.new( sep .. '-separator' ):plain() end end return sep end end ...

Click to read more »
Module:Citation/CS1/Date validation
Kamis, 2020-10-15 01:12:54

is_set; in_array = utilities_page_ptr.in_array; -- set_message = utilities_page_ptr.set_message; wrap_style = utilities_page_ptr.wrap_style; cfg = cfg_table_ptr;...

Click to read more »
Module:Dts
Jumat, 2017-05-26 04:37:27

whether we were DMY or MDY. function Dts:parseDate(date) -- Generic error message. local function dateError() error(string.format( "'%s' is an invalid...

Click to read more »
Module:Citation/CS1/COinS
Kamis, 2020-10-15 01:12:53

ERROR"); -- one or more couldn't be replaced; insert vague error message value = mw.text.unstripNoWiki (value); -- replace nowiki stripmarkers...

Click to read more »
Module:Portal/images/c
Jumat, 2025-07-11 02:32:07

"P christianity.svg|alt=icon", ["christianity in china"] = "Blessing message.svg|link=|alt=", ["christianity in india"] = "India with cross.svg|alt=icon"...

Click to read more »
Module:Country alias
Jumat, 2018-02-16 11:24:23

countries[alias] local function quit(message) if args.error then return args.error end error(message) end if not country then return quit('Invalid...

Click to read more »
Module:Complex date
Senin, 2023-02-13 21:49:35

date</div>' elseif operation == 'unknown' then dateStr = tostring(mw.message.new( "exif-unknowndate" ):inLanguage( lang )) .. '<div style="display:...

Click to read more »
Module:Taxonbar
Minggu, 2022-10-23 22:23:12

' or consider adding '..itthem..' to Wikidata.<br />'.. 'This message is only shown in preview.</div>' end end --Append basionym to arg...

Click to read more »
Module:Autotaxobox
Minggu, 2022-10-23 22:21:34

colour', args = { 'virus' } } then virus = 'yes' end -- add information message local res = '<p style="float:right">Bold ranks show taxa that will be...

Click to read more »
Module:Infobox multi-lingual name
Minggu, 2022-10-23 22:22:35

return ''; -- |showflag= value invalid; TODO: return error message? end return frame:expandTemplate ({title='Infobox', args = infobox_args});...

Click to read more »
Module:Navseasoncats
Jumat, 2020-01-03 10:35:20

--[[==========================================================================]] --Error message handling --Also used by {{Navseasoncats with centuries below decade}}....

Click to read more »
Module:Wd
Rabu, 2020-07-08 09:39:07

end return text end local function throwError(errorMessage, param) error(errorText(errorMessage, param)) end local function replaceDecimalMark(num)...

Click to read more »
Module:Portal/images
Jumat, 2024-02-23 21:02:31

["christianity"] = "P christianity.svg", ["christianity in cheenae"] = "Blessing message.svg", ["christianity in indie"] = "India with cross.svg", ["christian...

Click to read more »
Module:College color/data
Rabu, 2017-04-26 07:26:16

pdf |title=2013 Murray State University Image Manual > A Users Guide to Message and Graphic Identity |accessdate=2016-04-03}}"}, ["Murray State Thoroughbreds"]...

Click to read more »