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|factionMechs}}</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.
  
 +
Test example for the two different Corsair types:
 +
<pre>
 +
{{TemplateTest|Weapon_MECHMORTAR_4_Clan}}
 +
</pre>
  
 +
Yields this result for the COR-MKD (75t variant):
  
{{FactionMechs|ClanGhostBear }}
+
{{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:54, 11 February 2022


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

Test example for the two different Corsair types:

{{TemplateTest|Weapon_MECHMORTAR_4_Clan}}

Yields this result for the COR-MKD (75t variant):


Corsair, 55t (COR-3X), 75t (COR-4A/COR-4R/COR-TB/COR-MKD) and 95t (the rest):


Stalker, 75t (STK-4P) and 85t (the rest):


Centurion, 55t (CN10-B/D/J/W) and 50t (the rest):


Blackjack, 50t (BJ-1M) and 45t (the rest):


Blackjack Omni: