User contributions for Etenne

From BoyWiki
A user with 35,502 edits. Account created on 16 August 2012.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

24 February 2022

  • 01:1401:14, 24 February 2022 diff hist +184 N Template:Str left Created page with "<includeonly>{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 01:1301:13, 24 February 2022 diff hist +141 N Template:PAGENAMEBASE Created page with "{{{{{|safesubst:}}}#Invoke:String|replace|{{{1|{{{{{|safesubst:}}}PAGENAME}}}}}|%s+%b()$||1|false}}<noinclude> {{documentation}} </noinclude>" current
  • 01:1301:13, 24 February 2022 diff hist +18,033 N Module:String Created page with "--[[ 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, any error c..." current
  • 01:1101:11, 24 February 2022 diff hist +422 N Template:Main other Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:0}} | main | other }} }} | main = {{{1|}}} | other | #default = {{{2|}}} }}<noinclude> {{documentation}} <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> </noinclude>" current
  • 01:1001:10, 24 February 2022 diff hist +842 N Module:If preview/configuration Created page with "--We perform the actual check for whether this is a preview here since preprocessing is relatively expensive. local frame = mw.getCurrentFrame() local function is_preview() local revision_id = frame:preprocess('{{REVISIONID}}') -- {{REVISIONID}} is usually the empty string when previewed. -- I don't know why we're checking for nil but hey, maybe someday things -- would have broken return revision_id == nil or revision_id == '' end local function templatestyl..." current
  • 01:0801:08, 24 February 2022 diff hist +1,453 N Module:If preview Created page with "local p = {} local cfg = mw.loadData('Module:If preview/configuration') --main This function returns either the first argument or second argument passed to this module, depending on whether the page is being previewed. function p.main(frame) if cfg.preview then return frame.args[1] or '' else return frame.args[2] or '' end end --[[ pmain This function returns either the first argument or second argument passed to this module's parent (i.e. template usi..." current
  • 01:0701:07, 24 February 2022 diff hist +102 N Template:If empty Created page with "{{<includeonly>safesubst:</includeonly>#invoke:If empty|main}}<noinclude>{{Documentation}}</noinclude>" current
  • 01:0601:06, 24 February 2022 diff hist +1,018 N Module:If empty Created page with "local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) -- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank, -- even though there's really no legitimate use case for this. At some point, this will be removed. local lowestNil = math.huge for i = 8,1,-1 do if args[i] == nil then args[i] = '' lowestNil = i end end for..." current
  • 01:0501:05, 24 February 2022 diff hist +3,312 N Module:Check for unknown parameters Created page with "-- This module may be used to compare the arguments passed to the parent -- with a list of arguments, returning a specified result if an argument is -- not on the list local p = {} local function trim(s) return s:match('^%s*(.-)%s*$') end local function isnotempty(s) return s and s:match('%S') end local function clean(text) -- Return text cleaned for display and truncated if too long. -- Strip markers are replaced with dummy text representing the original wikitext..." current

23 February 2022

  • 22:5822:58, 23 February 2022 diff hist −1,688 Module:Navbar No edit summary current
  • 22:5322:53, 23 February 2022 diff hist −1,257 Template:Infobox No edit summary current
  • 22:5222:52, 23 February 2022 diff hist +18,846 N Module:Infobox Created 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 function fixChildBoxes(sval, tt) local function notempty( s ) return s and s:match( '%S' ) end if notempty(sval) then local marker = '<span class=special_infobox_marker>' local s = sval -- start moving templatestyles and categories inside of table rows..."
  • 22:2722:27, 23 February 2022 diff hist +6,119 N Module:Color contrast/colors Created page with "return { aliceblue = 0.92880068253475, antiquewhite = 0.84646951707754, aqua = 0.7874, aquamarine = 0.8078549208338, azure = 0.97265264954166, beige = 0.8988459998705, bisque = 0.80732327372979, black = 0, blanchedalmond = 0.85084439608156, blue = 0.0722, blueviolet = 0.12622014321946, brown = 0.098224287876511..." current
  • 22:2622:26, 23 February 2022 diff hist +6,971 N Module:Color contrast Created page with "-- -- This module implements -- {{Color contrast ratio}} -- {{Greater color contrast ratio}} -- {{ColorToLum}} -- {{RGBColorToLum}} -- local p = {} local HTMLcolor = mw.loadData( 'Module:Color contrast/colors' ) local function sRGB (v) if (v <= 0.03928) then v = v / 12.92 else v = math.pow((v+0.055)/1.055, 2.4) end return v end local function rgbdec2lum(R, G, B) if ( 0 <= R and R < 256 and 0 <= G and G < 256 and 0 <= B and B < 256 ) then return 0.2126 *..." current
  • 22:1922:19, 23 February 2022 diff hist +145 N Template:Note2 Created page with "16px|link=|alt= '''{{ucfirst:{{{1|Note:}}}}}'''<!--template:A note--><noinclude> {{documentation}}</noinclude>" current
  • 22:1622:16, 23 February 2022 diff hist +573 N Template:Wrapper template Created page with "{{mbox | type = style | image = 40x40px|alt=|link= | text = '''This template is a customized wrapper for {{tl|{{{1}}}}}'''. Any field from {{tl|{{{1}}}}} can work so long as it is added to this template first. Questions? Just ask here or over at [[Template talk:{{{1}}}]].}} <includeonly>{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | {{#ifexist:Category:Templates calling {{{1}}}|Category:Templates calling {{{..." current
  • 22:1622:16, 23 February 2022 diff hist +146 N Template:Ombox Created page with "{{#invoke:Message box|ombox}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 22:1322:13, 23 February 2022 diff hist +173 N Template:Namespace detect Created page with "{{SAFESUBST:<noinclude />#invoke:Namespace detect|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 22:1322:13, 23 February 2022 diff hist +3,545 N Module:Namespace detect/config Created 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
  • 22:1222:12, 23 February 2022 diff hist +2,569 N Module:Namespace detect/data Created 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
  • 22:1122:11, 23 February 2022 diff hist +5,992 N Module:Namespace detect Created 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
  • 22:0522:05, 23 February 2022 diff hist +1,868 N Template:Instruction editnotice Created page with "{{#invoke:Template wrapper|wrap|_include-positional=yes|_template=Editnotice|expiry={{{expiry|indefinite}}}|header={{{header|Instructions}}}|headerstyle={{{headerstyle|font-size:150%;}}}|image={{{image|Crystal128-kig.svg{{!}}link={{!}}alt=}}}|style={{{style|background-color: #eaf8f4; border: 2px solid #008560;}}}}}<noinclude>{{documentation|content= This template should be used for editnotices that provide instruction on how to edit a page. {{wrapper t..." current
  • 22:0322:03, 23 February 2022 diff hist +12,780 N Module:Template wrapper Created page with "require('Module:No globals'); local error_msg = '<span style=\"font-size:100%\" class=\"error\"><code style=\"color:inherit; border:inherit; padding:inherit;\">|_template=</code> missing or empty</span>'; --[[--------------------------< I S _ I N _ T A B L E >-------------------------------------------------------- scan through tbl looking for value; return true if found, false else ]] local function is_in_table (tbl, value) for k, v in pairs (tbl) do..." current
  • 22:0022:00, 23 February 2022 diff hist +202 N Template:Tlg Created page with "<onlyinclude>{{<includeonly>safesubst:</includeonly>#invoke:Template link general|main}}</onlyinclude> {{Documentation}} <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->" current
  • 22:0022:00, 23 February 2022 diff hist +3,940 N Module:Template link general Created page with "-- 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 trimTemplate(..." current
  • 21:5821:58, 23 February 2022 diff hist +1,585 N Template:Tlb Created page with "<includeonly>{{Tlg|bold=yes|subst={{{subst|}}}|LANG={{{LANG|}}}|SISTER={{{SISTER|}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}}}</includeonly><noinclude> ==Explanation== This template is a copy of {{tl|tlxb}} except that it uses normal text instead of non-proportional, monospaced text: {| class="wikitable" ! Code ! Result ! Remark |- | <code><nowiki>{{tlb|Template name}}</nowiki></code> | {{tlb|Templat..." current
  • 21:5421:54, 23 February 2022 diff hist +5,146 N Module:Hatnote Created page with "-------------------------------------------------------------------------------- -- 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...." current
  • 21:5321:53, 23 February 2022 diff hist +171 N Template:Hatnote Created page with "<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 21:5021:50, 23 February 2022 diff hist +470 N Template:FULLROOTPAGENAME Created page with "{{ safesubst:<noinclude/>#if: {{ safesubst:<noinclude/>Ns has subpages | {{ safesubst:<noinclude/>#if:{{{1|}}}|{{ safesubst:<noinclude/>NAMESPACE:{{{1}}}}}|{{ safesubst:<noinclude/>NAMESPACE}}}} }} | {{ safesubst:<noinclude/>#titleparts:{{ safesubst:<noinclude/>#if:{{{1|}}}|{{{1}}}|{{ safesubst:<noinclude/>FULLPAGENAME}}}}|1}} | {{ safesubst:<noinclude/>#if:{{{1|}}}|{{{1}}}|{{ safesubst:<noinclude/>FULLPAGENAME}}}} }}<noinclude> {{documentation}} </noinclude>" current
  • 21:5021:50, 23 February 2022 diff hist +185 N Template:Ns has subpages Created page with "{{<includeonly>safesubst:</includeonly>#invoke:Ns has subpages|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>" current
  • 21:5021:50, 23 February 2022 diff hist +1,678 N Module:Ns has subpages Created page with "-- This module implements Template:Ns has subpages. -- While the template is fairly simple, this information is made available to -- Lua directly, so using a module means that we don't have to update the -- template as new namespaces are added. local p = {} function p._main(ns, frame) -- Get the current namespace if we were not passed one. if not ns then ns = mw.title.getCurrentTitle().namespace end -- Look up the namespace table from mw.site.namespaces. Thi..." current
  • 21:4721:47, 23 February 2022 diff hist +2,887 N Template:Collapsible option Created page with "'''{{big|Initial visibility:}}''' currently defaults to '''{{big|{{#switch:{{{default|}}}|collapsed=collapsed|expanded=expanded|autocollapse|#default=autocollapse}}}}''' To set this template's initial visibility, the {{para|{{{parameter_name|state}}}}} parameter may be used: <ul> <li>{{para|{{{parameter_name|state}}}|collapsed}}: <code><nowiki>{{</nowiki><includeonly>{{</includeonly>{{#if:{{{nobase|}}}| |BASE}}PAGENAME<includeonly>}}</includ..." current
  • 21:4621:46, 23 February 2022 diff hist +177 N Template:Template other Created page with "<span style="font-size: 120%;">{{{1}}}</span><noinclude> {{Documentation}} <!-- Please add categories to the /doc subpage; interwikis go to Wikidata, thank you. --> </noinclude>" current
  • 21:4421:44, 23 February 2022 diff hist +177 N Template:Big Created page with "<span style="font-size: 120%;">{{{1}}}</span><noinclude> {{Documentation}} <!-- Please add categories to the /doc subpage; interwikis go to Wikidata, thank you. --> </noinclude>" current
  • 21:4121:41, 23 February 2022 diff hist +10,045 N Module:InfoboxImage Created page with "-- Inputs: -- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link -- page - page to display for multipage images (DjVu) -- size - size to display the image -- maxsize - maximum size for image -- sizedefault - default size to display the image if size param is blank -- alt - alt text for image -- title - title text for image -- border - set to yes if border -- center - set to yes, if th..." current
  • 21:3921:39, 23 February 2022 diff hist +1,334 N Template:Fmbox/doc Created page with "{{Documentation subpage}} {{for|the message box for File: pages|Template:imbox}} {{Used in system |in many system messages}} {{Lua|Module:Message box}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> {{Mbox templates (small)}} This is the {{tl|Fmbox}} (['''F''']ooter and header ['''m''']essage ['''box''']) template. It can be used to build message boxes for system messages such as MediaWiki:Sp-contributions-footer-anon. It can also be used..." current
  • 21:3721:37, 23 February 2022 diff hist +6,141 N Module:Message box/configuration Created page with "-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-spee..."
  • 21:3521:35, 23 February 2022 diff hist +745 N Module:Yesno Created page with "-- 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 == nil then return nil elseif val == true or val == 'yes' or val == 'y' or val =..." current
  • 21:3521:35, 23 February 2022 diff hist +141 N Template:Fmbox Created page with "{{#invoke:Message box|fmbox}}<noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>"
  • 21:3321:33, 23 February 2022 diff hist +307 N Module:No globals Created page with "local mt = getmetatable(_G) or {} function mt.__index (t, k) if k ~= 'arg' then error('Tried to read nil global ' .. tostring(k), 2) end return nil end function mt.__newindex(t, k, v) if k ~= 'arg' then error('Tried to write global ' .. tostring(k), 2) end rawset(t, k, v) end setmetatable(_G, mt)"
  • 21:3221:32, 23 February 2022 diff hist +18,348 N Module:Message box Created page with "-- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}. -- Load necessary modules. require('Module:No globals') local getArgs local yesno = require('Module:Yesno') -- Get a language object for formatDate and ucfirst. local lang = mw.language.getContentLanguage() -- Define constants local CONFIG_MODULE = 'Module:Message box/configuration' local DEMOSPACES = {talk = 'tmbox'..."
  • 21:2921:29, 23 February 2022 diff hist +6,336 N Template:Editnotice/doc Created page with "===Syntax=== <pre style="overflow: auto"> {{editnotice | expiry = | id = | header = | headerstyle = | text = | textstyle = | image = | imagesize = | style = | class = }} </pre> '''''Note''': All parameters are optional, except for <code>text</code>.'' == Parameters == * {{para|expiry|expiry date}} * {{para|id|optional HTML id}} * {{para|header|header text}} * {{para|headerstyle|CSS for header style}} * {{para|text|body text}} * {{para|textstyle|CSS for text style}} *..." current
  • 21:2721:27, 23 February 2022 diff hist +1,598 N Template:Editnotice Created page with "{{#ifeq:{{FULLROOTPAGENAME}}|Template:Editnotices |{{Editnotice/notice |expiry={{{expiry|¬}}} |redirect={{{redirect|}}} }} }}{{#ifexpr:{{#ifeq:{{FULLROOTPAGENAME}}|Template:Editnotices |1 |0 }}+{{#switch:{{{expiry|¬}}} |indefinite = 1 | |¬ = 1 <!-- Expiry not specified --> |#default = {{#iferror:{{#time:U|{{{expiry}}}}} |0 <!-- Invalid expiry time --> |{{#ifexpr:{{#time:U|{{{expiry}}}}}-{{#time:U|{{CURRENTTIMESTAMP}}}}>0 |1 <!--..." current
  • 21:1021:10, 23 February 2022 diff hist +253 Nm User talk:Camdogs12 Welcome! current
  • 21:0021:00, 23 February 2022 diff hist +173 Greek Love Through the Ages (website) No edit summary

19 February 2022

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