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

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

Участник с 1785 правками. Учётная запись создана 30 августа 2024 года.
Поиск вкладаразвернутьсвернуть
⧼contribs-top⧽
⧼contribs-date⧽

31 августа 2024

  • 15:4815:48, 31 августа 2024 разн. история +247 Н Модуль:ApiDoc/docНовая страница: «Utility for {{tl|ApiDoc}} ==API== {{ApiDocStart|ApiDoc|link=Module:ApiDoc}} {{ApiDoc|isDocPage|params=|description=Returns true if the current page is a documentation page, identified by having "/doc" in its title.|returns=boolean}} {{ApiDocEnd}}» текущая Метка: редактор вики-текста 2017
  • 15:4715:47, 31 августа 2024 разн. история +372 Н Модуль:ApiDocНовая страница: «local ApiDoc = {} --- Checks if the current page is a documentation page. --- A documentation page is identified by having "/doc" in its title. --- @return boolean True if the current page is a documentation page, otherwise false. function ApiDoc.isDocPage() local pagename = mw.title.getCurrentTitle().text return string.find(pagename, '/doc') end return ApiDoc» текущая
  • 15:4615:46, 31 августа 2024 разн. история +1494 Н Модуль:Logic/docНовая страница: «==API== {{ApiDocStart|Logic|link=Module:Logic}} {{ApiDoc|emptyOr|params=val1: value, val2: value, default: value|description=Returns the first non-empty value.|returns=value}} {{ApiDoc|isEmpty|params=val: any|description=Checks if a value or table is empty.|returns=boolean}} {{ApiDoc|isNumeric|params=val: value|description=Checks if a value is numeric.|returns=boolean}} {{ApiDoc|isNotEmpty|params=val: any|description=Checks if a value or table is not empty.|...» текущая Метка: редактор вики-текста 2017
  • 15:4515:45, 31 августа 2024 разн. история +5571 Н Модуль:LogicНовая страница: «--- -- @iCCup -- wiki=commons -- page=Module:Logic -- -- This module implements various logical functions for use within templates and other Lua modules on iCCup. -- local Logic = {} ---Returns `val1` if it isn't empty else returns `val2` if that isn't empty, else returns default ---@generic A, B, C ---@param val1 A? ---@param val2 B? ---@param default C? ---@return A|B|C|nil function Logic.emptyOr(val1, val2, default) if not Logic.isEmpty(val1) then re...»
  • 15:3915:39, 31 августа 2024 разн. история +2210 Н Шаблон:Navplate/docНовая страница: «{{Documentation}} {{t|navplate}} allows a navigational template to be set up relatively quickly by supplying it with one or more lists of links, similar to navigational templates used on other wikis. == Usage == Please remove the parameters that are left blank. <pre> {{Navplate |subtitle = |title = |label1 = |list1 = |label2 = |list2 = |label3 = |list3 = }} </pre> == Parameter list == ;<code>subtitle</code> :Subtitle text above the title, it s...» текущая Метка: редактор вики-текста 2017
  • 15:3815:38, 31 августа 2024 разн. история +132 Н Шаблон:NavplateНовая страница: «<includeonly>{{#invoke:Navplate|navplate}}</includeonly><noinclude> {{/doc}} <!-- Categories go in the /doc subpage --> </noinclude>» текущая Метка: редактор вики-текста 2017
  • 15:3715:37, 31 августа 2024 разн. история +95 Н Модуль:Navplate/docНовая страница: «{{Documentation|scwShared=true}} '''Module:Navplate''' implements the {{t|navplate}} template.» текущая Метка: редактор вики-текста 2017
  • 15:3715:37, 31 августа 2024 разн. история +7322 Н Модуль:NavplateНовая страница: «-------------------------------------------------------------------------------- -- Module:Navplate -- -- This module implements {{Navplate}} -- -- Based on Module:Infobox -- -- This is a work in progress -- ---------------------------------------------------------...» текущая
  • 15:3415:34, 31 августа 2024 разн. история +2 Модуль:Common/Api/docНет описания правки текущая Метка: редактор вики-текста 2017
  • 15:3415:34, 31 августа 2024 разн. история +32 Н Модуль:Common/Api/docНовая страница: «{{Documentation|scwShared=true}}» Метка: редактор вики-текста 2017
  • 15:3315:33, 31 августа 2024 разн. история +5578 Н Модуль:Common/ApiНовая страница: «local common = {} --- Checks if the provided data structure is valid --- @param table data --- @param string key local function structureValid( data, key ) key = key or nil if type( data ) ~= 'table' then return false end if key ~= nil then return data[key] ~= nil end return true end --- @param table data --- @return string|nil function common.getManufacturerName( data ) if not structureValid( data, 'manufacturer' ) then return nil en...» текущая
  • 15:2715:27, 31 августа 2024 разн. история +295 Н Шаблон:Infobox userНовая страница: «<includeonly>{{#invoke:Lua|invoke|module=Infobox/Person/User/Custom|fn=run|wiki=iccup|id={{#if:{{{id|}}}|{{{id|}}}|{{PAGENAME}}}}}}</includeonly> <noinclude>{{documentation}} Category:Templates Category:Lua-based templates Category:Infoboxes Category:iCCup templates </noinclude>» текущая Метка: редактор вики-текста 2017
  • 15:2515:25, 31 августа 2024 разн. история +790 Н Шаблон:Hatnote/docНовая страница: «{{Documentation|fromWikipedia=true}} The {{t|Hatnote}} template is a simple notice template intended for use when posting editorial notes in articles. It is useful for highlighting important information, such as corrections or comments. Note that the user should supply a short bolded description of what kind of editorial note this is. ;Sample Output: <nowiki>{{Hatnote|'''Note:''' This is an editorial comment.}}</nowiki> ;Results in: {{Hatnote|'''Note:'''...» текущая Метка: редактор вики-текста 2017
  • 15:2415:24, 31 августа 2024 разн. история +85 Н Шаблон:HatnoteНовая страница: «<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>{{/doc}}</noinclude>» текущая Метка: редактор вики-текста 2017
  • 15:2415:24, 31 августа 2024 разн. история +612 Н Шаблон:Example/docНовая страница: «{{Documentation}} ===TemplateData=== <templatedata> { "description": "Example template that creates a small note saying it is an example.", "params": {} } </templatedata> ===Usage=== If this were a real template, the documentation would go here, along with a few examples on how to use it. Some templates keep this documentation on a separate page; see Help:Template documentation for details on how to create and maintain template documentation. <inclu...» текущая Метка: редактор вики-текста 2017
  • 15:2315:23, 31 августа 2024 разн. история +30 Н Шаблон:NoteПеренаправление на Шаблон:Hatnote текущая Метки: новое перенаправление редактор вики-текста 2017
  • 15:2215:22, 31 августа 2024 разн. история +69 Н Шаблон:ExampleНовая страница: «{{Note|This is an example template}}<noinclude> {{/doc}} </noinclude>» текущая Метка: редактор вики-текста 2017
  • 15:1915:19, 31 августа 2024 разн. история +408 Н Шаблон:ApiDocEndНовая страница: «<includeonly> <!-- Closing the definition list started elsewhere --> </dl> <!-- Conditional display of a link to the documentation, only if `nolink` is not set --> {{#if:{{{nolink|}}}|| ''See all our documentation here.'' <!-- Link to Scribunto help page --> }}<!-- -->{{#vardefine:api_store|}} <!-- Clear api_store variable --> </includeonly> <noinclude>{{Documentation}}</noinclude>» Метка: редактор вики-текста 2017
  • 15:1815:18, 31 августа 2024 разн. история +1546 Н Шаблон:ApiDocНовая страница: «<includeonly> <!-- Generate a documentation entry for a function with a link to a detailed subpage. --> <dt> {{#if:{{#var:api_module_name|}}| [[{{#var:api_module_name}}/doc/{{{1|}}}|{{{1|}}}]]| <!-- Link to the detailed documentation subpage --> [[/{{{1|}}}|{{{1|}}}]] }} {{#if:{{{params|}}| <span style="font-weight:400;">({{{params|}}})</span> <!-- Display function parameters --> }} {{#if:{{{returns|}}| <...» Метка: редактор вики-текста 2017
  • 15:1715:17, 31 августа 2024 разн. история +2626 Н Шаблон:ApiDoc/docНовая страница: «iCCup API Documentation Guide Allows for easy creation of API documentation (e.g., for modules) within the iCCup platform. Use in combination with {{tl|ApiDocStart}} and {{tl|ApiDocEnd}} (at the start and end of the documentation section). Functions generate links to a subpage, so that more detailed documentation can be provided. Use {{tl|ApiDocBig}} there. By default, this setup stores documentation into LPDB (as datapoints). To turn this off, use the {{tl|...» текущая Метка: редактор вики-текста 2017
  • 15:1515:15, 31 августа 2024 разн. история +4055 Н Модуль:FeatureFlag/Config/docНовая страница: «<!-- Documentation for FeatureFlag/Config --> =FeatureFlag/Config Documentation= The `FeatureFlag/Config` module is used to define the default values of feature flags used throughout the iCCup platform. Feature flags are used to control the availability of certain features or functionalities, often for testing or phased rollouts. By setting default values here, developers can easily manage which features are enabled or disabled by default. ==How to Use==...» текущая Метка: редактор вики-текста 2017
  • 15:1415:14, 31 августа 2024 разн. история +1126 Н Модуль:FeatureFlag/ConfigНовая страница: «-- Add feature flags here for iCCup return { award_table = { defaultValue = false }, -- Controls whether award tables are enabled debug_import = { defaultValue = false }, -- Enables debugging for imports debug_match_history = { defaultValue = false }, -- Enables debugging for match history debug_placement = { defaultValue = false }, -- Enables debugging for placements debug_query = { defaultValue = false }, -- Enables debugging fo...» текущая
  • 15:1215:12, 31 августа 2024 разн. история +2867 Н Модуль:FeatureFlag/docНовая страница: «<!-- Documentation for Module:FeatureFlag --> =FeatureFlag Module Documentation= The `FeatureFlag` module is used to manage feature flags, which are boolean values controlling whether certain code paths related to new features are enabled or not. This module provides functionality to read, set, and temporarily apply feature flags. ==Usage== Feature flags can be used to enable or disable specific features or parts of code. They can be set permanentl...» текущая Метка: редактор вики-текста 2017
  • 15:0915:09, 31 августа 2024 разн. история +3080 Модуль:FeatureFlagНет описания правки текущая
  • 15:0515:05, 31 августа 2024 разн. история +1309 Н Шаблон:ApiDocStartНовая страница: «<includeonly> <!-- Displaying the function name with a link, based on the availability of the `api_module_name` variable --> <dt> {{#if:{{#var:api_module_name|}}|[[{{#var:api_module_name}}/doc/{{{1|}}}|{{{1|}}}]]|[[/{{{1|}}}|{{{1|}}}]]}} <!-- Displaying parameters if provided --> {{#if:{{{params|}}}|<span style="font-weight:400;">({{{params|}}})</span>}} <!-- Displaying return type if provided --> {{#if:{{{returns|}}}|<span style="font-weight:400;"...» Метка: редактор вики-текста 2017
  • 15:0415:04, 31 августа 2024 разн. история +810 Н Модуль:Lua/docНовая страница: «Some functions for checking the existence of modules and loading them in the iCCup environment. ==API== {{ApiDocStart|Lua|link=Module:Lua}} {{ApiDoc|moduleExists|params=name: string|description=Checks if a module with the given name exists.|returns=boolean}} {{ApiDoc|requireIfExists|params=name: string, options: table|description=Requires the module if it exists and returns the default otherwise.|returns=Module require or default}} {{ApiDoc|loadDataIfExists...» текущая Метка: редактор вики-текста 2017
  • 15:0315:03, 31 августа 2024 разн. история +8442 Н Модуль:LuaНовая страница: «--- -- @iCCup -- wiki=commons -- page=Module:Lua -- -- Please see https://github.com/iCCup/Lua-Modules to contribute -- local FeatureFlag = require('Module:FeatureFlag') local Logic = require('Module:Logic') local StringUtils = require('Module:StringUtils') local Lua = {} ---Checks for the existence of a Lua module ---@param name string ---@return boolean function Lua.moduleExists(name) if package.loaded[name] then return true else -- Package.Search...»
  • 15:0015:00, 31 августа 2024 разн. история +7024 Н Шаблон:Infobox league/docНовая страница: «{{Infobox league |name=Julmust's awesome tournament |image=Dota2 logo.png |caption=This is an image caption. |series=ESL One |series2=Dota Pro Circuit |organizer=Julmust |organizer2=Rapture |sponsor=[https://www.liquiddota.com/ Liquid Dota]<br />[https://www.twitch.tv/team/teamliquid Twitch] |type=Online |sdate=2010-10-10 |edate=2018-10-17 |country=Netherlands |city=Utrecht |venue=Some office |server=Europe West |patch=6.00 |team_number=322 |format=#blamesa...» текущая Метка: редактор вики-текста 2017
  • 15:0015:00, 31 августа 2024 разн. история −21 Шаблон:Infobox leagueНет описания правки текущая Метка: редактор вики-текста 2017
  • 14:5714:57, 31 августа 2024 разн. история +146 Н Шаблон:Infobox leagueНовая страница: «<includeonly>{{#invoke:Lua|invoke|module=Infobox/League/Custom|fn=run}}<!-- --></includeonly><noinclude>Category:Infoboxes{{doc}}</noinclude>» Метка: редактор вики-текста 2017
  • 14:1514:15, 31 августа 2024 разн. история +1414 Н Модуль:Vehicle/config.jsonНовая страница: «{ "%api_locale": "Locale the api should return. If set to null, all languages are returned. Allowed values are 'de_DE' and 'en_EN", "api_locale": "en_EN", "%smw_multilingual_text": "If the used SMW attributes are multi-lingual set the flag to 'true'.", "smw_multilingual_text": false, "%module_lang": "Set the language of the module, if set to 'null' the content language of the wiki will be used.", "module_lang": null, "%set_categor...» текущая
  • 14:1414:14, 31 августа 2024 разн. история +8359 Н Модуль:Vehicle/data.jsonНовая страница: «{ "%includes": "Additional vehicle information that should be returned", "includes": [ "hardpoints", "components", "shops", "parts" ], "%hardpoint_filter": "List of hardpoint types that shall not be returned", "hardpoint_filter": [ "SeatAccess", "SeatDashboard", "DockingAnimator", "DoorController", "Door" ], "%smw_data": "Sets which data gets added to SMW", "smw_data": [ { "SMW_Name": [ "API_name", "ARG_Name" ], "...» текущая
  • 14:1114:11, 31 августа 2024 разн. история +29 Н Шаблон:NbspПеренаправление на Шаблон:Spaces текущая Метки: новое перенаправление редактор вики-текста 2017
  • 14:0914:09, 31 августа 2024 разн. история +1766 Н Шаблон:Template shortcut/docНовая страница: «{{Documentation|fromWikipedia=true}} {{tsh|tsh}} This template displays one or more of a template's shortcuts (that is, redirects, also known as aliases, as in the box appearing at the right. {{tl|Tsh}} is a shortcut to this template, {{<nowiki />template shortcut}}, and can be used in its place. See Wikipedia:Template:Template shortcut for more details. Note that there are no optional parameter in this template. == Usage == Place this template and its...» текущая Метка: редактор вики-текста 2017
  • 14:0914:09, 31 августа 2024 разн. история +96 Н Шаблон:Template shortcutНовая страница: «<includeonly>{{#invoke:Shortcut|main|template=yes}}</includeonly><noinclude>{{/doc}}</noinclude>» текущая Метка: редактор вики-текста 2017
  • 14:0914:09, 31 августа 2024 разн. история +1803 Н Шаблон:Spaces/docНовая страница: «{{Documentation}} {{Template shortcut|&nbsp|nbs|nbsp|nbsp;|space|spcs}} {{Wikipedia template}} A template to produce one or more non-breaking spaces (<code>&nbsp;</code> character entities). == Usage == ; Syntax : <code><nowiki>{{spaces|</nowiki>''N''{{!}}''type''}}</code> ...... to produce ''N'' consecutive non-breaking spaces (where ''N'' is a whole number larger than zero) of the type specified by the second paramete...» текущая Метка: редактор вики-текста 2017
  • 14:0814:08, 31 августа 2024 разн. история +20 553 Н Модуль:String/docНовая страница: «{{Documentation|fromWikipedia=true}} 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 whitespace. == Global options == ;...» текущая Метка: редактор вики-текста 2017
  • 14:0814:08, 31 августа 2024 разн. история +18 033 Н Модуль: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 whitespace. Global options ignore_errors: If set to 'true' or 1...» текущая
  • 14:0714:07, 31 августа 2024 разн. история +385 Н Шаблон:SpacesНовая страница: «<span class="nowrap">{{#iferror:{{#expr:{{{1|1}}}}} |{{#switch:{{{1}}} |fig=  |en=  |em=  |thin=  |hair=  |  }} |{{#invoke:String|rep|{{#switch:{{{2}}} |fig=  |en=  |em=  |thin=  |hair=  |  }}|{{{1|1}}}}} }}</span><noinclude> {{/doc}} </noinclude>» текущая Метка: редактор вики-текста 2017
  • 14:0614:06, 31 августа 2024 разн. история +32 Н Модуль:Navplate/Manufacturers/docНовая страница: «{{Documentation|scwShared=true}}» текущая Метка: редактор вики-текста 2017
  • 14:0614:06, 31 августа 2024 разн. история +4223 Н Модуль:Navplate/ManufacturersНовая страница: «-- This is barebone but the idea is to make a generic module that -- build any navplate from template defined from data.json -- -- TODO: -- - Make functions generic -- - Support multiple conditions -- - Support more SMW inline query conditions other than category -- - Implement i18n -- - Support group headers -- - Support icon local NavplateManufacturers = {} local metatable = {} local methodtable = {} metatable.__index = methodtable local common = requi...» текущая
  • 14:0414:04, 31 августа 2024 разн. история +81 Н Модуль:Cite RSI/docНовая страница: «{{Documentation}} '''Module:Cite RSI''' implements the {{tl|Cite RSI}} template.» текущая Метка: редактор вики-текста 2017
  • 14:0414:04, 31 августа 2024 разн. история +5009 Н Модуль:Cite RSIНовая страница: «local p = {} local args --- Helper function checking if a substring is in a string -- -- @param needle string - Value to search for -- @param haystack string - String to search in -- -- @return bool - True if found local function stringContains( needle, haystack ) return string.find( mw.ustring.lower( haystack ), needle, 1, true ) end -- This is from Module:String2 -- FIXME: Figure out how to call in from Lua properly local function titlecase( text )...» текущая
  • 14:0414:04, 31 августа 2024 разн. история +32 Н Модуль:Manufacturer/docНовая страница: «{{documentation|scwShared=true}}» текущая Метка: редактор вики-текста 2017
  • 14:0314:03, 31 августа 2024 разн. история +4548 Н Модуль:ManufacturerНовая страница: «require( 'strict' ) local Manufacturer = {} local metatable = {} local methodtable = {} metatable.__index = methodtable local MODULE_NAME = 'Module:Manufacturer' local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType local i18n = require( 'Module:i18n' ):new() local mArguments local cache = {} --- Wrapper function for Module:i18n.translate --- --- @param key string The translation key --- @return string|nil local functi...» текущая
  • 14:0214:02, 31 августа 2024 разн. история +1467 Н Шаблон:Para/docНовая страница: «{{Documentation}} == Usage == This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first parameter is the name of the example parameter to display (this may be ''empty'', but it must be ''present''), and the second (optional) parameter is a value for the first example parameter or, if the first {{tlx|para}} parameter...» текущая Метка: редактор вики-текста 2017
  • 14:0114:01, 31 августа 2024 разн. история +183 Н Шаблон:ParaНовая страница: «<code class="nowrap" {{#if:{{{plain|}}}|style="border:none;background-color:inherit;color:inherit;"}}>|{{#if:{{{1|}}}|{{{1}}}=}}{{{2|}}}</code><noinclude>{{/doc}}</noinclude>» текущая Метка: редактор вики-текста 2017
  • 14:0114:01, 31 августа 2024 разн. история +2702 Н Шаблон:Tag/docНовая страница: «{{Documentation}} : {{t|tag|''tagname'' [|''type''] [|content=''text''] [|params=''parameters'']}} This template provides a quick way to mention an {{WP|ref=no|XML}}/{{WP|ref=no|HTML}}-style tag in a preformatted way. Mainly used in discussion/help pages. ===Parameters=== Required parameters shown in '''''bold italics'''''. ; {{para|first unnamed}} {{nobold| (''tagname'' above)}} : The XML/HTML tag's name (e.g. {{mono|100%|code}}, {{mono|100%|...» текущая Метка: редактор вики-текста 2017
  • 14:0114:01, 31 августа 2024 разн. история +692 Н Шаблон:TagНовая страница: «<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!-- Opening tag -->{{#switch:{{{2|pair}}} |c|close = |s|single |o|open |p|pair = <{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}} }}<!-- Content between tags -->{{#switch:{{{2|pair}}} |c|close = {{{content|}}} |s|single = /> |o|open = >{{{content|}}} |p|pair = {{#ifeq:{{{1|tag}}}|!-...» текущая Метка: редактор вики-текста 2017
  • 14:0014:00, 31 августа 2024 разн. история +653 Н Модуль:Arguments/docНовая страница: «{{Documentation|scwShared=true|fromWikipedia=true}} '''Module:Arguments''' provides easy processing of arguments passed from #invoke. It is a meta-module, meant for use by other modules, and should not be called from #invoke directly. Its features include: * Easy trimming of arguments and removal of blank arguments. * Arguments can be passed by both the current frame and by the parent frame at the same time. (More details below.) * Arguments can be passed i...» текущая Метка: редактор вики-текста 2017