Template:Weapon page/SeoDescription: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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. | ||
Warning: WikiSEO doesn't fully parse the text given to it via the "description" property, i.e. the result of this template. For example, you can't use the nowiki tag for whitespace tricks, and neither can you use HTML entities like   to introduce a space character. | |||
--> | --> | ||
{{PAGENAME}} is {{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}} | {{PAGENAME}} is {{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}} |
Revision as of 13:34, 27 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:
{{WeaponPage/Description | category = martial | melee or ranged = melee | handedness = versatile | type = Longswords | rarity = | enchantment = | special = }}
Result: