Difference between revisions of "Template:TemplateTest"

From BTAWiki
Jump to navigation Jump to search
 
(10 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
Template:TemplateTest will invoke an assigned function in the Module:Test page.
 
Template:TemplateTest will invoke an assigned function in the Module:Test page.
  
Test example for the two different Corsair types:
 
 
<pre>
 
<pre>
{{TemplateTest|Weapon_MECHMORTAR_4_Clan}}
+
{{TemplateTest|emod_engineslots_xxl_center}}
 
</pre>
 
</pre>
  
Yields this result for the COR-MKD (75t variant):
+
{{TemplateTest|emod_engineslots_xxl_center}}
  
{{TemplateTest|Weapon_MECHMORTAR_4_Clan}}
 
  
  
Or also there's this which contains every variant of the Corsair, both 75t and 95t:
+
{{#cargo_query:tables=Chassis|fields=Chassis.Id, Chassis._ID, Chassis._pageID, Chassis._pageName|where=Chassis.Id = "chassisdef_huntsman_HMN-H" OR Chassis.Id = "chassisdef_shadowcat_A"}}
{{TemplateTest|Gear_Quirk_Rugged_Corsair}}
+
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:58, 23 February 2022


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

{{TemplateTest|emod_engineslots_xxl_center}}



Id _ID _pageID _pageName
chassisdef_huntsman_HMN-H 24,442 4,963 RawData:MechDef Huntsman HMN-H
chassisdef_shadowcat_A 25,510 5,087 RawData:MechDef Shadow Cat SHC-A