Открыть меню
Открыть персональное меню
Вы не представились системе
Your IP address will be publicly visible if you make any edits.

Вклад участника DarkMuse

Участник с 1785 правками. Учётная запись создана 30 августа 2024 года.
Поиск вкладаразвернутьсвернуть
⧼contribs-top⧽
⧼contribs-date⧽
(новейшие | старейшие) Просмотреть ( | 50 более старых) (20 | 50 | 100 | 250 | 500)

31 августа 2024

  • 13:2613:26, 31 августа 2024 разн. история +52 424 Н Модуль:VehicleHardpointНовая страница: «require( 'strict' ) local VehicleHardpoint = {} local metatable = {} local methodtable = {} metatable.__index = methodtable local i18n = require( 'Module:i18n' ):new() local TNT = require( 'Module:Translate' ):new() local common = require( 'Module:Common' ) -- formatNum and spairs local hatnote = require( 'Module:Hatnote' )._hatnote local data = mw.loadJsonData( 'Module:VehicleHardpoint/data.json' ) local config = mw.loadJsonData( 'Module:VehicleHardpoin...» текущая
  • 13:2513:25, 31 августа 2024 разн. история +712 Н Шаблон:Vehicle hardpoints/docНовая страница: «{{Documentation}} {{t|Vehicle hardpoints}} generates a table of hardpoints for the specification section of a vehicle page. ==Usage== <code><nowiki>{{Vehicle hardpoints|Carrack}}</nowiki></code> gives: {{Vehicle hardpoints|Carrack}} ==TemplateData== <templatedata> { "params": { "1": { "label": "Vehicle name", "description": "Page name of the vehicle on the wiki", "example": "Carrack", "type": "wiki-page-name", "suggested": true } },...» текущая Метка: редактор вики-текста 2017
  • 13:2213:22, 31 августа 2024 разн. история +98 Н Шаблон:Vehicle hardpointsНовая страница: «<includeonly>{{#invoke:VehicleHardpoint|outputTable}}</includeonly><noinclude>{{/doc}}</noinclude>» текущая Метка: редактор вики-текста 2017
  • 13:2013:20, 31 августа 2024 разн. история +627 Н Шаблон:T/docНовая страница: «{{Documentation}} ;Description :A template link with a variable number of example parameters (0-20), which can be used to show example inputs. :Utilises Template:T/piece. ;Syntax :{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}} ;Sample code :<code><nowiki>{{t|welcome}}</nowiki></code> gives... :{{t|welcome}} :<code><nowiki>{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives... :{{t|welcome|Item1|Item2|Item3|Item4|Ite...» текущая Метка: редактор вики-текста 2017
  • 13:1913:19, 31 августа 2024 разн. история +111 Н Шаблон:T/pieceНовая страница: «{{#ifeq: {{{1|---}}}|---|||<font color="gray">''<{{{1}}}>''</font>}}<noinclude> {{/doc}}</noinclude>» текущая Метка: редактор вики-текста 2017
  • 13:1513:15, 31 августа 2024 разн. история +12 089 Н Шаблон:Vehicle/docНовая страница: «{{Documentation}} This template handles data related to vehicles. On the vehicle page *Saves template parameters and API data as SMW data *Set category from SMW data *Set short description from SMW data *Display infobox from SMW data On other pages, it can be used to display the infobox of other vehicles. == Usage == The template should fill in data automatically from API even if there are no template parameters. <syntaxhighlight lang="wikitext"> {{Vehic...» текущая Метка: редактор вики-текста 2017
  • 13:1513:15, 31 августа 2024 разн. история +100 Н Шаблон:VehicleНовая страница: «<includeonly><!-- -->{{#invoke:Vehicle|main}}<!-- --></includeonly><noinclude> {{/doc}} </noinclude>» текущая Метка: редактор вики-текста 2017
  • 13:1313:13, 31 августа 2024 разн. история +32 Н Модуль:I18n/docНовая страница: «{{Documentation|scwShared=true}}» текущая Метка: редактор вики-текста 2017
  • 13:1213:12, 31 августа 2024 разн. история +54 Модуль:Hatnote list/docНет описания правки текущая Метка: редактор вики-текста 2017
  • 13:1113:11, 31 августа 2024 разн. история +204 Н Модуль:Helper module/docНовая страница: «{{Documentation}} Generates helper module information for use in documentation, which is automatically used by Star Citizen:Lua/Helper modules. <includeonly>Category:Helper modules</includeonly>» текущая Метка: редактор вики-текста 2017
  • 13:1113:11, 31 августа 2024 разн. история +3557 Н Модуль:Helper moduleНовая страница: «-- <nowiki> -- Helps Star Citizen:Lua/Helper modules format its table with dynamic documentation -- See Template:Helper module for documentation and usage require('Module:Mw.html extension') local getArgs = require("Module:Arguments").getArgs; --local tooltip = require('Module:Tooltip') local userError = require("Module:User error"); local p = {} function p.main(frame) local args = getArgs(frame); local function_list = {} -- Let there be no limit...» текущая
  • 13:0213:02, 31 августа 2024 разн. история +606 Н Шаблон:TНовая страница: «<includeonly><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{t/piece|{{{2|---}}}}}{{t/piece|{{{3|---}}}}}{{t/piece|{{{4|---}}}}}{{t/piece|{{{5|---}}}}}{{t/piece|{{{6|---}}}}}{{t/piece|{{{7|---}}}}}{{t/piece|{{{8|---}}}}}{{t/piece|{{{9|---}}}}}{{t/piece|{{{10|---}}}}}{{t/piece|{{{11|---}}}}}{{t/piece|{{{12|---}}}}}{{t/piece|{{{13|---}}}}}{{t/piece|{{{14|---}}}}}{{t/piece|{{{15|---}}}}}{{t/piece|{{{16|---}}}}}{{t/piece|{{{17|---}}}}}{{t/piece|{{{18|---}}}}}{{...» текущая Метка: редактор вики-текста 2017
  • 13:0013:00, 31 августа 2024 разн. история +222 Н Модуль:Module toc/docНовая страница: «{{Documentation}} This module is used to generate a table of content consists of functions of a Lua module. See [https://runescape.wiki/w/Module:Module_toc Module:Module toc] on RuneScape Wiki for more details.» текущая Метка: редактор вики-текста 2017
  • 13:0013:00, 31 августа 2024 разн. история +2845 Н Модуль:Module tocНовая страница: «-- Imported from: https://runescape.wiki/w/Module:Module%20toc -- <nowiki> local p = {} local function getNewlineLocations( content ) local locs = {} local pos = 0 repeat pos = mw.ustring.find( content, '\n', pos + 1, true ) table.insert( locs, pos ) until not pos return locs end local function findLineNumber( pos, newLineLocs ) local max = #newLineLocs local min = 1 repeat local i = math.ceil( (m...» текущая
  • 12:5912:59, 31 августа 2024 разн. история +135 Н Модуль:DependencyList/docНовая страница: «{{Documentation|scwShared=true}} '''Module:DependencyList''' generates a list of dependency used by template and module documentation.» текущая Метка: редактор вики-текста 2017
  • 12:5912:59, 31 августа 2024 разн. история +325 Модуль:DependencyListНет описания правки текущая
  • 12:5612:56, 31 августа 2024 разн. история +111 Н Модуль:Template link general/docНовая страница: «{{Documentation|fromWikipedia=true}} Implements {{Tl|Template link general}} and other templates in its family» текущая Метка: редактор вики-текста 2017
  • 12:5612:56, 31 августа 2024 разн. история +4323 Н Модуль:Template link generalНовая страница: «-- This implements Template:Tlg local getArgs = require('Module:Arguments').getArgs local p = {} -- Is a string non-empty? local function _ne(s) return s ~= nil and s ~= "" end local nw = mw.text.nowiki local function addTemplate(s) local i, _ = s:find(':', 1, true) if i == nil then return 'Template:' .. s end local ns = s:sub(1, i - 1) if ns == '' or mw.site.namespaces[ns] then return s else return 'Template:' .. s end end local function...» текущая
  • 12:5312:53, 31 августа 2024 разн. история +966 Н Модуль:Translate/docНовая страница: «{{Documentation|scwShared=true}} This module allows templates and modules to be easily translated as part of the multilingual templates and modules project. Instead of storing English text in a module or a template, Translate module allows modules to be designed language-neutral, and store multilingual text in the <code>/i18n.json</code> subpage. This way your module or template will use those translated strings (messages), or if the message has not yet bee...» текущая Метка: редактор вики-текста 2017
  • 12:5312:53, 31 августа 2024 разн. история +8632 Н Модуль:TranslateНовая страница: «require( 'strict' ) local Translate = {} local metatable = {} local methodtable = {} metatable.__index = methodtable local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType local i18n = require( 'Module:i18n' ):new() --- Cache table containing i18n data at the 'data' key, and a key map at the 'keys' key --- The table is keyed by the i18n.json module name local cache = {} local i18nDataset = 'Module:Translate/i18n.json' ---...» текущая
  • 12:5212:52, 31 августа 2024 разн. история +6298 Н Модуль:I18n/category/en.jsonНовая страница: «{ "category_documentation": "%s documentation", "category_error_item_missing_manufacturer": "Items missing manufacturer", "category_error_item_missing_uuid": "Items missing UUID", "category_error_pages_with_script_errors": "Pages with script errors", "category_ground_vehicle": "Ground vehicles", "category_ground_vehicle_pledge": "Pledge vehicles", "category_ground_vehicle_size": "%s vehicles", "category_ground_vehicles": "ground vehicles", "category...» текущая
  • 12:5112:51, 31 августа 2024 разн. история +3999 Н Модуль:I18nНовая страница: «require( 'strict' ) local i18n = {} local metatable = {} local methodtable = {} metatable.__index = methodtable local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType --- Cache table containing i18n data --- e.g. cache['en']['SMW'] will get you the SMW table in English local cache = {} --- Cache language codes for reuse local languages = {} --- Retrieve dataset namespace from key prefix --- --- @param key string The tran...» текущая
  • 12:5112:51, 31 августа 2024 разн. история +17 Н Модуль:Mbox/docНовая страница: «{{Documentation}}» текущая Метка: редактор вики-текста 2017
  • 12:5012:50, 31 августа 2024 разн. история +1880 Н Модуль:MboxНовая страница: «local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType local mArguments -- lazily initialise Module:Arguments local mError -- lazily initialise Module:Error local p = {} --- Helper function to throw error -- -- @param msg string - Error message -- -- @return string - Formatted error message in wikitext local function makeWikitextError( msg ) mError = require( 'Module:Error' ) return mError.error { message = 'Er...» текущая
  • 12:4912:49, 31 августа 2024 разн. история +5722 Н Модуль:Format link/docНовая страница: «{{Documentation|fromWikipedia=true}} This module, migrated from origins in Module:Hatnote, provides functionality for formatting links for display, including that powering the {{tl|format link}} template. It can pretty-format section links with the section symbol ("§") and appropriate whitespace, it automatically escapes category and file names with the colon trick, and includes functionality for italicizing the page or section na...» текущая Метка: редактор вики-текста 2017
  • 12:4812:48, 31 августа 2024 разн. история +6544 Н Модуль:Format linkНовая страница: «-- Imported from: https://en.wikipedia.org/wiki/Module:Format_link -------------------------------------------------------------------------------- -- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the {{format link}} template. ----------------------------...» текущая
  • 12:4812:48, 31 августа 2024 разн. история +350 Н Модуль:Hatnote list/docНовая страница: «{{Documentation|fromWikipedia=true}} '''Module:Hatnote list''' produces and formats lists for use in hatnotes. In particular, it implements the for-see list, i.e. lists of "For X, see Y" statements, as used in {{t|about}}, {{t|redirect}}, and their variants. Also introduced are andList & orList helpers for formatting lists with those conjunctions.» Метка: редактор вики-текста 2017
  • 12:3412:34, 31 августа 2024 разн. история +8121 Н Модуль:Hatnote listНовая страница: «-------------------------------------------------------------------------------- -- Module:Hatnote list -- -- -- -- This module produces and formats lists for use in hatnotes. In particular, -- -- it implements the for-see list, i.e. lists of "For X, see Y" statements, -- -- as used in {{about}}, {{redirect}}, and their variants...» текущая
  • 12:3312:33, 31 августа 2024 разн. история +404 Н Модуль:Hatnote/docНовая страница: «{{Documentation|scwShared=true|fromWikipedia=true}} '''Module:Hatnote''' is a meta-module that provides various functions for making hatnotes. It implements the {{tl|hatnote}} template, for use in hatnotes at the top of pages, and the {{tl|format link}} template, which is used to format a wikilink for use in hatnotes. It also contains a number of helper functions for use in other Lua hatnote modules.» текущая Метка: редактор вики-текста 2017
  • 12:3212:32, 31 августа 2024 разн. история +7258 Н Модуль:HatnoteНовая страница: «-------------------------------------------------------------------------------- -- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the {{hatnote}} and {{format link}} meta-templates and includes -- -- helper functions for other Lua hatnote modules....» текущая
  • 12:3112:31, 31 августа 2024 разн. история +200 Н Модуль:User error/docНовая страница: «{{Documentation}} A less intimidating version of the built-in <syntaxhighlight inline lang="lua">error(...)</syntaxhighlight> function, to help editors fix their mistakes when transcluding a template.» текущая Метка: редактор вики-текста 2017
  • 12:3112:31, 31 августа 2024 разн. история +920 Н Модуль:User errorНовая страница: «-------------------------------------------------------------------------------- -- A less intimidating version of the built-in "error()" function, to help -- editors fix their mistakes when transcluding a template. -- -- @see wikia:w:c:Dev:Module:User error for a similar module. -------------------------------------------------------------------------------- local checkType = require("libraryUtil").checkType; return function (message, ...) checkType(...» текущая
  • 12:3012:30, 31 августа 2024 разн. история +926 Н Модуль:Paramtest/docНовая страница: «{{Documentation}} {{Helper module |name=Paramtest |fname1 = is_empty(arg) |ftype1 = String |fuse1 = Returns true if arg is not defined or contains only whitespace |fname2 = has_content(arg) |ftype2 = String |fuse2 = Returns true if arg exists and does not only contain whitespace |fname3 = default_to(arg1,arg2) |ftype3 = String, Any value |fuse3 = If arg1 exists and does not only contain whitespace, the function returns arg1, otherwise returns arg2 |fname4 =...» текущая Метка: редактор вики-текста 2017
  • 12:2812:28, 31 августа 2024 разн. история +2904 Н Модуль:ParamtestНовая страница: «-- Imported from: https://runescape.wiki/w/Module:Paramtest --[[ {{Helper module |name=Paramtest |fname1 = is_empty(arg) |ftype1 = String |fuse1 = Returns true if arg is not defined or contains only whitespace |fname2 = has_content(arg) |ftype2 = String |fuse2 = Returns true if arg exists and does not only contain whitespace |fname3 = default_to(arg1,arg2) |ftype3 = String, Any value |fuse3 = If arg1 exists and does not only contain whitespace, the function...» текущая
  • 12:2812:28, 31 августа 2024 разн. история +784 Н Модуль:Yesno/docНовая страница: «{{Documentation|fromWikipedia=true}} '''Module:Yesno''' provides a consistent interface for processing boolean or boolean-style string input. While Lua allows the <code>true</code> and <code>false</code> boolean values, wikicode templates can only express boolean values through strings such as "yes", "no", etc. This module processes these kinds of strings and turns them into boolean input for Lua to process. It also returns <code>nil</code> values as <code>...» текущая Метка: редактор вики-текста 2017
  • 12:2712:27, 31 августа 2024 разн. история +1039 Н Модуль:YesnoНовая страница: «-- Imported from: https://en.wikipedia.org/wiki/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...» текущая
  • 12:2512:25, 31 августа 2024 разн. история +17 696 Н Модуль:Array/docНовая страница: «{{Documentation}} {{Helper module |name = Array |fname1 = <nowiki>all( arr, [fn] )</nowiki> |ftype1 = <samp>arr: any[]</samp><br><samp>fn?: any</samp><br><samp>-> boolean</samp> |fuse1 = Behaviour depends on the value of <code>fn</code>: * <code>nil</code> - Checks that the array doesn't contain any '''false''' elements. * <code>fun(elem: any, i?: integer): boolean</code> - Returns '''true''' if <code>fn</code> returns '''true''' for every elemen...» текущая Метка: редактор вики-текста 2017
  • 12:2512:25, 31 августа 2024 разн. история +30 602 Н Модуль:ArrayНовая страница: «-- Imported from: https://runescape.wiki/w/Module:Array local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti ---@class Array ---@operator call(any[]): Array ---@operator concat(any[]): Array ---@operator concat(number|string|function): string ---@operator unm: Array ---@operator add(number|number[]|Array): Array ---@operator sub(number|number[]|Array): Array ---@operator mul(nu...»
  • 12:2312:23, 31 августа 2024 разн. история +23 145 Н Модуль:DependencyListНовая страница: «--- Based on Module:DependencyList from RuneScape Wiki --- Modified to use SMW instead of DPL --- @see https://runescape.wiki/w/Module:DependencyList require("strict"); local p = {} local libraryUtil = require( 'libraryUtil' ) local arr = require( 'Module:Array' ) local yn = require( 'Module:Yesno' ) local param = require( 'Module:Paramtest' ) local userError = require("Module:User error") local hatnote = require('Module:Hatnote')._hatnote local mHatlist =...»
  • 12:2212:22, 31 августа 2024 разн. история +124 Н Модуль:Documentation/docНовая страница: «{{Documentation|scwShared=true}} '''Module:Documentation''' implements Template:Documentation for templates and modules.» текущая Метка: редактор вики-текста 2017
  • 12:2112:21, 31 августа 2024 разн. история +7012 Н Модуль:DocumentationНовая страница: «-- <nowiki> local dependencyList = require( 'Module:DependencyList' ) local hatnote = require( 'Module:Hatnote' )._hatnote local mbox = require( 'Module:Mbox' )._mbox local i18n = require( 'Module:i18n' ):new() local TNT = require( 'Module:Translate' ):new() local lang = mw.getContentLanguage() local p = {} --- Wrapper function for Module:i18n.translate --- --- @param key string The translation key --- @return string If the key was not found, the key is re...»
  • 12:2012:20, 31 августа 2024 разн. история +1226 Н Шаблон:Documentation/docНовая страница: «{{Documentation}} The '''documentation''' template is transcluded in the template/module documentation. This template should only be used on subpages titled "doc". ==Usage== Place {{t|documentation}} at the top of the documentation page. If the page to be documented is a subpage, use {{t|documentation|pagename of page to be documented}} at the top of the documentation page. For example, Template:Foo/bar's documentation page would use {{t|documentation|Te...» текущая Метка: редактор вики-текста 2017
  • 12:1912:19, 31 августа 2024 разн. история +374 Н Шаблон:DocumentationНовая страница: «<includeonly>{{#invoke:Documentation|doc}}__NOEDITSECTION__{{#seo: |type = website |description = {{FULLPAGENAME}} is a template page used on the iCCup Wiki. Templates are pages that are embedded (transcluded) into other pages to allow for the repetition of information. |site_name = iCCup Wiki |locale = {{PAGELANGUAGE}} }}</includeonly><noinclude>{{/doc}}</noinclude>» Метка: редактор вики-текста 2017
  • 12:1812:18, 31 августа 2024 разн. история +745 Н Шаблон:List item/docНовая страница: «{{Documentation}} This template is used to format list items. It should be used with {{t|ubl}}. == Usage == <syntaxhighlight lang="mediawiki"> {{List item |Carrack is the best ship. |Approved by Disco Lando. }} </syntaxhighlight> gives: {{List item |Carrack is the best ship. |Approved by Disco Lando. }} == TemplateData == <templatedata> { "params": { "1": { "label": "Title", "description": "Title of the list item", "required": true }, "2...» текущая Метка: редактор вики-текста 2017
  • 11:4611:46, 31 августа 2024 разн. история −1 Шаблон:List itemНет описания правки текущая

30 августа 2024

(новейшие | старейшие) Просмотреть ( | 50 более старых) (20 | 50 | 100 | 250 | 500)