Template:Weapon page/SeoDescription: Difference between revisions

From bg3.wiki
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|}}}...")
 
No edit summary
Line 33: Line 33:


-->
-->
This was factored out from Template:WeaponPage so it can be used both for the first few sentences of the auto-generated description, and double as the contents of the description meta tag set via WikiSeo.
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>
{{WeaponPageIntro
{{WeaponPageDescription
| category = martial
| category = martial
| melee or ranged = melee
| melee or ranged = melee
Line 52: Line 52:


----
----
{{WeaponPageIntro
{{WeaponPageDescription
| category = martial
| category = martial
| melee or ranged = melee
| melee or ranged = melee

Revision as of 20:37, 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:


Template:WeaponPageDescription