User contributions for Naginreed

Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽

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

29 June 2022

  • 04:2804:28, 29 June 2022 diff hist +145 N Template:Separated entriesCreated page with "<onlyinclude>{{{{{|safesubst:}}}#invoke:Separated entries|main}}</onlyinclude> <noinclude> {{doc}} Category:Formatting templates </noinclude>" current
  • 04:2704:27, 29 June 2022 diff hist +955 N Module:Separated entries/docCreated page with "{{doc/start}} == Usage == Module:Separated entries serves as a template front-end to <code>mw.text.listToText</code>. It takes any number of positional parameters and pieces them together with {{para|separator}}. {{para|conjunction}} can be optionally defined if a different separator is desired between the last and second last items. The starting positional par..." current
  • 04:2704:27, 29 June 2022 diff hist −3 Template:CrossNo edit summary current
  • 04:2704:27, 29 June 2022 diff hist +419 N Template:CrossCreated page with "{{#if:{{{1|}}}|{{{1}}}|20}}px|link=|alt=<span style="display:none">N</span><!--template:cross--><noinclude> This template is used to insert wikitables. == Usage == * {{tlx|Cross}} → {{Cross}} * {{tlx|Cross|40}} →{{Cross|40}} == Parameters == ; <code>1</code> : The image width. Default is 20. }} {{Documentation}} </noinclude>"
  • 04:2704:27, 29 June 2022 diff hist 0 N File:OOjs UI icon close-ltr-destructive.svg.pngNo edit summary current
  • 04:2304:23, 29 June 2022 diff hist +398 N Template:TickCreated page with "{{ {{{|safesubst:}}}#if:{{{1|}}}|{{{1}}}|20}}px|alt=Yes|link=<!--template:tick--><noinclude> <templatedata> { "params": { "1": { "label": "Size in pixels", "type": "number", "description": "Size of the tick", "example": "20", "autovalue": "20", "required": true }, "": {} } } </templatedata> {{Documentation}} </noinclude>" current
  • 04:2304:23, 29 June 2022 diff hist 0 N File:Template-noinfo.pngNo edit summary current
  • 04:2204:22, 29 June 2022 diff hist 0 N File:20px-OOjs UI icon check-constructive.pngNo edit summary current
  • 04:1904:19, 29 June 2022 diff hist +4,708 N Template:Xtag/docCreated page with "{{doc/start}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Hatnote|For the page status indicator Phabricator tags, see: {{tlx|Ptag}}.}} {{Uses TemplateStyles|Template:Nowrap/styles.css}} {{TemplateData header|Extension tag}} __NOTOC__ <templatedata> { "description": { "en": "This template adds a formatted MediaWiki parser or extension tag that links to the help or ext..." current
  • 04:1904:19, 29 June 2022 diff hist +2,314 N Template:XtagCreated page with "<onlyinclude>{{#if:{{yesno|{{{plain|}}}}}|| {{#if:{{yesno|{{{wrap|}}}}}|| <templatestyles src="Template:Nowrap/styles.css" /> }}<code class="mw-highlight {{#if:{{yesno|{{{wrap|}}}}}||nowrap}}"> }}{{#switch:{{{2|open}}} |c|close = {{{content|}}}{{#tag:span|‎</|class="p"}} |s|single |o|open |p|pair = {{#tag:span|‎<|class="p"}} }}{{#tag:span|{{#switch:{{{1|tag}}} |categorytree={{{1}}} |charinsert=..." current
  • 04:1804:18, 29 June 2022 diff hist +156 N Template:Unordered listCreated page with "<onlyinclude>{{<includeonly>safesubst:</includeonly>#invoke:List|bulleted}}</onlyinclude> <noinclude> {{doc}} Category:Formatting templates </noinclude>" current
  • 04:1804:18, 29 June 2022 diff hist +81 N Template:Unordered list/docCreated page with "{{doc/start}} {{TemplateData header}} {{#invoke:TNT|doc|Module:List}} {{doc/end}}" current
  • 04:1704:17, 29 June 2022 diff hist +878 N Template:NoteCreated page with "<onlyinclude>{{#if: {{#if:{{{1|{{{text|}}}}}}|{{{1|{{{text|}}}}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}} |gotcha=error |=info |#default={{{2|{{{type|}}}}}} }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div> | 18px|alt= Note|link= ''' Note:''' }}<!-- --></onlyi..." current
  • 04:1504:15, 29 June 2022 diff hist 0 N File:18px-OOjs UI icon lightbulb-yellow.svg.pngNo edit summary current
  • 04:1404:14, 29 June 2022 diff hist +1,376 N Template:Note/styles.cssCreated page with ".note { background-position: left 7px top 50%; padding: 0.5em 0.5em 0.5em 40px; margin: 0.5em 0; overflow: hidden; background-color: #f8f9fa; background-repeat: no-repeat; border: 1px solid #ddd; } .note-inline { display: inline-block; vertical-align: middle; } .note-info { background-color: #f6efe5; →‎[[File:OOjs_UI_icon_reference_20_ac6600.svg]]: background-image: url(https://upload.wikimedia.org/wikipedia/commons/d/d5/OOjs_UI_icon_reference_20_ac6600.sv..." current
  • 04:1304:13, 29 June 2022 diff hist +1,438 N Template:Note/docCreated page with "{{doc/start}} {{TemplateData header|editlinks=1|docpage=Note/doc}} <templatedata> { "format": "inline", "description": { "en": "Show a note in a box (e.g. a top-of-the-page warning).", "tr": "Bir kutuda bir not gösterin (ör. sayfanın üstü uyarısı)." }, "params": { "inline": { "label": { "en": "Inline formatting", "tr": "Satır içi biçimlendirme" }, "description": { "en": "Show the template without line breaks before and after it.",..." current
  • 04:1004:10, 29 June 2022 diff hist +17,003 N Module:Arguments/docCreated page with "{{doc/start}} <noinclude><!-- -->{{#ifeq:{{SUBPAGENAME}}|doc||{{Documentation subpage}}}}<!-- --></noinclude>{{#switch: | = This module provides easy processing of arguments passed from {{Magic word|#invoke|...|ext=Scribunto|code=1|nowrap=1}}. It is a meta-module, meant for use by other modules, and should not be called from {{tlc|<nowiki>#invoke:...</nowiki>}} directly. Its features include: * Easy trimming of arguments and removal of blank arguments. * Arguments can..." current
  • 04:0704:07, 29 June 2022 diff hist +10,054 N Module:ArgumentsCreated page with "-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly. local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) == 'string'..." current
  • 04:0704:07, 29 June 2022 diff hist +344 N Module:ScribuntoUnit/styles.cssCreated page with "→‎* Styles for [[Module:ScribuntoUnit]]: .scribunto-test-table { width: 100%; max-width: 100%; } .scribunto-test-table .test-output { overflow-wrap: break-word; word-break: break-all; } .scribunto-test-table .test-output-expected, .scribunto-test-table .test-output-actual { font-family: monospace, monospace; white-space: pre-wrap; }" current
  • 04:0604:06, 29 June 2022 diff hist +1,552 N Module:ScribuntoUnit/configCreated page with "-- The cfg table, created by this module, contains all localisable strings and -- configuration, to make it easier to port this module to another wiki. local cfg = {} -- Do not edit this line. -- The successIndicator and failureIndicator are in the first column of the -- wikitable produced as output and indicate whether the test passed. These two -- strings are preprocessed by frame.preprocess. -- successIndicator: if the test passes -- failureIndicator: if the test fa..." current
  • 04:0604:06, 29 June 2022 diff hist +20,719 N Module:ScribuntoUnitCreated page with "------------------------------------------------------------------------------- -- Unit tests for Scribunto. ------------------------------------------------------------------------------- require('Module:No globals') local DebugHelper = {} local ScribuntoUnit = {} -- The cfg table contains all localisable strings and configuration, to make it -- easier to port this module to another wiki. local cfg = mw.loadData('Module:ScribuntoUnit/config') ------------------------..." current
  • 04:0504:05, 29 June 2022 diff hist +1,384 N Module:Separated entries/testcasesCreated page with "local p = require('Module:ScribuntoUnit'):new() local m = require('Module:Separated entries') local function callWithArgs(args, separator, conjunction, start) local frame = (mw.getCurrentFrame() :newChild{ args = args } :newChild{ args = { separator = separator, conjunction = conjunction, start = start } }) return m.main(frame) end local function callWithArgsBr(args, start) local frame = (mw.getCurrentFrame() :newChild{ args = args } :newChild{ args = { star..." current
  • 04:0404:04, 29 June 2022 diff hist +1,403 N Module:Separated entriesCreated page with "-- This module takes positional parameters as input and concatenates them with -- an optional separator. The final separator (the "conjunction") can be -- specified independently, enabling natural-language lists like -- "foo, bar, baz and qux". The starting parameter can also be specified. local compressSparseArray = require('Module:TableTools').compressSparseArray local p = {} function p._main(args) local separator = args.separator -- Decode (convert to Unicode) HT..." current
  • 04:0304:03, 29 June 2022 diff hist +695 N Template:Magic word/docCreated page with "{{doc/start}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Uses TemplateStyles|Template:Nowrap/styles.css|Template:Mono/styles.css}} {{TemplateData header}} {{#invoke:TNT|doc|Magic word}} == Examples == * {{tlx|Magic word|nowrap{{=}}1|ext{{=}}Translate|#translation}} → <br />{{Magic word|nowrap=1|ext=Translate|#translation}} * {{tlx|Magic word|mono{{=}}1|nowrap{{=}}1|ext{{=}}Scribunto|#invoke|Example}} → <br /..." current
  • 04:0304:03, 29 June 2022 diff hist +1,465 N Template:Tlf/docCreated page with "{{doc/start}} {{Uses TemplateStyles|Template:Nowrap/styles.css}} {{TemplateData header}} <templatedata> { "description": "Template link with link off", "format": "inline", "params": { "1": { "label": "Template", "description": "Linked template name", "required": true, "type": "wiki-template-name" }, "2": { "label": "Parameter 1", "description": "First parameter value", "type": "string" }, "3": { "label": "Parameter 2", "description..." current
  • 04:0204:02, 29 June 2022 diff hist +956 N Template:TlfCreated page with "<onlyinclude><!-- -->{{{{{|safesubst:}}}#if:{{{{{|safesubst:}}}yesno|{{{nowrap|1}}}}}|<!-- --><templatestyles src="Template:Nowrap/styles.css"/><!-- --><span class="nowrap"><!-- -->}}{{((}}<includeonly>{{{1}}}</includeonly><noinclude>tlf{{!}}...</noinclude><!-- -->{{{{{|safesubst:}}}#ifeq:{{{2|}}}|{{{2}}}|{{!}}{{{2}}}}}<!-- -->{{{{{|safesubst:}}}#ifeq:{{{3|}}}|{{{3}}}|{{!}}{{{3}}}}}<!-- -->{{{{{|safesubst:}}}#ifeq:{{{4|}}}|{{{4}}}|{{!}}{{{4}}}}}<!-- -->{{{{{|safesubst:..." current
  • 04:0204:02, 29 June 2022 diff hist +3,081 N Template:Uses TemplateStyles/docCreated page with "{{doc/start}} This template is used to show that templates have been converted to use {{ll|Help:TemplateStyles|TemplateStyles}}. It is placed at the top of the template's /doc page. It automatically adds the template to [[:Category:{{#invoke:Data|Module:Uses TemplateStyles/config|default_category}}]], or to one of its subcategories. == Usage == ; Basic : {{tlx|Uses TemplateStyles|''TemplateStyles page name''}} ; All parameters : {{tlx|Uses TemplateStyles|''TemplateSty..." current
  • 04:0104:01, 29 June 2022 diff hist +1,146 N Template:Str right/docCreated page with "{{doc/start}} === Usage === : <code>{{Tlx|Str right|<string>|<offset>}}</code> Gives the characters from <offset> to the end of the string. A negative <offset> is treated the same as zero, which simply returns the original string. If <offset> is longer than <string> then this returns an empty string. If <offset> is invalid, empty or undefined, this template goes berserk, so don't do that. === Limitations === * Up to 100 chararacters in the input string. If possibl..." current
  • 04:0104:01, 29 June 2022 diff hist −134 Module:String/docNo edit summary current
  • 04:0004:00, 29 June 2022 diff hist +9,034 N Module:String/docCreated page with "{{doc/start}} <noinclude><!-- -->{{#ifeq:{{SUBPAGENAME}}|doc||{{Documentation subpage}}}}<!-- --></noinclude>{{#switch: | = 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 advantageou..."
  • 04:0004:00, 29 June 2022 diff hist +3,221 N Template:Str len/docCreated page with "{{doc/start}} This is the {{tl|str len}} meta-template. It takes a string as parameter and returns its length (excluding spaces at the start and end). It can now count as high as necessary. === Examples === If the parameter is empty or undefined it is considered to be of zero length: :<code><nowiki>{{str len}}</nowiki></code> returns {{str len}} :<code><nowiki>{{str len|}}</nowiki></code> returns {{str len|}} :<code><nowiki>{{str len| }}</nowiki></code> returns {{s..." current
  • 03:5903:59, 29 June 2022 diff hist +118 N Template:Str lenCreated page with "{{ {{{|safesubst:}}}#invoke:String|len|s={{{1|}}}}} <noinclude> {{doc}} Category:Formatting templates </noinclude>" current
  • 03:5903:59, 29 June 2022 diff hist +10 Template:PhpiNo edit summary current
  • 03:5803:58, 29 June 2022 diff hist +1,070 N Template:Inline-code/docCreated page with "{{doc/start}} == Usage == : Some text, then <nowiki>{{Inline-code | 1=wfDebug( $text, $dest = 'all' );}}</nowiki> and more text. produces : Some text, then {{Inline-code | 1=wfDebug( $text, $dest = 'all' );}} and more text. Note that for PHP, using the shorter {{tlx|phpi}} might be easier. == TemplateData == {{TemplateData header}} <templatedata> { "description": "An inline source code string.", "format": "inline", "params": { "1": { "aliases": ["code"], "l..." current
  • 03:5803:58, 29 June 2022 diff hist +383 N Template:Inline-codeCreated page with "<onlyinclude><!-- -->{{#if:{{yesno|{{{nowrap|}}}}}|<templatestyles src="Template:Nowrap/styles.css"/>}}<!-- -->{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|inline=1 | id = {{{id|}}} | class = {{#if:{{yesno|{{{nowrap|}}}}}|nowrap}} {{{class|}}} | style = {{{style|}}} | lang = {{{lang|{{{2|php}}}}}} }}</onlyinclude> <noinclude> {{doc}} Category:Formatting templates </noinclude>" current
  • 03:5703:57, 29 June 2022 diff hist +367 N Template:PhpiCreated page with "{{inline-code|{{{1}}}|lang="php"}}<noinclude> <templatedata> { "params": { "1": { "label": "Content", "description": "The PHP program code to be displayed.", "type": "string", "required": true } }, "description": "Display PHP code inline with syntax highlighting" } </templatedata> <noinclude> {{doc}} Category:Formatting templates </noinclude>"
  • 03:5503:55, 29 June 2022 diff hist +332 N Module:Tmpl/docCreated page with "{{doc/start}} <noinclude><!-- -->{{#ifeq:{{SUBPAGENAME}}|doc||{{Documentation subpage}}}}<!-- --></noinclude>{{#switch: | = Implements {{tlx|tmpl}}. == Usage == <code><nowiki>{{</nowiki>#invoke:Tmpl{{!}}''renderTmpl''<nowiki>}}</nowiki></code> == Tests == Category:Module documentation </noinclude> | #default= }} {{doc/end}}" current
  • 03:5403:54, 29 June 2022 diff hist +969 N Module:TmplCreated page with "-- This is a helper module for {{tmpl}} require('Module:No globals') -- The trailing `[^0-9]?` ensures that `$10` doesn't potentially change -- from being treated as `${1}0` to being treated as `${10}` -- if the number of supported parameters is ever expanded: local PATTERN = "%$([1-9])[^0-9]?" local this = {} function this.renderTmpl(frame) local args = frame.args local pargs = (frame:getParent() or {}).args local input = pargs[0] or '' local result = {} local..." current
  • 03:5403:54, 29 June 2022 diff hist +715 N Template:Tmpl/docCreated page with "{{doc/start}} This template replaces numeric variables (similar to those used in MediaWiki messages and translatable pages) in a string. In contrast to translatable pages, it supports only numeric variables {{mono|$1}} to {{mono|$9}}. One variable can appear several times, so in case of translatable pages, there’s no need to translate the same text more than once. == TemplateData == {{TemplateData header}} {{#invoke:TNT|doc|tmpl}} == Examples == * {{tlx|tmpl|2=0=Text..." current
  • 03:5403:54, 29 June 2022 diff hist +148 N Template:TmplCreated page with "<onlyinclude><includeonly>{{#invoke:Tmpl|renderTmpl}}</includeonly></onlyinclude> <noinclude> {{doc}} Category:Formatting templates </noinclude>" current
  • 03:5103:51, 29 June 2022 diff hist +15,472 N Module:StringCreated 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
  • 03:4703:47, 29 June 2022 diff hist +366 N Template:Str rightCreated page with "<includeonly>{{{{{|safesubst:}}}#ifexpr: {{{2|0}}} < 0 |{{{1}}} |{{{{{|safesubst:}}}#ifexpr: {{{2|0}}}+1 > {{{{{|safesubst:}}}#invoke:String|len|s={{{1}}}}} | | {{{{{|safesubst:}}}#invoke:String|sub|s={{{1}}}|{{{{{|safesubst:}}}#expr:{{{2|0}}}+1}}|nocategory={{{nocategory|}}}}} }} }}</includeonly> <noinclude> {{doc}} Category:Formatting templates </noinclude>" current
  • 03:4703:47, 29 June 2022 diff hist +682 N Template:\sandbox/docCreated page with "{{doc/start}} == Usage == Returns "/{{#ifeq:{{NAMESPACE}}:{{str left|{{ROOTPAGENAME}}}}|Template:\|{{str right|{{ROOTPAGENAME}}|1}}|sandbox}}" if the template detects that the page where it is transcluded is a subpage named "sandbox" (i.e. a sandbox page); otherwise it returns nothing. This can be useful to e.g. switch the version of a template used in its /doc[umentation] to the version in its sandbox (by replacing <code>{{((}}''..." current
  • 03:4603:46, 29 June 2022 diff hist +136 N Template:\sandboxCreated page with "<onlyinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|/sandbox}}</onlyinclude> <noinclude> {{doc}} Category:Formatting templates </noinclude>" current
  • 03:4503:45, 29 June 2022 diff hist +4,577 N Template:Samp/docCreated page with "{{doc/start}} <!-- Categories at the bottom of this page, please; interwikis at Wikidata --> == Purpose == This template is for explicitly indicating that the content inside it represents example output from a computer program or other machine source (automated attendant/interactive voice response call system, exit code of an application, standard output, LC..." current
  • 03:4503:45, 29 June 2022 diff hist +393 N Template:SampCreated page with "<samp {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} style="padding-left:0.4em; padding-right:0.4em; color:{{#if:{{{color|}}}|{{{color}}}|#666666}};{{#if:{{{style|}}}| {{{style}}}|}}" {{{#if:{{{lang|}}}|lang="{{{lang}}}" xml:lang="{{{lang}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</samp> <noinclude> {{doc}} Category:Formatting templates </noinclude>" current
  • 03:4403:44, 29 June 2022 diff hist +928 N Template:Key pressCreated page with "{{key press/core|{{{1|}}}}}<!-- -->{{#if:{{{2|}}}|{{{chain first|{{{chain|+}}}}}}{{key press/core|{{{2}}}}}}}<!-- -->{{#if:{{{3|}}}|{{{chain second|{{{chain|+}}}}}}{{key press/core|{{{3}}}}}}}<!-- -->{{#if:{{{4|}}}|{{{chain third|{{{chain|+}}}}}}{{key press/core|{{{4}}}}}}}<!-- -->{{#if:{{{5|}}}|{{{chain fourth|{{{chain|+}}}}}}{{key press/core|{{{5}}}}}}}<!-- -->{{#if:{{{6|}}}|{{{chain fifth|{{{chain|+}}}}}}{{key press/core|{{{6}}}}}}}<!-- -->{{#if:{{{7|}}}|{{{chain sixt..." current
  • 03:4403:44, 29 June 2022 diff hist −70 Template:IsDocSubpageNo edit summary current
  • 03:4103:41, 29 June 2022 diff hist +82 N Template:IsDocSubpage/docCreated page with "{{doc/start}} {{TemplateData header}} {{#invoke:TNT|doc|IsDocSubpage}} {{doc/end}}" current
  • 03:4103:41, 29 June 2022 diff hist +419 N Template:IsDocSubpageCreated page with "<onlyinclude><includeonly>{{#ifexpr: ( {{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{override|doc}}}}}|1|0}} or ( {{#ifeq:{{lc:{{#titleparts:{{FULLPAGENAME}}|-1|-2}}}}|{{lc:{{{override|doc}}}}}|1|0}} and {{#if:{{#invoke:Template translation|getLanguageSubpage}}|1|0}} ) )<!-- -->|{{{true|1}}}<!-- -->|{{{false|}}}<!-- -->}}</includeonly></onlyinclude> <noinclude> {{doc}} Category:Formatting templates </noinclude>"

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