Template – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Getting rid of bad documentation)
m (Add more examples)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{[[Template:{{{1}}}|{{{1}}}]]}}</includeonly><noinclude>
<includeonly>{{hl|{{[[Template:{{{1}}}|{{{1}}}]]}}}}</includeonly><noinclude>{{Doc/Template
==Usage==
|descr= Used to create a formatted link to a template.
Used to create a formatted link to a template.


{{Inline code|<nowiki>{{Template|Inline code}}</nowiki>}} results in {{Template|Inline code}}
|param1= name
|descr1= target template's pagename


[[Category:Templates|{{PAGENAME}}]]
|example1= <syntaxhighlight lang="html+handlebars">
</noinclude>
{{Template|RV}}
{{Template|Link}}
{{Template|Link/External}}
</syntaxhighlight>
|result1= {{Template|RV}}<br>{{Template|Link}}<br>{{Template|Link/External}}
 
}}</noinclude>

Latest revision as of 11:44, 16 October 2024

Used to create a formatted link to a template.

This template is used on these pages.

Usage

{{Template|name}}

  • name: target template's pagename
Examples
Code Result
{{Template|RV}}
{{Template|Link}}
{{Template|Link/External}}
{{RV}}
{{Link}}
{{Link/External}}