User contributions for Silmjlc

From The Kodiak Republic Wiki

A user with 931 edits. Account created on 24 December 2022.

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

20 May 2023

  • 02:2502:25, 20 May 2023 diff hist +118 N Template:NayCreated page with "13px|alt=Red X|link=<span style="display: none;">N</span><noinclude> {{documentation}} </noinclude>" current
  • 02:2502:25, 20 May 2023 diff hist +1,765 N Module:LoadData/docCreated page with "local p = {} -- Finds the next key key <= or >= the given i. -- operator is ±1 local function findItemRange(data, i, operator) local bestIndex = nil i = i * operator for k, v in pairs(data) do local kop = type(k) == 'number' and k * operator if kop and kop <= i and (bestIndex == nil or kop > bestIndex * operator) then bestIndex = k end end if bestIndex then return data[bestIndex] else return nil end end local function..." current
  • 02:2502:25, 20 May 2023 diff hist +1,765 N Module:LoadDataCreated page with "local p = {} -- Finds the next key key <= or >= the given i. -- operator is ±1 local function findItemRange(data, i, operator) local bestIndex = nil i = i * operator for k, v in pairs(data) do local kop = type(k) == 'number' and k * operator if kop and kop <= i and (bestIndex == nil or kop > bestIndex * operator) then bestIndex = k end end if bestIndex then return data[bestIndex] else return nil end end local function..." current
  • 02:2402:24, 20 May 2023 diff hist +1,293 N Module:Numcr2namecr/docCreated page with "{{Module rating |release}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> This is a data module. It cannot be invoked directly, but it can be accessed from other modules. == Usage == From Lua, use <code>mw.loadData</code>. Be aware that will return a special type of table so some features are unavailable. From templates, use..." current
  • 02:2402:24, 20 May 2023 diff hist +42,817 N Module:Numcr2namecrCreated page with "return { [9]='&Tab;', [33]='&excl;', [34]='&quot;, &QUOT;', [35]='&num;', [36]='&dollar;', [37]='&percnt;', [38]='&amp;, &AMP;', [39]='&apos;', [40]='&lpar;', [41]='&rpar;', [42]='&ast;, &midast;', [43]='&plus;', [44]='&comma;', [46]='&period;', [47]='&sol;', [58]='&colon;', [59]='&semi;', [60]='&lt;, &LT;', [61]='&equals;', [62]='&gt;, &GT;', [63]='&quest;', [64]='&am..." current
  • 02:2302:23, 20 May 2023 diff hist +12,732 N Template:Cob/docCreated page with "{{Template shortcut|Cot|Cob}} {{Documentation subpage}} <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{used in system|in MediaWiki:Protect-text}} The {{tlx|collapse top}} template (or {{tlx|cot}}), and its paired template {{tlx|collapse bottom}} (or {{tlx|cob}}), are used for placing a collapse box around a talk page discussion, especially when the content contains complex wikimarkup suc..." current
  • 02:2302:23, 20 May 2023 diff hist +193 N Template:CobCreated page with "<includeonly>|}</div></includeonly><noinclude> {{Documentation|Template:Collapse top/doc}} <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> </noinclude>" current
  • 02:2302:23, 20 May 2023 diff hist +12,732 N Template:Cot/docCreated page with "{{Template shortcut|Cot|Cob}} {{Documentation subpage}} <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{used in system|in MediaWiki:Protect-text}} The {{tlx|collapse top}} template (or {{tlx|cot}}), and its paired template {{tlx|collapse bottom}} (or {{tlx|cob}}), are used for placing a collapse box around a talk page discussion, especially when the content contains complex wikimarkup suc..." current
  • 02:2302:23, 20 May 2023 diff hist +1,630 N Template:CotCreated page with "<div style="margin-left:{{{indent|0}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section --> {| <!-- Template:Collapse top --> class="mw-collapsible mw-archivedtalk {{<includeonly>safesubst:</includeonly>#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}} {{{class|}}}" style="background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|Silver}}}; margin: 0.2em auto auto; width:{{<includeonly>safesubst:</includeonly>#if:{{..." current
  • 02:2202:22, 20 May 2023 diff hist +7,353 N Template:Ubl/docCreated page with "{{Documentation subpage}} <!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: Wikipedia:Wikidata). --> {{High-use| 635585 }} {{Template shortcuts|ubl|ubt|ublist|unbullet}} {{stack|{{Lua|Module:List}}}} This template creates unbulleted lists. Each item in the list may have CSS styles added to it individually, by appending a numbered parameter. == Usage == '''Basic usage''' {{pre|<nowiki>{{</no..." current
  • 02:2202:22, 20 May 2023 diff hist +181 N Template:UblCreated page with "{{<includeonly>safesubst:</includeonly>#invoke:list|unbulleted}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>" current
  • 02:2102:21, 20 May 2023 diff hist +711 N Template:Unichar/notes/docCreated page with "{{Documentation subpage}} :{{unichar|00A9|COPYRIGHT SIGN}} :{{unichar|00A9|COPYRIGHT SIGN|html=yes}} :{{unichar|00A9|COPYRIGHT SIGN|html=}} :{{unichar|00A9|COPYRIGHT SIGN|html= |note=Some note}} :{{unichar|00A9|COPYRIGHT SIGN|html=}} :{{unichar|00A9|COPYRIGHT SIGN|note=Some note}} ;62 :{{unichar|0062|LATIN small LETTER B}} :{{unichar|0062|LATIN small LETTER B|html=}} :{{unichar|0062|LATIN small LETTER B|html= |note=Some note}} :{{unichar|0062|LATIN small LETTER B..." current
  • 02:2102:21, 20 May 2023 diff hist +258 N Template:Unichar/notesCreated page with "{{#if:{{{char_entity|}}}{{{note|}}} |({{trim|1=<!-- -->{{#ifeq:{{{char_entity|}}}|||{{mono|1={{{char_entity|}}}}}<!-- -->{{#if:{{{note|}}}|{{int:dot-separator}}}}}} <!-- -->{{{note|}}}<!-- -->}})}}<!-- --><noinclude>{{Documentation}}</noinclude>" current
  • 02:2102:21, 20 May 2023 diff hist +438 N Template:Unichar/name/docCreated page with "{{Documentation subpage}} === Usage === Returns the Unicode character Name text, in {{tlf|small}} uppercases, optionally wikilinked.<br> Input: na=name string (named param so whitespace/returns are stripped), link=wikilink article name; should be "<#salted#>" if user did not use "link=" at all (meaning: do not link the name).<br> === See also === See main template {{tl|unichar}} for full documentation. <includeonly> </includeonly>" current
  • 02:2002:20, 20 May 2023 diff hist +638 N Template:Unichar/nameCreated page with "{{#switch:{{{gc|}}} | Cc | Cs | Cp | Cn = <!--no smallcaps name, but straight nlink if given-->{{#ifeq:{{{nlink|}}} | <#salted#> || {{#if: {{{nlink|}}} | [[{{{nlink|}}}]] | {{error|Error using {{tl|unichar}}: Pagename expected in "nlink{{=}}"| tag=span }}}}}} | #default={{#switch:{{{nlink|<#salted#>}}} | <#salted#> =<!--no link--><span style="font-size:85%;">{{uc:{{{na|}}}}}</span> | =<!--wikilink to na-->{{{na|}}}{{!}}<span style="font-size:85%;">{{uc:{{{na|}}}}}</s..." current
  • 02:2002:20, 20 May 2023 diff hist +1,393 N Template:Unichar/glyphCreated page with "{{#if:{{{br|}}}|{{substr|{{#invoke:HTMLDecode | HTMLDecode | text={{{br|}}}}}|0|1}}}}{{#if:{{{image|}}} | [[File:{{{image|}}}|frameless|{{{size|}}}|baseline|alt={{{na|}}}]] | {{#switch:{{{gc|<#not a Unicode code point#>}}} | <#not a Unicode code point#> = | Cc =<span style="font-size:small"><control-{{{hval|}}}></span> | Cs =<span style="font-size:small"><surrogate-{{{hval|}}}></span> | Cp =<span style="font-size:small"><private-use-{{{hval|}}}></span> | Cn =<!--Cn..." current
  • 02:2002:20, 20 May 2023 diff hist +158 N Template:Unichar/ulinkCreated page with "{{#switch:{{{ulink|<#salted#>}}} | <#salted#>=U+ | =[[{{{ulinkdefault|}}}|U+]] | #default=[[{{{ulink|}}}{{!}}U+]]}}<noinclude> {{Documentation}} </noinclude>" current
  • 02:2002:20, 20 May 2023 diff hist +18,942 N Template:Unichar/main/docCreated page with "{{Documentation subpage}} This template produces a formatted description of a Unicode character, to be used inline or otherwise with regular text. * <code>The character {{tlx|unichar|<nowiki>a9|COPYRIGHT SIGN</nowiki>}} is about intellectual property.</code> → *: The character {{unichar|a9|COPYRIGHT SIGN}} is about intellectual property. ==Usage== The <nowiki>{{unichar}}</nowiki> template takes the Unicode hexadecimal code point value and optionally the character..." current
  • 02:1902:19, 20 May 2023 diff hist +949 N Template:Unichar/mainCreated page with "{{#ifexpr:({{{dval|-1}}}=0) and ({{#ifeq:X{{{hval}}}|X0000 |0 |1}}) |<!--(error triggered if X{{{hval}}} ≠ X0000:)-->{{Error |tag=span |Error using {{tl|unichar}}: Input "{{{hvalinput|}}}" is not a hexadecimal value.}} | {{nowrap|{{{{#ifeq:{{{sans|}}}|y|sans-serif|mono}}|{{Unichar/ulink |ulink={{{ulink|<#salted#>}}} |ulinkdefault=Unicode}}{{{hval|}}}}} }}<!-- -->{{Unichar/glyph |hval={{{hval|}}} |gc={{{gc|<#not a Unicode code point#>}}} |size={{{size}}}..." current
  • 02:1802:18, 20 May 2023 diff hist +18,942 N Template:Unichar/docCreated page with "{{Documentation subpage}} This template produces a formatted description of a Unicode character, to be used inline or otherwise with regular text. * <code>The character {{tlx|unichar|<nowiki>a9|COPYRIGHT SIGN</nowiki>}} is about intellectual property.</code> → *: The character {{unichar|a9|COPYRIGHT SIGN}} is about intellectual property. ==Usage== The <nowiki>{{unichar}}</nowiki> template takes the Unicode hexadecimal code point value and optionally the character..." current
  • 02:1702:17, 20 May 2023 diff hist +1,176 N Template:UnicharCreated page with "<includeonly>{{unichar/main | hval ={{unichar/hexformat|{{{1|<#salted#>}}} }} | hvalinput ={{{1|}}}<!--to use in errormessage--> | na ={{{2|}}} | ulink ={{{ulink|<#salted#>}}} | nlink ={{{nlink|<#salted#>}}} | image ={{{image|}}} | cwith ={{#if:{{{cwith|}}} | {{{cwith}}} | {{#if:{{{cwith}}} ||   }} }} | size ={{#if:{{{image|}}} | {{#if:{{#invoke:String|endswith|1={{lc:{{{size|}}}}}|2=px}}|{{{size}}}|10px}} | {{{size|{{#if:{{{cwith}}}|125%|150%}}}}} }} | use =..." current
  • 02:1502:15, 20 May 2023 diff hist +7,628 N Module:Unicode data/docCreated page with "<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{#ifeq: {{SUBPAGENAME}} | sandbox | {{#invoke: Unicode_data/testcases | run_tests}} | {{high risk|952513}} }} == Usage == This module provides functions that access information on Unicode code points. The information is retrieved from data modules generated from the [https://www.unicode.org/Public/UNIDATA/ Unicode Character Database]..." current
  • 02:1502:15, 20 May 2023 diff hist +16,739 N Module:Unicode dataCreated page with "local p = {} local floor = math.floor local function errorf(level, ...) if type(level) == "number" then return error(string.format(...), level + 1) else -- level is actually the format string. return error(string.format(level, ...), 2) end end local function binary_range_search(codepoint, ranges) local low, mid, high low, high = 1, ranges.length or require "Module:TableTools".length(ranges) while low <= high do mid = floor((low + high) / 2) local range =..." current
  • 02:1502:15, 20 May 2023 diff hist +607 N Module:Lang/tag from name/docCreated page with "{{High-use}} {{Lua|Module:Lang/data}} This module creates language name (key) to language tag (value) support tables used by Module:Lang. Data are taken from Module:Lang/data: * <code>rev_lang_table</code> – data from the <code>lang_name_table.lang</code> table * <code>rev_override_table</code> – data from the <code>override</code> table These reversed data tables are loaded and used by <code>_name_from_tag()</code>. <includeonly>{{#ifeq:{{SUBPAGENAME}}|sa..." current
  • 02:1502:15, 20 May 2023 diff hist +7,785 N Module:Lang/tag from nameCreated page with "local lang_data = mw.loadData ('Module:Lang/data'); -- language name override and transliteration tool-tip tables local lang_name_table = lang_data.lang_name_table; -- language codes, names, regions, scripts, suppressed scripts local lang_table = lang_name_table.lang; -- language codes, names local lang_dep_table = lang_name_table.lang_dep; -- deprecated language codes, names local override_table = lang_data.override; local rev_lang_table..." current
  • 02:1502:15, 20 May 2023 diff hist +3,163 N Module:Lang/ISO 639 synonymsCreated page with "-- File-Date: 2013-01-11 return { ["aar"] = "aa", ["abk"] = "ab", ["afr"] = "af", ["aka"] = "ak", ["amh"] = "am", ["ara"] = "ar", ["arg"] = "an", ["asm"] = "as", ["ava"] = "av", ["ave"] = "ae", ["aym"] = "ay", ["aze"] = "az", ["bak"] = "ba", ["bam"] = "bm", ["bel"] = "be", ["ben"] = "bn", ["bih"] = "bh", ["bis"] = "bi", ["bod"] = "bo", ["bos"] = "bs", ["bre"] = "br", ["bul"] = "bg", ["cat"] = "ca", ["ces"] = "cs", ["cha"] = "ch", ["che"] = "ce",..." current
  • 02:1402:14, 20 May 2023 diff hist +1,281 N Module:Language/data/iana suppressed scriptsCreated page with "-- File-Date: 2023-03-22 return { ["Arab"] = {"ar", "fa", "ps", "ur"}, ["Armn"] = {"hy"}, ["Beng"] = {"as", "bn"}, ["Blis"] = {"zbl"}, ["Cyrl"] = {"ab", "be", "bg", "kk", "mk", "ru", "uk"}, ["Deva"] = {"hi", "mr", "ne", "kok", "mai"}, ["Ethi"] = {"am", "ti"}, ["Geor"] = {"ka"}, ["Grek"] = {"el"}, ["Gujr"] = {"gu"}, ["Guru"] = {"pa"}, ["Hebr"] = {"he", "iw", "yi"}, ["Jpan"] = {"ja"}, ["Khmr"] = {"km"}, ["Knda"] = {"kn"}, ["Kore"] = {"ko"}, ["Laoo"] = {"lo..." current
  • 02:1402:14, 20 May 2023 diff hist +12,191 N Module:Language/data/iana variantsCreated page with "-- File-Date: 2023-03-22 return { ["1606nict"] = { ["descriptions"] = {"Late Middle French (to 1606)"}, ["prefixes"] = {"frm"}, }, ["1694acad"] = { ["descriptions"] = {"Early Modern French"}, ["prefixes"] = {"fr"}, }, ["1901"] = { ["descriptions"] = {"Traditional German orthography"}, ["prefixes"] = {"de"}, }, ["1959acad"] = { ["descriptions"] = {"\"Academic\" (\"governmental\") variant of Belarusian as codified in 1959"}, ["prefixes"] = {"be"},..." current
  • 02:1302:13, 20 May 2023 diff hist +8,031 N Module:Language/data/iana regionsCreated page with "-- File-Date: 2023-03-22 return { ["AC"] = {"Ascension Island"}, ["AD"] = {"Andorra"}, ["AE"] = {"United Arab Emirates"}, ["AF"] = {"Afghanistan"}, ["AG"] = {"Antigua and Barbuda"}, ["AI"] = {"Anguilla"}, ["AL"] = {"Albania"}, ["AM"] = {"Armenia"}, ["AO"] = {"Angola"}, ["AQ"] = {"Antarctica"}, ["AR"] = {"Argentina"}, ["AS"] = {"American Samoa"}, ["AT"] = {"Austria"}, ["AU"] = {"Australia"}, ["AW"] = {"Aruba"}, ["AX"] = {"Åland Islands"}, ["AZ"] = {"Azer..." current
  • 02:1302:13, 20 May 2023 diff hist +7,108 N Module:Language/data/iana scriptsCreated page with "-- File-Date: 2023-03-22 return { ["Adlm"] = {"Adlam"}, ["Afak"] = {"Afaka"}, ["Aghb"] = {"Caucasian Albanian"}, ["Ahom"] = {"Ahom", "Tai Ahom"}, ["Arab"] = {"Arabic"}, ["Aran"] = {"Arabic (Nastaliq variant)"}, ["Armi"] = {"Imperial Aramaic"}, ["Armn"] = {"Armenian"}, ["Avst"] = {"Avestan"}, ["Bali"] = {"Balinese"}, ["Bamu"] = {"Bamum"}, ["Bass"] = {"Bassa Vah"}, ["Batk"] = {"Batak"}, ["Beng"] = {"Bengali", "Bangla"}, ["Bhks"] = {"Bhaiksuki"}, ["Blis"] =..." current
  • 02:1302:13, 20 May 2023 diff hist +222,228 N Module:Language/data/iana languagesCreated page with "-- File-Date: 2023-03-22 local active = { ["aa"] = {"Afar"}, ["ab"] = {"Abkhazian"}, ["ae"] = {"Avestan"}, ["af"] = {"Afrikaans"}, ["ak"] = {"Akan"}, ["am"] = {"Amharic"}, ["an"] = {"Aragonese"}, ["ar"] = {"Arabic"}, ["as"] = {"Assamese"}, ["av"] = {"Avaric"}, ["ay"] = {"Aymara"}, ["az"] = {"Azerbaijani"}, ["ba"] = {"Bashkir"}, ["be"] = {"Belarusian"}, ["bg"] = {"Bulgarian"}, ["bh"] = {"Bihari languages"}, ["bi"] = {"Bislama"}, ["bm"] = {"Bambara"}, ["..." current
  • 02:1202:12, 20 May 2023 diff hist +1,320 N Module:Lang/data/docCreated page with "{{High-use}} {{Lua|Module:Language/data/iana languages|Module:Language/data/iana scripts|Module:Language/data/iana regions|Module:Language/data/iana variants|Module:Language/data/iana suppressed scripts}} This module holds various support tables used by Module:Lang * <code>lang_name_table</code> – this table provides language name data used in the creation of categories and, for the {{tld|lang-??}} templates, the language name annotation * <code>override</code>..." current
  • 02:1202:12, 20 May 2023 diff hist +27,946 N Module:Lang/dataCreated page with "local lang_obj = mw.language.getContentLanguage(); local this_wiki_lang_tag = lang_obj.code; -- get this wiki's language tag --[[--------------------------< L A N G _ N A M E _ T A B L E >------------------------------------------------ primary table of tables that decode: lang -> language tags and names script -> ISO 15924 script tags region -> ISO 3166 region tags variant -> iana registered variant tags suppressed -> map of scripts tags and their assoc..." current
  • 02:1102:11, 20 May 2023 diff hist +4,844 N Module:Lang/docCreated page with "{{High-use}} {{Language templates}} {{Lua|Module:Lang/data|Module:Lang/ISO 639 synonyms|Module:Lang/tag from name|Module:Unicode data|Module:Yesno|Module:Arguments}} This module exists primarily to provide correct html markup for non–English language text where that text is used in the English Wikipedia. It has a secondary purpose of providing correct visual rendering for this non-English text. The module was developed to consolidate processing for {{tlx|Lang}}, the {..." current
  • 02:1102:11, 20 May 2023 diff hist +75,297 N Module:LangCreated page with "--[=[ Lua support for the {{lang}}, {{lang-xx}}, and {{transl}} templates and replacement of various supporting templates. ]=] require('strict'); local getArgs = require ('Module:Arguments').getArgs; local unicode = require ("Module:Unicode data"); -- for is_latin() and is_rtl() local yesno = require ('Module:Yesno'); local lang_data = mw.loadData ('Module:Lang/data'); -- language name override and transliteration tool-tip tables local lang_name_table..." current
  • 02:1002:10, 20 May 2023 diff hist +5,976 N Template:Lang-mia/docCreated page with "__NOEDITSECTION__{{Documentation subpage|multiple templates located in Category:Lang-x templates}} {{COinS safe|n}} {{#ifeq:{{#invoke:High-use|num|x}}|many||{{High-use}}}} {{No subst}} <noinclude>{{Lua|Module:Lang/documentor tool}}</noinclude> {{#if:{{#invoke:Lang/documentor tool|uses_module|template={{ROOTPAGENAME}}}}|{{Lua|Module:Lang}}}} == Usage == {{#invoke:Lang/documentor tool|lang_xx_settings|template={{ROOTPAGENAME}}}} The language template {{Tlf|'''{{lcfir..." current
  • 02:1002:10, 20 May 2023 diff hist +186 N Template:Lang-miaCreated page with "<includeonly>{{#invoke:lang|lang_xx_italic |code=mia }}</includeonly><noinclude> {{Documentation|Template:Lang-x/doc}} Category:Algonquian multilingual support templates </noinclude>" current
  • 02:0902:09, 20 May 2023 diff hist +298 N Template:Infobox settlement/columns/styles.cssCreated page with "→‎{{pp|small=y}}: .ib-settlement-cols { text-align: center; display: table; width: 100%; } .ib-settlement-cols-row { display: table-row; } .ib-settlement-cols-cell { display: table-cell; vertical-align: middle; } .ib-settlement-cols-cellt { display: table-cell; vertical-align: top; }" current
  • 02:0802:08, 20 May 2023 diff hist +2,167 N Template:Infobox settlement/columns/docCreated page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> This is a subtemplate of {{tl|Infobox settlement}} and should not be used directly. == Examples == === With 0 === {| class="wikitable" style="width:8em" |{{Infobox settlement/columns{{sandbox other|/sandbox|}}|0=Right|1=1|2=2|3=3|4=4|5=5}} |} === Without 0 === {| class="wikitable" |+ Four |- | style="width: 5em" | {{Infobox settlement/columns{{sandbox other|/sand..." current
  • 02:0802:08, 20 May 2023 diff hist +1,961 N Template:Infobox settlement/columnsCreated page with "<templatestyles src="Infobox settlement/columns/styles.css"/> <div class="ib-settlement-cols"> <div class="ib-settlement-cols-row">{{#if:{{{0|}}} |<!-- if 0 -->{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}} |<!-- if 0 and (1 or 2 or 3 or 4 or 5) --><div class="ib-settlement-cols-cellt"> {{#if:{{{1|}}}|<div>{{{1}}}</div>}} {{#if:{{{2|}}}|<div>{{{2}}}</div>}} {{#if:{{{3|}}}|<div>{{{3}}}</div>}} {{#if:{{{4|}}}|<div>{{{4}}}</div>}} {{#if:{{{5|}}}|<div>{{{5}}}</div>}} </di..." current
  • 02:0702:07, 20 May 2023 diff hist +1,976 N Module:ISO 3166/data/USCreated page with "return { lang = "en", ["AK"] = {name="Alaska"}, ["AL"] = {name="Alabama"}, ["AR"] = {name="Arkansas"}, ["AZ"] = {name="Arizona"}, ["CA"] = {name="California"}, ["CO"] = {name="Colorado"}, ["CT"] = {name="Connecticut"}, ["DE"] = {name="Delaware"}, ["FL"] = {name="Florida"}, ["GA"] = {name="Georgia"}, ["HI"] = {name="Hawaii"}, ["IA"] = {name="Iowa"}, ["ID"] = {name="Idaho"}, ["IL"] = {name="Illinois"}, ["IN"] = {name="Indiana"}, ["KS"] = {..." current
  • 02:0702:07, 20 May 2023 diff hist +943 N Module:ISO 3166/data/BECreated page with "return { lang = "fr, nl", -- administrative languages: de, fr, nl -- Regions ["BRU"] = {name="Brussels",isonames={fr="Bruxelles-Capitale, Région de",nl="Brussels Hoofdstedelijk Gewest"},defaultlang="fr",altnames={"Brussels-Capital Region"}}, ["VLG"] = {name="Flanders",isoname="Vlaams Gewest",lang="nl"}, ["WAL"] = {name="Wallonia",isoname="Région wallonne",lang="fr"}, -- Provinces ["VAN"] = {name="Antwerp",isoname="Antwerpen",lang="nl"}, ["VBR"] = {name="Fle..." current
  • 02:0602:06, 20 May 2023 diff hist +9,105 N Module:ISO 3166/data/GBCreated page with "return { lang = "en", -- Countries and province ["ENG"] = {name="England"}, ["SCT"] = {name="Scotland"}, ["WLS"] = {name="Wales",altnames={"Cymru"}}, ["NIR"] = {name="Northern Ireland"}, -- Included for completeness as mentioned in remark part 2 ["EAW"] = {name="England and Wales"}, ["GBN"] = {name="Great Britain"}, ["UKM"] = {name="United Kingdom"}, -- England: Greater London ["LND"] = {name="City of London",isoname="London, City of"}, ["BDG"] = {nam..." current
  • 02:0502:05, 20 May 2023 diff hist +17,821 N Module:ISO 3166/data/NationalCreated page with "return { ["AD"] = {alpha3="AND",numeric="020",name="Andorra"}, ["AE"] = {alpha3="ARE",numeric="784",name="United Arab Emirates",altnames={"UAE"}}, ["AF"] = {alpha3="AFG",numeric="004",name="Afghanistan"}, ["AG"] = {alpha3="ATG",numeric="028",name="Antigua and Barbuda"}, ["AI"] = {alpha3="AIA",numeric="660",name="Anguilla"}, ["AL"] = {alpha3="ALB",numeric="008",name="Albania"}, ["AM"] = {alpha3="ARM",numeric="051",name="Armenia"}, ["AO"] = {alpha3="AGO",nu..." current
  • 02:0402:04, 20 May 2023 diff hist +5,675 N Module:ISO 3166/docCreated page with "{{Module rating|p}} {{High risk|493000+}} This module returns a country's or subdivision's code (alpha-2, alpha-3, numeric) or name (ISO, non-ISO) from ISO 3166 from a variety of inputs (alpha-2, alpha-3, numeric, name, ISO-name, alternative names). The module also removes junk from the input. ==Examples== ===Countries (ISO 3166-1)=== All three types of ISO 3166-1 codes (alpha-2, alpha-3 and numeric) work as inputs to <code>name</code>, as well as to <code>code<..." current
  • 02:0402:04, 20 May 2023 diff hist +9,084 N Module:ISO 3166Created page with "-- to enable us to replicate the current functioning of Country extract, we need to deal with: -- 2 {{<name>}} DONE! -- 3 [[<name>]] DONE! -- 4 [[<name>|<junk>]] DONE! -- 5 [[image:flag of <country>.[svg|gif|png|jpg]|\d+px]] DONE! local p = {} local getArgs = require("Module:Arguments").getArgs local data = mw.loadData("Module:ISO 3166/data/National") ------------F I N D N A M E------------ -- Finds the name in the database local function findname(code,cd..." current
  • 02:0302:03, 20 May 2023 diff hist +329 N Module:If preview/styles.cssCreated page with "→‎{{pp|small=yes}}: .preview-warning { font-style: italic; →‎@noflip: padding-left: 1.6em; margin-bottom: 0.5em; color: red; } →‎The templatestyles element inserts a link element before hatnotes. * TODO: Remove link if/when WMF resolves T200206: .preview-warning + link + .preview-warning { margin-top: -0.5em; }" current
  • 02:0202:02, 20 May 2023 diff hist +842 N Module:If preview/configurationCreated 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
  • 02:0202:02, 20 May 2023 diff hist +619 N Module:If preview/docCreated page with "{{Module rating|protected}} {{High-use}} {{Lua|Module:If preview/configuration}} {{Uses TemplateStyles|Module:If preview/styles.css}} This module implements {{tl|if preview}} and {{tl|preview warning}}. It helps templates/modules determine if they are being previewed. Prefer implementing the template versions in other templates. In a module to use the <code>main()</code>, you need to pass a frame table with an args table. For the preview warning, use <code>_warning()..." current
  • 02:0202:02, 20 May 2023 diff hist +1,453 N Module:If previewCreated 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
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.