Template:Special Unit infobox: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
DanWL60 (talk | contribs)
mNo edit summary
DanWL60 (talk | contribs)
No edit summary
Line 3: Line 3:
</div>
</div>


<noinclude>== Usage ==
<noinclude>
== Usage ==
All fields have same name as that of [[Mod_API_Reference:CustomSpecialUnit]].
 
<code>img</code> from <nowiki>https://github.com/FizzerWL/ExampleMods/blob/master/TanksMod/SpecialUnitImages/Tank.png</nowiki> > Right click > Open image in new tab > (copy the URL)
 
[[Tanks|Tank]] example:
[[Tanks|Tank]] example:
<pre>
<pre>
Line 20: Line 25:
</pre>
</pre>


<code>img</code> from <nowiki>https://github.com/FizzerWL/ExampleMods/blob/master/TanksMod/SpecialUnitImages/Tank.png</nowiki> > Right click > Open image in new tab > (copy the URL></noinclude>
</noinclude>


<noinclude>[[Category:Infobox Templates]]</noinclude>
<noinclude>[[Category:Infobox Templates]]</noinclude>

Revision as of 11:26, 17 November 2023

A Template:Special Unit infobox
Attack power (in armies)Customizable
Defence power (in armies)Customizable
Can be transferred to teammatesCustomizable
Can be airlifted to selfCustomizable
Can be airlifted to teammatesCustomizable
Can be giftedCustomizable
Combat order
Damage to killN/A
Starting healthN/A
Visible to all playersNo


Usage

All fields have same name as that of Mod_API_Reference:CustomSpecialUnit.

img from https://github.com/FizzerWL/ExampleMods/blob/master/TanksMod/SpecialUnitImages/Tank.png > Right click > Open image in new tab > (copy the URL)

Tank example:


{{Special Unit infobox
|img=https://raw.githubusercontent.com/FizzerWL/ExampleMods/master/TanksMod/SpecialUnitImages/Tank.png
|name=Tank
|CanBeTransferredToTeammate=Yes
|CanBeAirliftedToSelf=Yes
|CanBeAirliftedToTeammate=Yes
|CanBeGiftedWithGiftCard=Yes
|CombatOrder=3415
|DamageToKill=Same as attack/defence power
}}