Template:Internal link with parameters/doc: Difference between revisions

Content deleted Content added
First draft
 
m shortcuts
 
(3 intermediate revisions by one other user not shown)
Line 1:
{{Documentation subpage}}
{{tsc|ilp|ilwp|paraml|paramlink}}
{{May be substituted}}
{{Lua|Module:Params}}
 
Use this template to create internal links with parameter support.
 
This template is similar to the {{tlm|fullurl:...}} magic word, but in addition
* Allows to write each URL parameter as a separate template parameter
* Automatically sanitizes parameter names and values via {{tlm|urlencode:...|QUERY}}
* Automatically inserts the link generated within a <syntaxhighlight lang="html" inline><span class="plainlinks">...</span></syntaxhighlight> element – you can pass an empty {{para|class}} parameter to avoid it
 
== Usage ==
Line 70 ⟶ 76:
 
== See also ==
* [[:Category:LinkInternal link templates]]
* {{tlmTlm|fullurl:...}}
* {{Tl|Querylink}}
 
<includeonly>{{Sandbox other||
<!-- Categories below this line -->
[[Category:Link templates|{{PAGENAME}}]]
[[Category:Internal link templates|{{PAGENAME}}]]
[[Category:Internal link maintenance templates|{{PAGENAME}}]]
[[Category:Pagelinks templates|{{PAGENAME}}]]
[[Category:Inline templates|{{PAGENAME}}]]
[[Category:Wikipedia administration templates|{{PAGENAME}}]]