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

Content deleted Content added
moving documentation to /doc page
 
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
 
(6 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 {{tlx|tl}}-style ''template-link'' tag that boldfaces the template name, and accepts parameters. It's the same as {{tltlx|tlx}} except that it boldfaces the name of the template (or you can think of it as the same as {{tlx|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===
{| class="wikitable"
! Code
Line 10 ⟶ 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 26 ⟶ 27:
| This actually substitutes the current page name. Useful as a self-reference; won't be linked.
|}
 
I.e., it's a {{tl|tl}}-style ''template-link'' tag that boldfaces the template name, and accepts parameters. Its main use is in distinguishing between multiple templates with similar names, in documentation, talk page discussions, etc.
 
The rest of the documentation is for {{tl|tlx}}, which works the same way.
Line 34 ⟶ 33:
{{Tlx/doc}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandboxSandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Internal template-link templates]]
 
}}</includeonly>