Toggle search
Search
Toggle menu
Notifications
Toggle personal menu
Editing
Template:Template link general/doc
Template page
Views
Read
Edit
View history
associated-pages
Template
Discussion
More actions
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!
{{Documentation}} {{Wikipedia template}} {{tsh|{{{1|tlg}}}|{{{2|}}}}} This template, often abbreviated as {{tlf|{{#switch:{{lc:{{ROOTPAGENAME}}}} | tlg | template link general = tlg | tlb | template link with bold = tlb | tlc | template link code = tlc | tlw ||template link with linked braces = tlw | tlf | template link with link off = tlf | tltss | template link with title span, subst = tltss | tlx | template link expanded = tlx | tlxb | template link expanded with bold = tlxb | tlxi | template link expanded with italic = tlxi | tlxs | template link expanded with subst = tlxs | tls | template link with subst = tls | tnull | template link null = tnull | tlp | template link with parameters = tlp}} }}, is used to provide stylized formatting to template displays without actually using the template itself. ===Parameters=== With the exception of {{mono|alttext}}, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order ([[#Examples|see Examples below]]). Certain templates have the parameter "on" by default; see [[#General-purpose formatting|the main table]] for all alternate options. {| class="wikitable" ! Parameter || Action || Use with<br>{{t|example}} || Default active |- | || Default (without accessory parameters) || {{tlg|example}} || |- | brace || Include braces as part of the template link || {{tlg|brace=yes|example}} || {{tl|tlw}}/{{tl|tn}} |- | braceinside || Include innermost braces as part of the template link || {{tlg|example|braceinside=yes}} || |- | bold || Renders the template link/name in '''bold''' || {{tlg|bold=yes|example}} || {{tl|tlb}}, {{tl|tlxb}} |- | code || Display output using HTML [[HTML element#code|{{tag|code}}]] tags ([[monospaced font]]) || {{tlg|code=yes|example}} || {{tl|tlc}}, {{tl|Template link expanded}}, etc. |- | italic || Display any parameters accompanying the template link/name in ''italics'' ||| {{tlg|italic=yes|example|param}} || {{tl|tlxi}} |- | kbd || Display output using HTML [[HTML element#kbd|{{tag|kbd}}]] tags (monospaced font) || {{tlg|kbd=yes|example}} || |- | nolink || Don't render the template name as a link || {{tlg|nolink=yes|example}} || {{tl|tlf}}, {{t|tnull}} |- | nowrap || Prevent the insertion of line breaks ([[word wrap]]) in the output || {{tlg|nowrap=yes|example}} || |- | nowrapname || Prevent word wrapping in the output of template name/link (parameters will wrap if needed) || {{tlg|nowrapname=yes|example}} || |- | plaincode || Uses {{tag|code|params=style="border:none; background:transparent;"}} || {{tlg|plaincode=yes|example}} || {{tl|tltss}} |- | subst || Include a [[Help:Substitution|subst:]] prefix before the template link/name || {{tlg|subst=yes|example}} || {{tl|tls}}, {{tl|tlxs}}, etc |- | {{para|alttext|[text]}} || Use [text] as the label for the template link || {{tlg|alttext=Other|example}} || {{tl|tla}} |- | _show_result || Will also display the result of the template. || {{tlx|Min|7|-5|_show_result=y}} || |- | _expand || Will add a link to the expanded template page. || {{tlx|Min|7|-5|_expand=y}} || |} <includeonly> <!-- Category --> [[Category:Internal link templates]] [[Category:Typing-aid templates]] </includeonly>
Summary:
Please note that all contributions to WoopMC may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, 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 (see
WoopMC:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Bulleted list
(
edit
)
Template:Documentation
(
edit
)
Template:Mbox/styles.css
(
edit
)
Template:Min
(
edit
)
Template:Mono
(
edit
)
Template:Para
(
edit
)
Template:Shortcut/styles.css
(
edit
)
Template:T
(
edit
)
Template:T/piece
(
edit
)
Template:Tag
(
edit
)
Template:Template link expanded
(
edit
)
Template:Template link general
(
edit
)
Template:Template shortcut
(
edit
)
Template:Template link general
(
edit
)
Template:Tlf
(
edit
)
Template:Template link general
(
edit
)
Template:Template link expanded
(
edit
)
Template:Template shortcut
(
edit
)
Template:Wikipedia template
(
edit
)
Module:Arguments
(
edit
)
Module:Array
(
edit
)
Module:DPLlua
(
edit
)
Module:DependencyList
(
edit
)
Module:Documentation
(
edit
)
Module:Format link
(
edit
)
Module:Hatnote
(
edit
)
Module:Hatnote/styles.css
(
edit
)
Module:Hatnote list
(
edit
)
Module:List
(
edit
)
Module:Paramtest
(
edit
)
Module:TableTools
(
edit
)
Module:Template link general
(
edit
)
Module:Yesno
(
edit
)