Title: Module:Cs1 documentation support - freem URL Source: https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support Markdown Content: [Jump to content](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#bodyContent) - [x] Main menu Main menu move to sidebar hide Navigation * [Main page](https://freemwiki.com/wiki/Main_Page "Visit the main page [alt-shift-z]") * [Recent changes](https://freemwiki.com/wiki/Special:RecentChanges "A list of recent changes in the wiki [alt-shift-r]") * [Random page](https://freemwiki.com/wiki/Special:Random "Load a random page [alt-shift-x]") * [Help about MediaWiki](https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents) Legal * [Terms](https://freemwiki.com/wiki/Terms_of_Service) * [Privacy Policy](https://freemwiki.com/wiki/Privacy_Policy) * [About](https://freemwiki.com/wiki/About) * [Contact](https://freemwiki.com/wiki/Contact) [![Image 1](https://freemwiki.com/images/freem.svg)**freem**](https://freemwiki.com/wiki/Main_Page) [Search](https://freemwiki.com/wiki/Special:Search "Search freem [alt-shift-f]") Search - [x] Appearance * [Create account](https://freemwiki.com/index.php?title=Special:CreateAccount&returnto=Module%3ACs1+documentation+support&returntoquery=oldid%3D579984 "You are encouraged to create an account and log in; however, it is not mandatory") * [Log in](https://freemwiki.com/index.php?title=Special:UserLogin&returnto=Module%3ACs1+documentation+support&returntoquery=oldid%3D579984 "You are encouraged to log in; however, it is not mandatory [alt-shift-o]") - [x] Personal tools * [Create account](https://freemwiki.com/index.php?title=Special:CreateAccount&returnto=Module%3ACs1+documentation+support&returntoquery=oldid%3D579984 "You are encouraged to create an account and log in; however, it is not mandatory") * [Log in](https://freemwiki.com/index.php?title=Special:UserLogin&returnto=Module%3ACs1+documentation+support&returntoquery=oldid%3D579984 "You are encouraged to log in; however, it is not mandatory [alt-shift-o]") Pages for logged out editors [learn more](https://freemwiki.com/wiki/Help:Introduction) * [Contributions](https://freemwiki.com/wiki/Special:MyContributions "A list of edits made from this IP address [alt-shift-y]") * [Talk](https://freemwiki.com/wiki/Special:MyTalk "Discussion about edits from this IP address [alt-shift-n]") # Module:Cs1 documentation support - [x] Add languages * [Module](https://freemwiki.com/wiki/Module:Cs1_documentation_support "View the module page [alt-shift-c]") * [Discussion](https://freemwiki.com/index.php?title=Module_talk:Cs1_documentation_support&action=edit&redlink=1 "Discussion about the content page (page does not exist) [alt-shift-t]") - [x] English * [Read](https://freemwiki.com/wiki/Module:Cs1_documentation_support) * [Edit source](https://freemwiki.com/index.php?title=Module:Cs1_documentation_support&action=edit "Edit the source code of this page [alt-shift-e]") * [View history](https://freemwiki.com/index.php?title=Module:Cs1_documentation_support&action=history "Past revisions of this page [alt-shift-h]") - [x] Tools Tools move to sidebar hide Actions * [Read](https://freemwiki.com/wiki/Module:Cs1_documentation_support) * [Edit source](https://freemwiki.com/index.php?title=Module:Cs1_documentation_support&action=edit "Edit the source code of this page [alt-shift-e]") * [View history](https://freemwiki.com/index.php?title=Module:Cs1_documentation_support&action=history) General * [What links here](https://freemwiki.com/wiki/Special:WhatLinksHere/Module:Cs1_documentation_support "A list of all wiki pages that link here [alt-shift-j]") * [Related changes](https://freemwiki.com/wiki/Special:RecentChangesLinked/Module:Cs1_documentation_support "Recent changes in pages linked from this page [alt-shift-k]") * [Special pages](https://freemwiki.com/wiki/Special:SpecialPages "A list of all special pages [alt-shift-q]") * [Printable version](javascript:print(); "Printable version of this page [alt-shift-p]") * [Permanent link](https://freemwiki.com/index.php?title=Module:Cs1_documentation_support&oldid=579984 "Permanent link to this revision of this page") * [Page information](https://freemwiki.com/index.php?title=Module:Cs1_documentation_support&action=info "More information about this page") Appearance move to sidebar hide From freem Revision as of 06:18, 21 October 2025 by [Lukegao](https://freemwiki.com/index.php?title=User:Lukegao&action=edit&redlink=1 "User:Lukegao (page does not exist)")([talk](https://freemwiki.com/index.php?title=User_talk:Lukegao&action=edit&redlink=1 "User talk:Lukegao (page does not exist)") | [contribs](https://freemwiki.com/wiki/Special:Contributions/Lukegao "Special:Contributions/Lukegao"))(1 revision imported) ([diff](https://freemwiki.com/index.php?title=Module:Cs1_documentation_support&diff=prev&oldid=579984 "Module:Cs1 documentation support")) [← Older revision](https://freemwiki.com/index.php?title=Module:Cs1_documentation_support&direction=prev&oldid=579984 "Module:Cs1 documentation support") | Latest revision (diff) | Newer revision → (diff) _Documentation for this module may be created at [Module:Cs1 documentation support/doc](https://freemwiki.com/index.php?title=Module:Cs1\_documentation\_support/doc&action=edit&redlink=1 "Module:Cs1 documentation support/doc (page does not exist)")_ [](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-1)require('strict');[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-2)local getArgs = require (['Module:Arguments'](https://freemwiki.com/wiki/Module:Arguments)).getArgs;[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-3)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-4)local cfg = mw.loadData (['Module:Citation/CS1/Configuration'](https://freemwiki.com/wiki/Module:Citation/CS1/Configuration));-- load the configuration module[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-5)local whitelist = mw.loadData (['Module:Citation/CS1/Whitelist'](https://freemwiki.com/wiki/Module:Citation/CS1/Whitelist));-- load the whitelist module[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-6)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-7)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-8)local exclusion_lists = {-- TODO: move these tables into a separate ~/data module and mw.loadData() it[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-9)['cite book'] = {[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-10)['agency'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-11)['air-date'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-12)['arxiv'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-13)['biorxiv'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-14)['citeseerx'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-15)['class'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-16)['conference'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-17)['conference-format'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-18)['conference-url'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-19)['degree'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-20)['department'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-21)['display-interviewers'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-22)['docket'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-23)['episode'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-24)['interviewer#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-25)['interviewer-first#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-26)['interviewer-link#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-27)['interviewer-mask#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-28)['ismn'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-29)['issn'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-30)['issue'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-31)['jfm'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-32)['journal'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-33)['jstor'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-34)['mailinglist'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-35)['message-id'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-36)['minutes'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-37)['MR'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-38)['network'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-39)['number'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-40)['RFC'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-41)['script-journal'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-42)['season'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-43)['section'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-44)['sections'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-45)['series-link'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-46)['series-number'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-47)['series-separator'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-48)['sheet'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-49)['sheets'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-50)['SSRN'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-51)['station'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-52)['time'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-53)['time-caption'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-54)['trans-article'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-55)['trans-journal'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-56)['transcript'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-57)['transcript-format'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-58)['transcript-url'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-59)['ZBL'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-60)},[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-61)['cite journal'] = {[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-62)['agency'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-63)['air-date'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-64)['book-title'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-65)['chapter'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-66)['chapter-format'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-67)['chapter-url'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-68)['chapter-url-access'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-69)['class'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-70)['conference'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-71)['conference-format'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-72)['conference-url'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-73)['contribution'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-74)['contributor#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-75)['contributor-first#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-76)['contributor-link#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-77)['contributor-mask#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-78)['degree'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-79)['department'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-80)['display-interviewers'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-81)['docket'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-82)['edition'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-83)['editor#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-84)['editor-first#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-85)['editor-link#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-86)['editor-mask#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-87)['editors'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-88)['encyclopedia'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-89)['episode'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-90)['ignore-isbn-error'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-91)['interviewer#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-92)['interviewer-first#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-93)['interviewer-link#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-94)['interviewer-mask#'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-95)['isbn'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-96)['ismn'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-97)['LCCN'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-98)['mailinglist'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-99)['message-id'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-100)['minutes'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-101)['network'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-102)['script-chapter'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-103)['season'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-104)['section'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-105)['sections'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-106)['series-link'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-107)['series-number'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-108)['series-separator'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-109)['sheet'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-110)['sheets'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-111)['station'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-112)['time'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-113)['time-caption'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-114)['trans-article'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-115)['transcript'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-116)['transcript-format'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-117)['transcript-url'] = true,[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-118)},[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-119)}[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-120)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-121)--[[-------------------------< A D D _ T O _ L I S T >---------------------------------------------------------[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-122)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-123)adds code/name pair to code_list and name/code pair to name_list; code/name pairs in override_list replace those[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-124)taken from the MediaWiki list; these are marked with a superscripted dagger.[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-125)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-126)|script-= lang codes always use override names so dagger is omitted[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-127)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-128)]][](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-129)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-130)local function add_to_list (code_list, name_list, override_list, code, name, dagger)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-131)if false == dagger then[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-132)dagger = '';-- no dagger for |script-= codes and names[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-133)else[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-134)dagger = '';-- dagger for all other lists using override[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-135)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-136)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-137)if override_list[code] then-- look in the override table for this code[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-138)code_list[code] = override_list[code] .. dagger;-- use the name from the override table; mark with dagger[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-139)name_list[override_list[code]] = code .. dagger;[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-140)else[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-141)code_list[code] = name;-- use the MediaWiki name and code[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-142)name_list[name] = code;[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-143)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-144)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-145)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-146)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-147)--[[-------------------------< L I S T _ F O R M A T >---------------------------------------------------------[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-148)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-149)formats key/value pair into a string for rendering[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-150) ['k'] = 'v' → k: v[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-151)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-152)]][](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-153)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-154)local function list_format (result, list)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-155)for k, v in pairs (list)do[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-156)table.insert (result, k .. ': ' .. v);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-157)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-158)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-159)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-160)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-161)--[[-------------------------< L A N G _ L I S T E R >---------------------------------------------------------[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-162)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-163)Module entry point[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-164)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-165)Crude documentation tool that returns one of several lists of language codes and names.[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-166)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-167)Used in Template:Citation Style documentation/language/doc[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-168)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-169){{#invoke:cs1 documentation support|lang_lister|list=|lang=}}[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-170)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-171)where is one of the values:[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-172) 2char – list of ISO 639-1 codes and names sorted by code[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-173) 3char – list of ISO 639-2, -3 codes and names sorted by code[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-174) ietf – list of IETF language tags and names sorted by tag[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-175) ietf2 – list of ISO 639-1 based IETF language tags and names sorted by tag[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-176) ietf3 – list of list of ISO 639-2, -3 based IETF language tags and names sorted by tag[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-177) name – list of language names and codes sorted by name[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-178) all - list all language codes/tags and names sorted by code/tag[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-179)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-180)where is a MediaWiki supported 2, 3, or ietf-like language code; because of fall-back, language names may[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-181)be the English-language names.[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-182)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-183)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-184)]][](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-185)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-186)local function lang_lister (frame)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-187)local lang = (frame.args.lang and '' ~= frame.args.lang) and frame.args.lang or mw.getContentLanguage():getCode()[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-188)local source_list = mw.language.fetchLanguageNames(lang, 'all');[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-189)local override = cfg.lang_tag_remap;[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-190)local code_1_list={};[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-191)local code_2_list={};[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-192)local ietf_list={};[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-193)local ietf_list2={};[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-194)local ietf_list3={};[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-195)local name_list={};[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-196)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-197)if not ({['2char']=true, ['3char']=true, ['ietf']=true, ['ietf2']=true, ['ietf3']=true, ['name']=true, ['all']=true})[frame.args.list] then[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-198)return 'unknown list selector: ' .. frame.args.list .. '';[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-199)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-200)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-201)for code, name in pairs (source_list) do[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-202)if 'all' == frame.args.list then[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-203)add_to_list (code_1_list, name_list, override, code, name);-- use the code_1_list because why not?[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-204)elseif 2 == code:len() then[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-205)add_to_list (code_1_list, name_list, override, code, name);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-206)elseif 3 == code:len() then[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-207)add_to_list (code_2_list, name_list, override, code, name);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-208)elseif code:match ('^%a%a%-.+') then-- ietf with 2-character language tag[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-209)add_to_list (ietf_list, name_list, override, code, name);-- add to main ietf list for |list=ietf[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-210)add_to_list (ietf_list2, name_list, override, code, name);-- add to ietf2 list[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-211)elseif code:match ('^%a%a%a%-.+') then-- ietf with 3-character language tag[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-212)add_to_list (ietf_list, name_list, override, code, name);-- add to main ietf list for |list=ietf[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-213)add_to_list (ietf_list3, name_list, override, code, name);-- add to ietf3 list[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-214)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-215)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-216)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-217)local result = {};[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-218)local out = {};[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-219)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-220)if '2char' == frame.args.list or 'all' == frame.args.list then-- iso 639-1[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-221)list_format (result, code_1_list);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-222)elseif '3char' == frame.args.list then-- iso 639-2, 3[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-223)list_format (result, code_2_list);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-224)elseif 'ietf' == frame.args.list then-- all ietf tags[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-225)list_format (result, ietf_list);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-226)elseif 'ietf2' == frame.args.list then-- 2-character ietf tags[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-227)list_format (result, ietf_list2);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-228)elseif 'ietf3' == frame.args.list then-- 3 character ietf tags[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-229)list_format (result, ietf_list3);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-230)else--must be 'name'[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-231)list_format (result, name_list);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-232)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-233)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-234)local templatestyles = frame:extensionTag{[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-235)name = 'templatestyles', args = { src = "Div col/styles.css" }[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-236)}[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-237)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-238)table.sort (result);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-239)table.insert (result, 1, templatestyles .. '
');[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-240)table.insert (out, table.concat (result, '\n*'));[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-241)table.insert (out, '
');[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-242)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-243)return table.concat (out, '\n');[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-244)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-245)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-246)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-247)--[[--------------------------< S C R I P T _ L A N G _ L I S T E R >------------------------------------------[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-248)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-249)Module entry point[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-250)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-251)Crude documentation tool that returns list of language codes and names supported by the various |script-= parameters.[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-252)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-253)used in Help:CS1 errors[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-254)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-255){{#invoke:cs1 documentation support|script_lang_lister}}[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-256)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-257)]][](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-258)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-259)local function script_lang_lister (frame)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-260)local lang_code_src = cfg.script_lang_codes ;-- get list of allowed script language codes[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-261)local override = cfg.lang_tag_remap;[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-262)local this_wiki_lang = mw.language.getContentLanguage().code;-- get this wiki's language[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-263)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-264)local code_list = {};-- interim list of aliases[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-265)local name_list={};-- not used; defined here so that we can reuse add_to_list() [](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-266)local out = {};-- final output (for now an unordered list)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-267)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-268)for _, code in ipairs (lang_code_src) do-- loop through the list of codes[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-269)local name = mw.language.fetchLanguageName (code, this_wiki_lang);-- get the language name associated with this code[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-270)add_to_list (code_list, name_list, override, code, name, false);-- name_list{} not used but provided so that we can reuse add_to_list(); don't add superscript dagger[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-271)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-272)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-273)local result = {};[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-274)local out = {};[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-275)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-276)list_format (result, code_list);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-277)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-278)local templatestyles = frame:extensionTag{[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-279)name = 'templatestyles', args = { src = "Div col/styles.css" }[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-280)}[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-281)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-282)table.sort (result);[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-283)table.insert (result, 1, templatestyles .. '
');[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-284)table.insert (out, table.concat (result, '\n*'));[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-285)table.insert (out, '
');[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-286)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-287)return table.concat (out, '\n');[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-288)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-289)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-290)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-291)--[[--------------------------< A L I A S _ L I S T E R >------------------------------------------------------[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-292)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-293)experimental code that lists parameters and their aliases. Perhaps basis for some sort of documentation?[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-294)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-295){{#invoke:cs1 documentation support|alias_lister}}[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-296)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-297)]][](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-298)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-299)local function alias_lister ()[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-300)local alias_src = cfg.aliases;-- get master list of aliases[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-301)local key;-- key for k/v in a new table[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-302)local list = {};-- interim list of aliases[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-303)local out = {};-- final output (for now an unordered list)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-304)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-305)for _, aliases in pairs (alias_src) do-- loop throu the master list of aliases[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-306)if 'table' == type (aliases) then-- table only when there are aliases[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-307)for i, alias in ipairs (aliases) do-- loop through all of the aliases[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-308)if 1 == i then-- first 'alias' is the canonical parameter name[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-309)key = alias;-- so it becomes the key in list[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-310)else[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-311)list[key] = list[key] and (list[key] .. ', ' .. alias) or alias;-- make comma-separated list of aliases[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-312)list[alias] = 'see ' .. key;-- make a back reference from this alias to the canonical parameter[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-313)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-314)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-315)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-316)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-317)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-318)for k, v in pairs (list) do-- loop through the list to make a simple unordered list[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-319)table.insert (out, table.concat ({'*', k, ': ', v}));[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-320)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-321)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-322)table.sort (out);-- sort it[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-323)return table.concat (out, '\010');-- concatenate with \n[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-324)-- return (mw.dumpObject (list))[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-325)end[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-326)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-327)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-328)--[[--------------------------< C A N O N I C A L _ P A R A M _ L I S T E R >----------------------------------[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-329)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-330)experimental code that lists canonical parameter names. Perhaps basis for some sort of documentation?[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-331)[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-332)returns a comma separated, alpha sorted, list of the canonical parameters. If given a template name, excludes[](https://freemwiki.com/index.php?oldid=579984&title=Module%3ACs1_documentation_support#L-333)parameters listed in that template's exclusion_list[