Difference between revisions of "Template:TemplateTest"

From BTAWiki
Jump to navigation Jump to search
 
(9 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}}
 
  
  
Corsair, 55t, 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}}
 
 
 
 
 
Stalker, 75t and 85t:
 
{{TemplateTest|Gear_Quirk_CombatComputer_Stalker}}
 
 
 
 
 
Centurion, 50t and 55t:
 
{{TemplateTest|Gear_Quirk_ImprovedTargeting_Centurion}}
 
 
 
Blackjack, 45t and 50t:
 
{{TemplateTest|Gear_Quirk_ImprovedTargeting_Blackjack}}
 
  
 
</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