Difference between revisions of "Template:Tlf"

From GodWiki
Jump to navigation Jump to search
m (Created page with "<span style="white-space:nowrap;">{{{{#if:{{{1|}}}|{{{1}}}| tlf|...}}<!-- -->{{#ifeq:{{{2|x}}}|{{{2|}}}| |{{{2}}} | }}<!-- -->{{#ifeq:{{{3|x}}}|{{{3|}}}| &#12…")
 
(Add categories)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="white-space:nowrap;">&#123;&#123;{{#if:{{{1|}}}|{{{1}}}| tlf&#124;...}}<!--
+
<span class="nowrap">&#123;&#123;{{#if:{{{1|}}}|{{{1}}}| tlf&#124;...}}<!--
 
-->{{#ifeq:{{{2|x}}}|{{{2|}}}| &#124;{{{2}}} | }}<!--
 
-->{{#ifeq:{{{2|x}}}|{{{2|}}}| &#124;{{{2}}} | }}<!--
 
-->{{#ifeq:{{{3|x}}}|{{{3|}}}| &#124;{{{3}}} | }}<!--
 
-->{{#ifeq:{{{3|x}}}|{{{3|}}}| &#124;{{{3}}} | }}<!--
Line 11: Line 11:
  
 
{{documentation}}
 
{{documentation}}
<!-- Add categories and interwikis to the /doc sub-page, not here! -->
+
[[Category:Templates|{{PAGENAME}}]] [[Category:Formatting templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>
 
[[Category:Templates]]
 

Latest revision as of 16:15, 11 November 2018

{{tlf|...}}

[view] [edit] [history] [refresh]
📚 Documentation

This page is the documentation for {{tlc}} and {{tlf}} as they work almost exactly the same.

The {{tlf}} and {{tlc}} templates can be used in documentation and talk page discussions to show how a template name would be used in code, without linking to the template in the example.

Examples

Code Output
{{tlf|Template name|parameters}} {{Template name|parameters}}
{{tlf|convert}} {{convert}}
{{tlf|convert|10|m}} {{convert|10|m}}
{{tlf|Example|a|b|c|d|e|f|g}} {{Example|a|b|c|d|e|f|g|h}}
{{tlc|Example|a|b|c|d|e|f|g}} {{Example|a|b|c|d|e|f|g|h}}