Preload/Template – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Attempt)
m (Attempt)
Line 1: Line 1:
<include<includeonly></includeonly>only>The template code</include<includeonly></includeonly>only><no<includeonly></includeonly>include>
<include<includeonly></includeonly>only>TEMPLATE CODE LOCATION</include<includeonly></includeonly>only><no<includeonly></includeonly>include>
 
== Usage ==
== Usage ==
{{<nowiki/>{{subst:{{PAGENAME}}}}|'''''argument'''''}}
{{<nowiki/>TemplateName|'''''arg1'''''}}
* argument: (Optional) description
* arg1: (Optional)


{| class="wikitable"
{| class="wikitable"
Line 9: Line 10:
! Result
! Result
|-
|-
| <now<includeonly></includeonly>iki>{{<includeonly></includeonly>{{subst:{{PAGENAME}}}}<includeonly></includeonly>}}</now<includeonly></includeonly>iki>
| <nowiki>{{TemplateName}}</nowiki>
| {{<includeonly></includeonly>{{subst:{{PAGENAME}}}}<includeonly></includeonly>}}
| {{TemplateName}}
|-
|-
| <now<includeonly></includeonly>iki>{{<includeonly></includeonly>{{subst:{{PAGENAME}}}}|Hello there!}}</now<includeonly></includeonly>iki>
| <nowiki>{{TemplateName|Hello there!}}</nowiki>
| {{<includeonly></includeonly>{{subst:{{PAGENAME}}}}|Hello there!}}
| {{TemplateName|Hello there!}}
|}
|}


[[Category:Templates|{{uc:{{PAGENAME}}}}]]
[[Category:Templates|{{uc:{{PAGENAME}}}}]]
</no<includeonly></includeonly>include>
</no<includeonly></includeonly>include>

Revision as of 04:31, 28 December 2020

<includeonly>TEMPLATE CODE LOCATION</includeonly><noinclude>

Usage

{{TemplateName|arg1}}

  • arg1: (Optional)
Examples
Code Result
{{TemplateName}} Template:TemplateName
{{TemplateName|Hello there!}} Template:TemplateName

</noinclude>