Template:Tl/doc: Difference between revisions

From Absit Omen Lexicon
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> __NOTOC__ The '''template link''' template is a simple macro [[Help:templa...")
 
mNo edit summary
 
Line 24: Line 24:
<includeonly>
<includeonly>
[[Category:Internal link templates]]
[[Category:Internal link templates]]
 
[[Category:Typing-aid templates]]
</includeonly>
</includeonly>

Latest revision as of 20:54, 10 December 2013

Edit-copy green.png This is a documentation subpage for Template:Tl.
It contains usage information, categories and other content that is not part of the original template page.


The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation. A short example is that the code:

{{Tl|documentation}}
generates
{{documentation}}

See also

  • {{tl|documentation}} produces: {{documentation}}
  • {{tlf|documentation}} produces: {{documentation}}
  • {{tlx|documentation}} produces: {{documentation}}
  • {{tnull|documentation}} produces: {{documentation}}

For parameter description,

  • {{para|<var>name</var>|value}} renders: |name=value