Template:Special Unit infobox
Line 3: | Line 3: | ||
</div> | </div> | ||
− | <noinclude><nowiki>img | + | <noinclude>== Usage == |
+ | [[Tanks|Tank]] example: | ||
+ | <pre> | ||
+ | <nowiki> | ||
+ | {{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 | ||
+ | }} | ||
+ | </nowiki> | ||
+ | </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>[[Category:Infobox Templates]]</noinclude> | <noinclude>[[Category:Infobox Templates]]</noinclude> |
Revision as of 11:22, 17 November 2023
Usage
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 }}
img
from https://github.com/FizzerWL/ExampleMods/blob/master/TanksMod/SpecialUnitImages/Tank.png<nowiki> > Right click > Open image in new tab > (copy the URL></noinclude>
<noinclude>[[Category:Infobox Templates]]</noinclude>