Difference between revisions of "Template:TemplateTest"

From BTAWiki
Jump to navigation Jump to search
(Undo revision 24841 by Stencil (talk))
Tag: Undo
Line 1: Line 1:
<includeonly>{{#invoke:test|equipmentMechs}}</includeonly>
+
<includeonly>{{#invoke:test|findDuplicates}}</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.
  
Test example for the two different Corsair types:
 
 
<pre>
 
<pre>
 
{{TemplateTest|Weapon_MECHMORTAR_4_Clan}}
 
{{TemplateTest|Weapon_MECHMORTAR_4_Clan}}
 
</pre>
 
</pre>
 
Yields this result for the COR-MKD (75t variant):
 
  
 
{{TemplateTest|Weapon_MECHMORTAR_4_Clan}}
 
{{TemplateTest|Weapon_MECHMORTAR_4_Clan}}
 
 
Corsair, 55t (COR-3X), 75t (COR-4A/COR-4R/COR-TB/COR-MKD) and 95t (the rest):
 
{{TemplateTest|Gear_Quirk_Rugged_Corsair}}
 
 
 
Stalker, 75t (STK-4P) and 85t (the rest):
 
{{TemplateTest|Gear_Quirk_CombatComputer_Stalker}}
 
 
 
Centurion, 55t (CN10-B/D/J/W) and 50t (the rest):
 
{{TemplateTest|Gear_Quirk_ImprovedTargeting_Centurion}}
 
 
 
Blackjack, 50t (BJ-1M) and 45t (the rest):
 
{{TemplateTest|Gear_Quirk_ImprovedTargeting_Blackjack}}
 
 
Blackjack Omni:
 
{{TemplateTest|Gear_Gyro_Omnimech}}
 
  
 
</noinclude>
 
</noinclude>

Revision as of 16:56, 11 February 2022


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

{{TemplateTest|Weapon_MECHMORTAR_4_Clan}}

{{#cargo_query:tables=Chassis|fields=Chassis.Id, Chassis._ID, Chassis._pageID, Chassis._pageName|where=Chassis.Id = "chassisdef_ragnarok_RGNK-2" OR Chassis.Id = "chassisdef_hammerhands_HMH-ML" OR Chassis.Id = "chassisdef_stagii_STG-25G" OR Chassis.Id = "chassisdef_ba_dragoon" OR Chassis.Id = "chassisdef_lancelot_LNC25-C2" OR Chassis.Id = "chassisdef_lancelot_LNC25-C" OR Chassis.Id = "chassisdef_centurion_CN9-H" OR Chassis.Id = "chassisdef_zeus_ZEU-SK" OR Chassis.Id = "chassisdef_commando_COM-2D-BI" OR Chassis.Id = "chassisdef_stagii_STG-24G" OR Chassis.Id = "chassisdef_madcatmkii_MCII-85" OR Chassis.Id = "chassisdef_stagii_STG-30G" OR Chassis.Id = "chassisdef_stag_STG-15G" OR Chassis.Id = "chassisdef_minsk_MNK-102" OR Chassis.Id = "chassisdef_battlemaster_BLR-1G-RC" OR Chassis.Id = "chassisdef_stag_STG-14G" OR Chassis.Id = "chassisdef_howler_HOW-3" OR Chassis.Id = "chassisdef_bane_BNE-DD"}}