Template:Template link expanded with bold/doc: Difference between revisions

Content deleted Content added
Usage: tweaks
m Primefac moved page Template:Tlxb/doc to Template:Template link expanded with bold/doc: match the rest of the template family with clearer name
 
(5 intermediate revisions by 5 users not shown)
Line 2:
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
__NOTOC__
 
== Usage ==
This template is a {{tltlx|tl}}-style ''template-link'' tag that boldfaces the template name, and accepts parameters. It's the same as {{tlx|tlx}} except that it boldfaces the name of the template (or you can think of it as the same as {{tltlx|tlb}} except that it uses {{tag|code}} to provide a non-proportional, monospaced font instead of normal text). Its main use is in highlighting to distinguish between multiple templates with similar names, in documentation, talk page discussions, etc.
 
===Examples===
Line 12 ⟶ 11:
! Remark
|-
| <code><nowiki>{{tlxb|Template nameabc}}</nowiki></code>
| {{tlxb|Template nameabc}}
|
|-
| <code><nowiki>{{tlxb|Template nameabc|parameter1|parameter2}}</nowiki></code>
| {{tlxb|Template nameabc|parameter1|parameter2}}
|
|-
| <code><nowiki>{{tlxb|Template nameabc|parm1|parm2{{=}}foo}}</nowiki></code>
| {{tlxb|Template nameabc|parm1|parm2{{=}}foo}}
| Equal signs need to be escaped using <code><nowiki>{{=}}</nowiki></code>.
|-
Line 34 ⟶ 33:
{{Tlx/doc}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandboxSandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Internal template-link templates]]
 
}}</includeonly>