Editing
Template:Template-linking templates
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Other formatting templates=== {| class="wikitable sortable plainrowheaders" |+ Templates producing specialised formatting effects for given templates, modules or parameters !scope="col"| Code example !scope="col"| Effect !scope="col"| Notes |- !scope="row"| {{Tlx|Tj|Hatnote|Some text|selfref: yes|category: no|lang: fr}} | {{Tj|Hatnote|Some text|selfref: yes|category: no|lang: fr}} || Supports colors, placeholder texts, named and unnamed parameters |- !scope="row"| <!-- Using deprecate <source> tag to syntaxhighlight <syntaxhighlight> tag --> <source lang="wikitext"> <syntaxhighlight lang="wikitext"> {{Hatnote | Some text | selfref = yes | category = no | lang = fr }} </syntaxhighlight> </source> | <syntaxhighlight lang="wikitext"> {{Hatnote | Some text | selfref = yes | category = no | lang = fr }} </syntaxhighlight> | Same as above |- !scope="row"| {{Tlx|Tji|Hatnote|Some text|selfref: yes|category: no|lang: fr}} | {{Tji|Hatnote|Some text|selfref: yes|category: no|lang: fr}} || Supports colors, placeholder texts, named and unnamed parameters |- !scope="row"| <code>{{xtag|syntaxhighlight|params=lang="wikitext" inline}}<nowiki>{{Hatnote|Some text|selfref=yes|category=no|lang=fr}}</nowiki>{{xtag|syntaxhighlight|c}}</code> | <syntaxhighlight lang="wikitext" inline>{{Hatnote|Some text|selfref=yes|category=no|lang=fr}}</syntaxhighlight> | Same as above |- !scope="row"| {{tlx|tl2|<nowiki>Hatnote|lang=fr</nowiki>}} | {{tl2|hatnote|lang=fr}} || Supports linking to sister projects (e.g., fr:Hatnote) |- !scope="row"| {{tlx|demo|<nowiki><nowiki>{{Hatnote|lang=fr|Some text}}</nowiki></nowiki>}} | {{demo|<nowiki>{{hatnote|lang=fr|Some text}}</nowiki>}} || Shows code and example |- !scope="row"| {{tlx|tln|Hatnote}} | {{tln|Hatnote}} || Produces a normal link to the template |- <!-- Yes, I know these two aren't actually template-linking templates, but they're a heck of a lot easier to find if listed in the docs for e.g. {{tl}} --> !scope="row"| {{tlx|elc|Template:Hatnote}}<br />{{tlx|elc|<nowiki>Template:Hatnote|Hatnote</nowiki>}} | {{elc|Template:Hatnote}}<br />{{elc|<nowiki>Template:Hatnote|Hatnote</nowiki>}} || Formats wikilink, with optional piped link text and blended suffix |- !scope="row"| {{tlx|ml|Example|hello}} | {{ml|Example|hello}} || Counterpart to {{tl|tl}} for linking to Lua modules |- !scope="row"| {{tlx|mfl|Example|hello}} | {{mfl|Example|hello}} || Similar to {{tl|ml}}, but expects the function to be documented and creates a link to the corresponding section |- !scope="row"| {{tlx|mlx|Example|hello}} | {{mlx|Example|hello}} || Counterpart to {{tl|tlx}} for linking to Lua modules |- !scope="row"| {{tlx|ml-lua|Module:Example}} | {{ml-lua|Module:Example}} || Link to Lua modules and built-in libraries, showing Lua code. |- !scope="row"| {{tlx|para|<nowiki>title|<var>book title</var></nowiki>}} | {{para|title|<var>book title</var>}} || Formats template parameters for display, with or without values |- !scope="row"| {{tlx|sclx|LASTING}} | {{sclx|LASTING}} || Takes a shortcut suffix in project namespace and displays it with brackets and the [[WP:ALIAS|WP: alias]] in a [[WP:CODE|{{tag|code}}]] tag. |- !scope="row"| {{tlx|tag|ref}}<br />{{tlx|xtag|templatedata}} | {{tag|ref}}<br />{{xtag|templatedata}} || Formats [X]HTML tags; can add content, choose opening, closing, or self-closing |- !scope="row"| {{tlx|dtl|Ping project}} | {{dtl|Ping project}} || Wikidata counterpart to {{tl|tl}} |- !scope="row"| {{tlx|pf|if}}<br />{{tlx|pf|if|<nowiki>{{{1}}}</nowiki>|true|false}} | {{pf|if}}<br />{{pf|if|<nowiki>{{{1}}}</nowiki>|true|false}} || [[Help:Parser functions|Parser function]] equivalent to {{tl|tl}} |- !scope="row"| {{tlx|magic word|uc:}} | {{magic word|uc:}} || Magic word links |}
Edit summary
(Briefly describe your changes)
Please note that all contributions to Chabadpedia are considered to be released under the GNU Free Documentation License 1.3 or later (see
Chabadpedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
This page is a member of 2 hidden categories:
Category:Pages using deprecated source tags
Category:Pages with syntax highlighting errors
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Navigation
Main page
Recent changes
Random page
Tools
What links here
Related changes
Special pages
Page information