Difference between revisions of "Template:Tlbare"
Jump to navigation
Jump to search
(Created page with "{{#if:{{str endswith|{{{1}}}|%}} <!--(i.e. if {{{1}}} is a percentage)--> | [[Template:{{{2}}}|<span style="font-size:{{{1}}};">{{{3|{{{2}}}}}}</span>]] | Template:{{{1}}}...") |
m (1 revision imported) |
Latest revision as of 17:46, 21 January 2022
[[Template:{{{1}}}|{{{1}}}]]
This documentation is transcluded from Template:Tlbare/doc.
"tlbare" ⇒ "template link, bare"
A template in the same vein as the category-linking template {{c}}, producing a "bare" link – i.e. without "Template:" prefix, braces, etc. – to the template named by the first parameter. If a second parameter is supplied, it is used in place of the first as the link's text.
Syntax
Examples
- {{tlbare|Example}} produces: Example
- {{tlbare|Example|the "Example" template}} produces: the "Example" template
Resizing
If the first parameter ends in a percent sign ("%"), it will be treated as a font-size setting for the template's output. For example:
{{tlbare|Example}} | produces: | Example |
{{tlbare|90%|Example}} | produces: | Example |
{{tlbare|90|Example}} | produces: | Example |
See also
- {{c}}, the same kind of template for a category.
- {{tl}} and {{tnf}}, similar templates that include, respectively, braces as well as a link; and braces without a link.
- Category:Internal template-link templates for more templates providing template links within Wikipedia.