Template:Weapon page/SeoDescription: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><!-- 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. --> {{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}} || The common }} {{PAGENAME}} is {{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}} | {{#if: {{{rarity|}}}...") |
mNo edit summary |
||
(17 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|}}} | |||
{{PAGENAME}} is | |||
{{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}} | |||
| | | | ||
{{#if: {{{rarity|}}} | {{#if: {{{rarity|}}} | ||
Line 20: | 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 | ||
| 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 | ||
Line 33: | Line 31: | ||
--> | --> | ||
This | 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: | Usage: | ||
<pre> | <pre> | ||
{{ | {{WeaponPage/SeoDescription | ||
| category = martial | | category = martial | ||
| melee or ranged = melee | | melee or ranged = melee | ||
Line 52: | Line 50: | ||
---- | ---- | ||
{{ | {{WeaponPage/SeoDescription | ||
| category = martial | | category = martial | ||
| melee or ranged = melee | | melee or ranged = melee | ||
Line 62: | 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.