Difference between revisions of "Template:TemplateTest"

From BTAWiki
Jump to navigation Jump to search
(Template creation)
 
Line 1: Line 1:
<includeonly>{{#invoke:test|Foo}}</includeonly>
+
<includeonly>{{#invoke:test|equipmentMechs}}</includeonly>
 
<noinclude>
 
<noinclude>
 
Template:TemplateTest will invoke an assigned function in the Module:Test page.
 
Template:TemplateTest will invoke an assigned function in the Module:Test page.
Line 5: Line 5:
 
For example:
 
For example:
 
<pre>
 
<pre>
{{TemplateTest|Bar}}
+
{{TemplateTest|emod_kit_cdhs}}
 
</pre>
 
</pre>
  
 
Yields this result:
 
Yields this result:
  
{{TemplateTest|Bar}}
+
{{TemplateTest|emod_kit_cdhs}}
 
</noinclude>
 
</noinclude>

Revision as of 15:29, 9 December 2021


Template:TemplateTest will invoke an assigned function in the Module:Test page.

For example:

{{TemplateTest|emod_kit_cdhs}}

Yields this result: