Template:Weapon type page: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{WeaponType|{{{type}}}}} are a type of {{{category}}}, {{{handedness}}}, {{{melee or ranged}}} Weapon. Following are some base attributes common to most {{{type}}}, although special or magical variants may be significantly different. Further down below, you can find a list of all {{{type}}} in the game. == Properties == {{#switch:{{{handedness|}}} | versatile = One-handed damage: |}}{{DamageInfo | count = {{{damage count}}} | die = {{{damage...") |
No edit summary |
||
Line 66: | Line 66: | ||
''TODO: List of {{{type}}} upcoming, stay tight!'' | ''TODO: List of {{{type}}} upcoming, stay tight!'' | ||
[[Category:Weapons]] [[Category:{{{category|simple}}} Weapons]]</includeonly><noinclude> | [[Category:Weapons]] [[Category:{{{category|simple}}} Weapons]] [[Category:{{{type}}}]]</includeonly><noinclude> | ||
This template generates entire weapon type pages such as [[Daggers]] or [[Longswords]]. | This template generates entire weapon type pages such as [[Daggers]] or [[Longswords]]. | ||
Line 89: | Line 89: | ||
</pre> | </pre> | ||
Note that the template even adds the page to the correct categories. And for the same reason, it shouldn't be invoked here for the purpose of showing how the results look; that would result in this template page being added to the categories to which the weapon type pages are added. | |||
[[Category:Page Generating Templates]] | [[Category:Page Generating Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 06:31, 3 February 2023
This template generates entire weapon type pages such as Daggers or Longswords.
Here's an example of usage:
{{WeaponTypePage | type = Daggers | category = simple | handedness = one-handed | melee or ranged = melee | damage count = 1 | damage die = 4 | damage modifier = finesse | damage type = Piercing | finesse = yes | light = yes | dippable = yes | actions = * {{Piercing Strike}} }}
Note that the template even adds the page to the correct categories. And for the same reason, it shouldn't be invoked here for the purpose of showing how the results look; that would result in this template page being added to the categories to which the weapon type pages are added.