Difference between revisions of "Template:Template link"

From LFS Manual
Jump to navigationJump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
&#123;&#123;[[Template:{{{1}}}|{{{1}}}<!--
+
{{#if:{{{code|}}}|<code>}}&#123;&#123;[[Template:{{{1}}}|{{{1}}}]]<!--
 
-->{{#if:{{{2|}}}|{{!}}{{{2}}}}}<!--
 
-->{{#if:{{{2|}}}|{{!}}{{{2}}}}}<!--
 
-->{{#if:{{{3|}}}|{{!}}{{{3}}}}}<!--
 
-->{{#if:{{{3|}}}|{{!}}{{{3}}}}}<!--
Line 7: Line 7:
 
-->{{#if:{{{7|}}}|{{!}}{{{7}}}}}<!--
 
-->{{#if:{{{7|}}}|{{!}}{{{7}}}}}<!--
 
-->{{#if:{{{8|}}}|{{!}}''...''}}<!--
 
-->{{#if:{{{8|}}}|{{!}}''...''}}<!--
-->]]&#125;&#125;<noinclude>{{documentation}}</noinclude>
+
-->&#125;&#125;{{#if:{{{code|}}}|</code>}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 19:34, 24 January 2024

{{[[Template:{{{1}}}|{{{1}}}]]}}

Template Info-Icon.png

Template documentation

View - Edit

Usage

Markup Renders as
{{template link|historical}}
Markup Renders as
{{template link|code|test}}

{{code|test}}

Markup Renders as
{{template link|code|test|code=1}}

{{code|test}}