Jump to content

සැකිල්ල:Module link lua/doc

විකිපීඩියා වෙතින්

Examples:

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Module link lua

A template to create links to Lua modules or built-in Lua libraries, displaying the text "require('<name>')".

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Module1

Either the full title of a module ("Module:String") or the name of a built-in module ("strict").

Stringrequired
  • {{ml}} - Similar function providing wiki markup syntax but not surrounded in <code>...</code> tags.
  • {{mlx}} - Similar function providing wiki markup syntax and surrounded in <code>...</code> tags.

General-purpose formatting

[සංස්කරණය]

Other formatting templates

[සංස්කරණය]
Code exampleEffectNotes
{{tl2|Hatnote|lang=fr}}{{hatnote}}Supports linking to sister projects (e.g., fr:Hatnote)
{{tlu|User:Ahunt/SSHFS}}{{User:Ahunt/SSHFS}}Supports linking to any namespace
{{demo|<nowiki>{{Hatnote|lang=fr|Some text}}</nowiki>}}
{{hatnote|lang=fr|Some text}}

Shows code and example
{{xpd|Hatnote|Some hatnote text}}"{{hatnote|Some hatnote text}}" gives "" Shows code, example and a link to expand the template code
{{para|title|<var>book title</var>}}|title=book titleFormats template parameters for display, with or without values
{{elc|Template:Hatnote}}
{{elc|Template:Hatnote|Hatnote}}
[[Template:Hatnote]]
[[Template:Hatnote|Hatnote]]
Formats wikilink, with optional piped link text and blended suffix
[සංස්කරණය]
Code exampleEffect
{{lts|Hatnote}}Template:Hatnote (edit discuss links history)
{{t links|Hatnote}}{{Hatnote}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{tfd links|Hatnote}}Template:Hatnote (talk · history · transclusions · logs · subpages)
{{tiw|Hatnote}}සැකිල්ල:hatnote (සාකච්ඡාව, backlinks, සාකච්ඡාව)
{{tltt|Hatnote}}{{Hatnote}}
{{tetl|Hatnote}}{{ Hatnote }}
links talk view
{{tsetl|Hatnote}}{{subst:Hatnote}}
 links talk edit
{{ti|Hatnote}}Template:Hatnote (talk, links, edit)
{{tic|Hatnote}}Template:Hatnote (talk, links, edit)
{{tiw|Hatnote}}සැකිල්ල:Hatnote (සාකච්ඡාව, backlinks, සාකච්ඡාව)
{{tlt|Hatnote}}{{Hatnote}} (doc/talk)
{{ttl|Hatnote}}{{Hatnote}} (t/l)
{{twlh|Hatnote}}Template:Hatnote (links, talk)
"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Module_link_lua/doc&oldid=740798" වෙතින් සම්ප්‍රවේශනය කෙරිණි