Discord-logo.jpg Join our Discord!
If you have been locked out of your account you can request a password reset here.

Difference between revisions of "Template:Tl/doc"

From Internet Movie Firearms Database - Guns in Movies, TV and Video Games
Jump to navigation Jump to search
(Created page with " 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 i...")
 
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
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:
 
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:
  
::<code><nowiki>{{Tl|Infobox}}</nowiki></code>
+
::<code><nowiki>{{Tl|Infobox Movie}}</nowiki></code>
  
 
:generates
 
:generates
  
::{{Tl|Infobox}}
+
::{{Tl|Infobox Movie}}
 +
 
 +
<noinclude>[[Category:Template documentation]]
 +
</noinclude>

Latest revision as of 20:07, 1 April 2023

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|Infobox Movie}}
generates
{{Infobox Movie}}

Do Not Sell My Personal Information