Title: View source for Module:Format link URL Source: https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link Markdown Content: [](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link#) - [x] * [Home](https://freemwiki.com/wiki/Main_Page) * [Random](https://freemwiki.com/wiki/Special:Random) * [Log in](https://freemwiki.com/index.php?title=Special:UserLogin&returnto=Module%3AFormat+link&returntoquery=action%3Dedit%26mobileaction%3Dtoggle_view_mobile) * [Settings](https://freemwiki.com/index.php?title=Special:MobileOptions&returnto=Module%3AFormat+link) * [About](https://freemwiki.com/wiki/About) * [Terms of Service](https://freemwiki.com/wiki/Terms_of_Service) [freem](https://freemwiki.com/wiki/Main_Page) Search # View source for Module:Format link ← [Module:Format link](https://freemwiki.com/wiki/Module:Format_link "Module:Format link") You do not have permission to edit this page, for the following reason: **Your IP address is in a range which has been blocked on all wikis.** The block was made by . The reason given is _[Open proxy/Webhost](https://freemwiki.com/index.php?title=M:Special:MyLanguage/NOP&action=edit&redlink=1 "M:Special:MyLanguage/NOP (page does not exist)"): See the [help page](https://freemwiki.com/index.php?title=M:Special/MyLanguage:WM:OP/H&action=edit&redlink=1 "M:Special/MyLanguage:WM:OP/H (page does not exist)") if you are affected_. * Start of block: 19:58, 14 August 2025 * Expiration of block: 19:58, 14 August 2028 You can contact to discuss the block. You cannot use the "Email this user" feature unless a valid email address is specified in your [account preferences](https://freemwiki.com/wiki/Special:Preferences "Special:Preferences") and you have not been blocked from using it. Your current IP address is 152.233.48.137. The blocked range is 152.233.0.0/17. Please include all above details in any queries you make. * * * You can view and copy the source of this page. [](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Toggle code editor") [](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Indent")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Outdent") [](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Toggle invisible characters")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Toggle line wrapping")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Go to line number...")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Toggle search and replace dialog") [](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Bold")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Italic") [](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Link")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Images and media") [Advanced](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link)[Special characters](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link)[Help](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link) [Heading](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link) [Level 2](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link)[Level 3](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link)[Level 4](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link)[Level 5](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link) Format[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Bulleted list")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Numbered list")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "No wiki formatting")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "New line") [](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Big")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Small")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Superscript")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Subscript") Insert[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Picture gallery")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Redirect")[](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Table") [](https://freemwiki.com/index.php?action=edit&mobileaction=toggle_view_mobile&title=Module%3AFormat_link "Search and replace") Latin Latin extended IPA Symbols Greek Greek extended Cyrillic Arabic Arabic extended Hebrew Bangla Tamil Telugu Sinhala Devanagari Gujarati Thai Lao Khmer Canadian Aboriginal Runes Á á À à  â Ä ä à ã Ǎ ǎ Ā ā Ă ă Ą ą Å å Ć ć Ĉ ĉ Ç ç Č č Ċ ċ Đ đ Ď ď É é È è Ê ê Ë ë Ě ě Ē ē Ĕ ĕ Ė ė Ę ę Ĝ ĝ Ģ ģ Ğ ğ Ġ ġ Ĥ ĥ Ħ ħ Í í Ì ì Î î Ï ï Ĩ ĩ Ǐ ǐ Ī ī Ĭ ĭ İ ı Į į Ĵ ĵ Ķ ķ Ĺ ĺ Ļ ļ Ľ ľ Ł ł Ń ń Ñ ñ Ņ ņ Ň ň Ó ó Ò ò Ô ô Ö ö Õ õ Ǒ ǒ Ō ō Ŏ ŏ Ǫ ǫ Ő ő Ŕ ŕ Ŗ ŗ Ř ř Ś ś Ŝ ŝ Ş ş Š š Ș ș Ț ț Ť ť Ú ú Ù ù Û û Ü ü Ũ ũ Ů ů Ǔ ǔ Ū ū ǖ ǘ ǚ ǜ Ŭ ŭ Ų ų Ű ű Ŵ ŵ Ý ý Ŷ ŷ Ÿ ÿ Ȳ ȳ Ź ź Ž ž Ż ż Æ æ Ǣ ǣ Ø ø Œ œ ß Ð ð Þ þ Ə ə Formatting Links Headings Lists Files Discussion | Description | What you type | What you get | | --- | --- | --- | | Italic | ''Italic text'' | _Italic text_ | | Bold | '''Bold text''' | **Bold text** | | Bold & italic | '''''Bold & italic text''''' | **_Bold & italic text_** | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 -------------------------------------------------------------------------------- -- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the {{format link}} template. -------------------------------------------------------------------------------- local libraryUtil=require('libraryUtil') local checkType=libraryUtil.checkType local checkTypeForNamedArg=libraryUtil.checkTypeForNamedArg local mArguments-- lazily initialise [[Module:Arguments]] local mError-- lazily initialise [[Module:Error]] local yesno-- lazily initialise [[Module:Yesno]] local p={} -------------------------------------------------------------------------------- -- Helper functions -------------------------------------------------------------------------------- הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 0 0 0 1:0 Debug console * The module exports are available as the variable "p", including unsaved modifications. * Precede a line with "=" to evaluate it as an expression or use print(). Use mw.logObject() for tables. * Use mw.log() and mw.logObject() in module code to send messages to this console. Template used on this page: * [Module:Format link/doc](https://freemwiki.com/index.php?title=Module:Format_link/doc&action=edit&redlink=1 "Module:Format link/doc (page does not exist)") ([edit](https://freemwiki.com/index.php?title=Module:Format_link/doc&action=edit "Module:Format link/doc (page does not exist)")) Return to [Module:Format link](https://freemwiki.com/wiki/Module:Format_link "Module:Format link"). Retrieved from "[https://freemwiki.com/wiki/Module:Format_link](https://freemwiki.com/wiki/Module:Format_link)" #### Languages This page is not available in other languages. freem * [Privacy Policy](https://freemwiki.com/wiki/Privacy_Policy) * [About](https://freemwiki.com/wiki/About) * [Terms of Service](https://freemwiki.com/wiki/Terms_of_Service) * [Desktop](https://freemwiki.com/index.php?title=Module:Format_link&action=edit&mobileaction=toggle_view_desktop)