Template:WeaponType: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Added alias support)
Line 1: Line 1:
<includeonly>{{WeaponIcon|{{{1}}}|{{{2|25}}}}} [[{{{1}}}]]</includeonly><noinclude>
<includeonly>{{WeaponIcon|{{{1}}}|{{{2|25}}}}} [[{{{alias|{{{1}}}}}}]]</includeonly><noinclude>
Usage: {{code|<nowiki>{{WeaponType|Morningstars}}</nowiki>}}
Usage: {{code|<nowiki>{{WeaponType|Morningstars}}</nowiki>}}


Line 5: Line 5:


or Result: {{WeaponType|Longswords|40}} {{code|<nowiki>{{WeaponType|Longswords|40}}</nowiki>}}
or Result: {{WeaponType|Longswords|40}} {{code|<nowiki>{{WeaponType|Longswords|40}}</nowiki>}}
With Alias: {{code|<nowiki>{{WeaponType|Morningstars|alias=Morningstar}}</nowiki>}}
Result: {{WeaponType|Morningstars|alias=Morningstar}}


[[Category:Weapon Property Templates]]
[[Category:Weapon Property Templates]]
</noinclude>
</noinclude>

Revision as of 18:58, 9 November 2023

Usage: {{WeaponType|Morningstars}}

Result: Morningstars Morningstars

or Result: Longswords Longswords {{WeaponType|Longswords|40}}

With Alias: {{WeaponType|Morningstars|alias=Morningstar}}

Result: Morningstars Morningstar