Template – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix example)
m (Add more examples)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><tt>{{[[Template:{{{1}}}|{{{1}}}]]}}</tt></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.


{{ic|<nowiki>{{Template|RV}}</nowiki>}} results in {{Template|RV}}
|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}}