Template:Tlb/doc

From Droid Reference Library
< Template:Tlb
Revision as of 00:01, 13 August 2018 by Drl-admin (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> == Usage == This template is a {{tlx|tl}}-style ''template-link''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This template is a {{tl}}-style template-link tag that boldfaces the template name, and accepts parameters. It's the same as {{tlx}} except that it boldfaces the name of the template and uses Wikipedia's default font instead of a non-proptional, monospaced font, as used by the variant {{tlxb}} (which is more commonly used because it has that <code>-style monospaced look). Its main use is in highlighting to distinguish between multiple templates with similar names, on projectpages, in talk page discussions, and for nesting an example of a template-link call inside another template-link call that has already applied the <code>...</code> markup.

Examples

Code Result Remark
{{tlb|abc}} {{abc}}
{{tlb|abc|parm1|parm2}} {{abc|parm1|parm2}}
{{tlb|abc|parm1|parm2{{=}}foo}} {{abc|parm1|parm2=foo}} Equal signs need to be escaped using {{=}}.
{{tlb}} {{Tlb/doc}} This actually substitutes the current page name. Useful as a self-reference; won't be linked.

The rest of the documentation is for {{tlx}}, which works the same way.


Template:Tlx/doc