"తెలుగులో సులువుగా టైపు చేసేందుకు, మీ క్రోమ్ బ్రౌజరు లో గూగుల్ లిప్యంతరీకరణ పద్ధతిని వాడవచ్చు."

మూస:Template link expanded

From tewiki
(Redirected from మూస:Tlx)
Jump to navigation Jump to search

{{మూస:Template link expanded}}

50px Template documentation[view] [edit] [history] [purge]

Explanation

{{tlg}} (template link, general) is a general template for inserting a template link. It can be used to replace or implement any of the more specific {{tl*}} templates, e.g. {{tl}}, {{tlx}} or {{tlb}}. Parameters are:

  • bold=yes: Boldface the text, like for {{tlb}} and {{tlxb}}
  • italic=yes: Italicizes the parameters, like for {{tlxi}}
  • tt=yes: Use a monospaced font, like for {{tlx}} and {{tlxb}}
  • code=yes: Use the <code>...</code> HTML attribute (usually a monospaced font), like for {{tlc}}
  • nolink=yes: Don't insert a template link, like for {{tlf}}, {{tld}}, and {{tlc}}
  • anypage=yes: Allow linking to arbitrary page (not just template), as with {{tlu}}
  • braceinside=yes: Put braces inside the link, like for {{tn}}
  • subst=yes: Add a subst: prefix, like for {{tls}}
  • alttext=FOO: Specify alternative surface text for a link, like for {{tla}}

Examples

Note
On the source sister projects, en.wikipedia and Meta, X0, X1, X2,..., X9 are sandbox templates for experimentation on involved templates that need be in template space. An auto-cleansing software facility exists that might be used to duplicate the facility on other Sister projects.
Code Result Remark
{{Tlg|Abc}}
  1. REDIRECT Template:Template link general
 
{{Tlg|ABC}}
  1. REDIRECT Template:Template link general
 
{{Tlg|AbC}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x0}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x0|bold=yes}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x1|one|italic=yes}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x0|code=yes}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x0|tt=yes}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x0|nolink=yes}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x0|subst=yes}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x0|braceinside=yes}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x0|alttext=Link to x0 template}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x0|anypage=yes}}
  1. REDIRECT Template:Template link general
Now the expression links to x0 (the spaceship, genetic disease, etc.) rather than Template:x0. Mostly useful for templates in user space.
{{Tlg|x0|bold=yes|tt=yes|braceinside=yes}}
  1. REDIRECT Template:Template link general
No reason you can't combine multiple parameter settings.
{{Tlg|x1|one}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x2|one|two}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x2|bold=yes|tt=yes|one|two}}
  1. REDIRECT Template:Template link general
Can combine named and anonymous parameters ...
{{Tlg|x2|one|two|bold=yes|tt=yes}}
  1. REDIRECT Template:Template link general
... in any order …
{{Tlg|x2|one|tt=yes|two|bold=yes|three}}
  1. REDIRECT Template:Template link general
... even intermixed ...
{{Tlg|x2|one|tt=yes|two|bold=yes|three|italic=yes}}
  1. REDIRECT Template:Template link general
... with many different configurations.
{{Tlg|x3|1|2|3|4|5|6|7|8|9|10}}
  1. REDIRECT Template:Template link general
 
{{Tlg|x4|1|2|3|4|5|6|7|8|9|10|11}}
  1. REDIRECT Template:Template link general
up to 10 parameters, then ...
{{Tlg|x5|1|2|3|4|5|6|7|8|9|10&#124;11}}
  1. REDIRECT Template:Template link general
&#124; for more
{{Tlg|convert|<nowiki>14|m|ftin|abbr=out|sp=us</nowiki>}} unlimited parameters as one nowiki string
{{Tlg}}
  1. REDIRECT Template:Template link general
with no arguments, the current page name is substituted
{{Tlg|x1|x=u}}
  1. REDIRECT Template:Template link general
= won't work
{{Tlg|x1|x&#61;u}}
  1. REDIRECT Template:Template link general
&#61; is okay
{{Tlg|x1|x{{=}}u}}
  1. REDIRECT Template:Template link general
{{=}} is okay
{{Tlg|x1|<nowiki>x=u</nowiki>}}
  1. REDIRECT Template:Template link general
sticky nowiki is okay
{{Tlg|x2| |two}}
  1. REDIRECT Template:Template link general
empty won't work
{{Tlg|x2|&#32;|two}}
  1. REDIRECT Template:Template link general
&#32; is okay
{{Tlg|x2|&nbsp;|two}}
  1. REDIRECT Template:Template link general
&nbsp; is okay
{{Tlg|x2|&#124; two}}
  1. REDIRECT Template:Template link general
&#124; is okay
{{Tlg|x2|{{!}} two}}
  1. REDIRECT Template:Template link general
  1. REDIRECT Template:Template link general
is dubious
{{Tlg|x2|2=|3=two}}
  1. REDIRECT Template:Template link general
empty really doesn't work
{{Tlg|x2|2=one|two}}
  1. REDIRECT Template:Template link general
two clobbers 2=one
{{Tlg|x2|3=two|2=one}}
  1. REDIRECT Template:Template link general
right to left okay