Template:Weapon page/SeoDescription: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
The following monstrosity will auto-generate a nice, sensible introduction paragraph for ''any'' combination of parameters. So, technically, you never have to provide descriptions for weapons, but for those with unique specialties you might want to do so anyway. | The following monstrosity will auto-generate a nice, sensible introduction paragraph for ''any'' combination of parameters. So, technically, you never have to provide descriptions for weapons, but for those with unique specialties you might want to do so anyway. | ||
--> | --> | ||
{{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}} || The common }} | {{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}} || The common }} {{PAGENAME}} is {{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}} | ||
{{PAGENAME}} is | |||
{{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}} | |||
| | | | ||
{{#if: {{{rarity|}}} | {{#if: {{{rarity|}}} | ||
Line 21: | Line 19: | ||
| | | | ||
the mundane, nonmagical | the mundane, nonmagical | ||
}} | }} variant of the {{{type}}} family of weapons. It is a {{{category}}} {{{melee or ranged}}} weapon {{#switch: {{{handedness}}} | ||
variant of the {{{type}}} family of weapons. | |||
It is a {{{category}}} {{{melee or ranged}}} weapon | |||
{{#switch: {{{handedness}}} | |||
| one-handed = wielded in one hand | | one-handed = wielded in one hand | ||
| versatile = that can be wielded in one hand, or with both hands for extra damage | | versatile = that can be wielded in one hand, or with both hands for extra damage |
Revision as of 20:41, 6 February 2023
This is like the first part of Template:WeaponPage but without wiki markup so it can be used for the description meta tag set by WikiSeo.
Usage:
{{WeaponPageDescription | category = martial | melee or ranged = melee | handedness = versatile | type = Longswords | rarity = | enchantment = | special = }}
Result: