Preload/Template – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Attempt)
m (Fix template name)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<include<includeonly></includeonly>only>The template code</include<includeonly></includeonly>only><no<includeonly></includeonly>include>
<includeonly><include<includeonly/>only>TEMPLATE CODE LOCATION</include<includeonly/>only><no<includeonly/>include>{{Doc/Template
== Usage ==
|descr= Template description
{{<nowiki/>{{subst:{{PAGENAME}}}}|'''''argument'''''}}
|param1= parameter1
* argument: (Optional) description
|descr1= this is the first parameter
 
|param2= parameter2
{| class="wikitable"
|descr2= (Optional) this is the second parameter
|+ Examples
|example1= <nowiki>{{TemplateName}}</nowiki>
! Code
|result1= {{TemplateName}}
! Result
|example2= <nowiki>{{TemplateName|Hello there!}}</nowiki>
|-
|result2= {{TemplateName|Hello there!}}
| <now<includeonly></includeonly>iki>{{<includeonly></includeonly>{{subst:{{PAGENAME}}}}<includeonly></includeonly>}}</now<includeonly></includeonly>iki>
}}</no<includeonly/>include></includeonly><noinclude>{{Doc/Template
| {{<includeonly></includeonly>{{subst:{{PAGENAME}}}}<includeonly></includeonly>}}
|descr= Preload template used to create templates.
|-
}}</noinclude>
| <now<includeonly></includeonly>iki>{{<includeonly></includeonly>{{subst:{{PAGENAME}}}}|Hello there!}}</now<includeonly></includeonly>iki>
| {{<includeonly></includeonly>{{subst:{{PAGENAME}}}}|Hello there!}}
|}
 
[[Category:Templates|{{uc:{{PAGENAME}}}}]]
 
</no<includeonly></includeonly>include>

Latest revision as of 01:46, 15 January 2021

Preload template used to create templates.

This template is used on these pages.

Usage

{{Preload/Template}}