Template:Weapon page/SeoDescription: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
HERE BE DRAGONS! | HERE BE DRAGONS! | ||
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. | ||
--> | --> | ||
{{PAGENAME}} is {{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}} | |||
| | | | ||
{{#if: {{{rarity|}}} | {{#if: {{{rarity|}}} | ||
| {{RarityWithArticle | {{{rarity}}} }}{{#if: {{{enchantment|}}} |,}} | | {{RarityWithArticle | {{{rarity}}} }}{{#if: {{{enchantment|}}} |,}} | ||
| a | | a | ||
}} {{#switch: {{{enchantment|}}} | |||
| +1 = lightly enchanted (+1) | | +1 = lightly enchanted (+1) | ||
| +2 = moderately enchanted (+2) | | +2 = moderately enchanted (+2) | ||
Line 18: | Line 21: | ||
}} | }} | ||
| | | | ||
a 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 | ||
Line 33: | Line 36: | ||
<pre> | <pre> | ||
{{ | {{WeaponPage/SeoDescription | ||
| category = martial | | category = martial | ||
| melee or ranged = melee | | melee or ranged = melee | ||
Line 47: | Line 50: | ||
---- | ---- | ||
{{ | {{WeaponPage/SeoDescription | ||
| category = martial | | category = martial | ||
| melee or ranged = melee | | melee or ranged = melee | ||
Line 57: | Line 60: | ||
}} | }} | ||
[[Category:Weapon | [[Category:Weapon page templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:43, 26 April 2024
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:
{{WeaponPage/SeoDescription | category = martial | melee or ranged = melee | handedness = versatile | type = Longswords | rarity = | enchantment = | special = }}
Result:
Weapon page/SeoDescription is a mundane, nonmagical variant of the Longswords family of weapons. It is a martial melee weapon that can be wielded in one hand, or with both hands for extra damage.