Template:Equipment page/Description: Difference between revisions
Jump to navigation
Jump to search
(new template for wikiseo) |
m (properly account for the plural nature of gloves and boots ("is"/"are")) |
||
Line 8: | Line 8: | ||
--> | --> | ||
{{PAGENAME}} is {{#if: {{{rarity|}}} | {{PAGENAME}} {{#switch: {{{type}}} | ||
| Gloves | |||
| gloves | |||
| Glove | |||
| glove | |||
| Boots | |||
| boots | |||
| Boot | |||
| boot = are | |||
| Clothing | |||
| clothing | |||
| Light Armour | |||
| light armour | |||
| Light Armor | |||
| light armor | |||
| Medium Armour | |||
| medium armour | |||
| Medium Armor | |||
| medium armor | |||
| Heavy Armour | |||
| heavy armour | |||
| Heavy Armor | |||
| heavy armor | |||
| Shields | |||
| shields | |||
| Shield | |||
| shield | |||
| Amulets | |||
| amulets | |||
| Amulet | |||
| amulet | |||
| Belts | |||
| belts | |||
| Belt | |||
| belt | |||
| Cloaks | |||
| cloaks | |||
| Cloak | |||
| cloak | |||
| Helmets | |||
| helmets | |||
| Helmet | |||
| helmet | |||
| Helm | |||
| helm | |||
| Rings | |||
| rings | |||
| Ring | |||
| ring = is}} {{#if: {{{rarity|}}} | |||
| | | | ||
{{#if: {{{rarity|}}} | {{#if: {{{rarity|}}} | ||
Line 78: | Line 126: | ||
{{EquipmentPage/Description | {{EquipmentPage/Description | ||
| type = Gloves | | type = Gloves | ||
| rarity = | | rarity = uncommon | ||
}} | }} | ||
</pre> | </pre> | ||
Line 87: | Line 135: | ||
{{EquipmentPage/Description | {{EquipmentPage/Description | ||
| type = Gloves | | type = Gloves | ||
| rarity = | | rarity = uncommon | ||
}} | }} | ||
[[Category:Equipment Page Templates]] | [[Category:Equipment Page Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 23:53, 28 February 2023
This template will auto-generate a simple, generic description for use in Template:EquipmentPage but without wiki markup so it can be used for the description meta tag set by WikiSeo.
Usage:
{{EquipmentPage/Description | type = Gloves | rarity = uncommon }}
Result:
Equipment page/Description are an uncommon pair of Gloves in Baldur's Gate 3.