User contributions for Nomad

Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)

28 January 2023

  • 06:5606:56, 28 January 2023 diff hist +3,689 N Module:RedirectCreated page with "-- 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 if it isn't a -- redi..." current
  • 06:5606:56, 28 January 2023 diff hist +118 N Module:RSI/docCreated page with "{{Documentation}} '''Module:RSI''' optionally adds "https://robertsspaceindustries.com/" to url if it is not present." current
  • 06:5606:56, 28 January 2023 diff hist +517 N Module:RSICreated page with "-- Optionally add "https://robertsspaceindustries.com/" to url if it is not present. local p = {} function p.rsi_url(frame) local base_url = "https://robertsspaceindustries.com/" local support_url = "https://support.robertsspaceindustries.com/" local url = frame.args[1] local return_val if (string.sub(url,1,string.len(base_url))==base_url) or (string.sub(url,1,string.len(support_url))==support_url) then return_val = url else return_val = base_url ....."
  • 06:5506:55, 28 January 2023 diff hist +190 N Module:Paramtest/docCreated page with "{{Documentation}} '''Module:Paramtest''' is a helper module to be used by other modules. See [https://runescape.wiki/w/Module:Paramtest Module:Paramtest] on RuneScape Wiki for more details." current
  • 06:5506:55, 28 January 2023 diff hist +2,055 N Module:ParamtestCreated page with "--[[ {{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 = defaults{ {arg1,arg2},...}..."
  • 06:5506:55, 28 January 2023 diff hist +276 N Module:Parameter names example/docCreated page with "{{Documentation}} {{Wikipedia template}} '''Module:Parameter names example''' implements {{tl|Parameter names example}}. It creates a template demonstration such as that shown opposite. Please see the template page for full documentation." current
  • 06:5406:54, 28 January 2023 diff hist +1,521 N Module:Parameter names exampleCreated page with "-- This module implements {{parameter names example}}. local p = {} local function makeParam(s) local lb = '{' local rb = '}' return lb:rep(3) .. s .. rb:rep(3) end local function italicize(s) return "''" .. s .. "''" end local function plain(s) return s end function p._main(args, frame) -- Find how we want to format the arguments to the template. local formatFunc if args._display == 'italics' or args._display == 'italic' then formatFunc = italic..." current
  • 06:5406:54, 28 January 2023 diff hist +3,452 N Module:Pagetype/configCreated page with "-------------------------------------------------------------------------------- -- Module:Pagetype configuration data -- -- This page holds localisation and configuration data for Module:Pagetype. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. -------------------------------------------------------------------------------- -- St..." current
  • 06:5306:53, 28 January 2023 diff hist +289 N Module:Pagetype/docCreated page with "{{Documentation}} {{Wikipedia template}} '''Module:Pagetype''' is used to detect the page type of a given page. It detects redirect pages automatically and is highly customisable. It can be used on its own or as a meta-module to create other page-type-detection templates." current
  • 06:5306:53, 28 January 2023 diff hist +6,396 N Module:PagetypeCreated page with "-------------------------------------------------------------------------------- -- -- -- PAGETYPE -- -- -- -- This is a meta-module intended to replace {{pagetype}} and similar -- -- templates. It automatically detects namespaces, and allows for..." current
  • 06:5306:53, 28 January 2023 diff hist +166 N Module:Ordinal/docCreated page with "{{Documentation}} {{Wikipedia template}} '''Module:Ordinal''' is meant to implement the {{tl|Ordinal}} template. Please see the template page for usage instructions." current
  • 06:5206:52, 28 January 2023 diff hist +1,520 N Module:OrdinalCreated page with "--This template will add the appropriate ordinal suffix to a given integer. Please do not modify this code without applying the changes first at Module:Ordinal/sandbox and testing. local p = {} local yesno = require('Module:Yesno') -- boolean value interpretation --[[ This function converts an integer value into a numeral followed by ordinal indicator. The output string might contain HTML tags. Usage: {{#invoke:Ordinal|ordinal|1=|2=|sup=}} {{#invok..." current
  • 06:5106:51, 28 January 2023 diff hist +230 N Module:NumberSpell/docCreated page with "{{Documentation}} {{Wikipedia template}} '''Module:NumberSpell''' takes a number and returns the equivalent English word. For example, "2" becomes "two" and "79" becomes "seventy-nine". Numbers must be integers between 0 and 100." current
  • 06:5106:51, 28 January 2023 diff hist +2,078 N Module:NumberSpellCreated page with "-- This module converts a number into its written English form. -- For example, "2" becomes "two", and "79" becomes "seventy-nine". local getArgs = require('Module:Arguments').getArgs local p = {} local max = 100 -- The maximum number that can be parsed. local ones = { [0] = 'zero', [1] = 'one', [2] = 'two', [3] = 'three', [4] = 'four', [5] = 'five', [6] = 'six', [7] = 'seven', [8] = 'eight', [9] = 'nine' } local specials = { [10] = 'ten', [11] = 'eleven..."
  • 06:5006:50, 28 January 2023 diff hist +396 N Module:Namespace detect/docCreated page with "{{Documentation}} {{Wikipedia template}} '''Module:Namespace detect''' allows you to output different text depending on the namespace that a given page is in. It is a Lua implementation of the {{tl|namespace detect}} template, with a few improvements: all namespaces and all namespace aliases are supported, and namespace names are detected automatically for the local wiki." current
  • 06:5006:50, 28 January 2023 diff hist +2,569 N Module:Namespace detect/dataCreated page with "-------------------------------------------------------------------------------- -- Namespace detect data -- -- This module holds data for Module:Namespace detect to be loaded per -- -- page, rather than per #invoke, for performance reasons. -- -------------------------------------------------------------------------------- local cfg = require('Module:Namespace detect/config') local function..." current
  • 06:4906:49, 28 January 2023 diff hist +3,545 N Module:Namespace detect/configCreated page with "-------------------------------------------------------------------------------- -- Namespace detect configuration data -- -- -- -- This module stores configuration data for Module:Namespace detect. Here -- -- you can localise the module to your wiki's language. -- --..." current
  • 06:4806:48, 28 January 2023 diff hist +5,992 N Module:Namespace detectCreated page with "--[[ -------------------------------------------------------------------------------- -- -- -- NAMESPACE DETECT -- -- -- -- This module implements the {{namespace detect}} template in Lua, with a -- -- few improvements: all namespaces and all namespace aliases are..." current
  • 06:4706:47, 28 January 2023 diff hist +686 N Module:Main/docCreated page with " {{Documentation}} {{Wikipedia template}} '''Module:Main''' produces a link to a main article or articles. It implements the {{tl|main}} template. Normally, it produces a link like "Main article: A". If used in the category namespace, it produces a link like "The main article for this category is A". It is possible to specify multiple articles, and in this case plural wording is used automatically. If the first link is not an article, the module uses t..." current
  • 06:4706:47, 28 January 2023 diff hist +2,261 N Module:MainCreated page with "--[[ -- This module produces a link to a main article or articles. It implements the -- template {{main}}. -- -- If the module is used in category or category talk space, it produces "The -- main article for this category is xxx". Otherwise, it produces -- "Main article: xxx". --]] local mHatnote = require('Module:Hatnote') local mHatlist = require('Module:Hatnote list') local mArguments -- lazily initialise local p = {} function p.main(frame) mArguments = require('M..."
  • 06:4606:46, 28 January 2023 diff hist +9,112 N Module:List/docCreated page with "{{Documentation}} {{Wikipedia template}} '''Module:List''' outputs various kinds of lists. At present, it supports bulleted lists, unbulleted lists, horizontal lists, ordered lists (numbered or alphabetical), and horizontal ordered lists. It allows for easy css styling of the list or of the individual list items. == Usage == ; Quick usage <pre><nowiki>{{</nowiki>#invoke:list<nowiki>|</nowiki>''function''<nowiki>|</nowiki>''first item''<nowiki>|</nowiki>''second item'..." current
  • 06:4606:46, 28 January 2023 diff hist +5,565 N Module:ListCreated page with "local libUtil = require('libraryUtil') local checkType = libUtil.checkType local mTableTools = require('Module:TableTools') local p = {} local listTypes = { ['bulleted'] = true, ['unbulleted'] = true, ['horizontal'] = true, ['ordered'] = true, ['horizontal_ordered'] = true } function p.makeListData(listType, args) -- Constructs a data table to be passed to p.renderList. local data = {} -- Classes and TemplateStyles data.classes = {} data.templatestyles = ''..." current
  • 06:4506:45, 28 January 2023 diff hist +89 N Module:Link capture/docCreated page with "{{Documentation}} '''Module:Link capture''' implements the {{tl|Link capture}} template." current
  • 06:4506:45, 28 January 2023 diff hist +400 N Module:Link captureCreated page with "local p = {} function p.linkcapture(frame) local linkString = frame.args[1] or "" local linkText = string.match(linkString, "%[%[([^%]]+)%]%]") local linkTextText = string.match(linkString, "%[%[[^%|]+%|([^%}]+)%]%]") if (linkTextText ~= nil) then return linkTextText elseif (linkText ~= nil) then return linkText else return linkString end end return p"
  • 06:4406:44, 28 January 2023 diff hist +305 N Module:LibraryUtil/docCreated page with "{{Documentation}} '''Module:LibraryUtil''' is mostly to keep track of modules using the standard Scributo library <code>libraryUtil</code>. See [https://runescape.wiki/w/Module:LibraryUtil Module:LibraryUtil] on RuneScape Wiki for more details." current
  • 06:4306:43, 28 January 2023 diff hist +2,548 N Module:LibraryUtilCreated page with "-- <nowiki> local libraryUtil = require( 'libraryUtil' ) -- libraryUtil is a standard scribunto module, the following commented out code is just to show what is inside it. Documentation about these functions can be found at https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#libraryUtil --[=[ local libraryUtil = {} function libraryUtil.checkType( name, argIdx, arg, expectType, nilOk ) if arg == nil and nilOk then return end if type( arg ) ~= ex..." current
  • 06:4306:43, 28 January 2023 diff hist +381 N Module:Labelled list hatnote/docCreated page with " {{Documentation}} {{Wikipedia template}} '''Module:Labelled list hatnote''' provides a handful of functions that make it easy to implement hatnotes that take the form of a label in front of a list of pages. See Module:Labelled list hatnote on Wikipedia for more details. <includeonly> <!-- Categories below this line --> </includeonly>" current
  • 06:4206:42, 28 January 2023 diff hist +3,137 N Module:Labelled list hatnoteCreated page with "-------------------------------------------------------------------------------- -- Labelled list -- -- -- -- This module does the core work of creating a hatnote composed of a list -- -- prefixed by a colon-terminated label, i.e. "LABEL: [andList of pages]", -- -- for {{see also}} and similar templates...."
  • 06:4106:41, 28 January 2023 diff hist +361 N Module:Key/styles.cssCreated page with ".keyboard-key { padding: 0.25em 0.5em; display: inline-block; line-height: 1; font-weight: var( --font-weight-medium ); font-size: 0.875rem; border-radius: var( --border-radius--small ); border: 1px solid; border-color: var( --border-color-base ); background: var( --color-surface-3 ); color: var( --color-base--emphasized ); }" current
  • 06:4006:40, 28 January 2023 diff hist +69 N Module:Key/docCreated page with "{{Documentation}} {{Wikipedia template}} Implements {{tl|key press}}" current
  • 06:4006:40, 28 January 2023 diff hist +4,668 N Module:KeyCreated page with "-- This module implements {{key press}}. local kbdPrefix = '<kbd class="keyboard-key nowrap">' local kbdSuffix = '</kbd>' local keyText = { ['caps lock'] = '⇪ Caps Lock', ['caps lock'] = '⇪ Caps Lock', ['shift'] = '⇧ Shift', ['shift'] = '⇧ Shift', ['enter'] = '↵ Enter', ['enter'] = '↵ Enter', ['cmd'] = '⌘ Cmd', ['cmd'] = '⌘ Cmd', ['command'] = '⌘..." current
  • 06:3906:39, 28 January 2023 diff hist +20,639 N Module:Infobox testCreated page with "local p = {} local args = {} local origArgs = {} local root local empty_row_categories = {} local category_in_empty_row_pattern = '%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]' local has_rows = false local lists = { plainlist_t = { patterns = { '^plainlist$', '%splainlist$', '^plainlist%s', '%splainlist%s' }, found = false, styles = 'Plainlist/styles.css' }, hlist_t = { patterns = { '^hlist$', '%shlist$', '^hlist%s', '%shlist%s'..." current
  • 06:3806:38, 28 January 2023 diff hist +1,417 N Module:Infobox/styles.cssCreated page with ".infobox { max-width: 400px; font-size: 0.875rem; background-color: var( --color-surface-2 ); border-radius: var( --border-radius--large ); border-collapse: collapse; line-height: var( --line-height-sm ); } →‎We use grid to create the infobox layout: .infobox tbody, .infobox th, .infobox td { display: block; } .infobox tr { display: grid; margin-left: 1rem; margin-right: 1rem; } .infobox tr + tr { margin-top: 0.5rem; } .infobox th { text-align..." current
  • 06:3706:37, 28 January 2023 diff hist +172 N Module:Infobox/docCreated page with "{{Documentation}} {{Wikipedia template}} '''Module:Infobox''' is a module that implements the {{tl|Infobox}} template. Please see the template page for usage instructions." current
  • 06:3306:33, 28 January 2023 diff hist +15,974 N Module:InfoboxCreated page with "-- -- This module implements {{Infobox}} -- local p = {} -- local navbar = require('Module:Navbar')._navbar local args = {} local origArgs local root local function notempty( s ) return s and s:match( '%S' ) end local function fixChildBoxes(sval, tt) if notempty(sval) then local marker = '<span class=special_infobox_marker>' local s = sval s = mw.ustring.gsub(s, '(<%s*[Tt][Rr])', marker .. '%1') s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>)', '%1' .. marker) i..."

27 January 2023

25 January 2023

17 January 2023

  • 19:2619:26, 17 January 2023 diff hist +3,021 Main PageNo edit summary Tag: Visual edit: Switched
  • 19:2519:25, 17 January 2023 diff hist +3,021 N MediaWiki:MainpageCreated page with "<!-- MediaWiki does not recognize HTML5 elements sadly --> {{Main page/header}} {{Main page/herobanner}} {{Main page/navigation}} <div id="home-content" class="home-grid"> {{Main page/featured}} {{Main page/gamebuild}} {{Main page/editing}} {{Main page/onthisday}} {{Main page/latestpatch}} {{Main page/onthewiki}} <!-- TODO: Put them in individual templates --> <div id="home-card-discord" class="home-card home-card--col2 home-card--button">[https://discord.gg/XcKwqyD4sc [..." current

16 January 2023

  • 19:3419:34, 16 January 2023 diff hist +489 N MediaWiki:Citizen-footer-descCreated page with " Star Citizen Wiki Star Citizen Wiki is an unofficial wiki dedicated to Star Citizen and Squadron 42. It covers all content relating to Star Citizen including the everything featured in the game, the lore, and the development process and team behind it. This site is not endorsed by or affiliated with the Cloud Imperium or Roberts Space Industries group of companies. The Star Citizen Wiki is a part of the Star Citizen Tools project. Edit this text on MediaWiki:Citizen..."

14 January 2023

(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)