Extensions:Species Trait Index

From Lorekeeper Wiki
Revision as of 17:35, 30 August 2020 by Mercury (talk | contribs)
Jump to navigation Jump to search
Species Trait Index
Description Provides a visual index of traits associated with a given species.
Author(s) Mercury
Status Testing
Github species-trait-index
LK Version Unspecified




Provides for a visual index of traits associated with a given species. The traits are arranged in the style of user inventories-- that is, in their categories if present-- though they are also arranged by rarity (ascending). Images are displayed if present, with a border colour-coded as with the rarity of the trait (if the rarity has an associated colour.) The trait's name is displayed either in addition to the image or alone in the case of no trait image. Traits without images are listed last within their rarity in an effort to preserve alignment. In the event a trait is associated with a subtype, the associated subtype is also listed.

This also adds a link to species' trait index to world entries if the species has traits associated with it.

Installation

Pull the branch. No further action necessary.

Configuration

None necessary. It is worth noting that trait images are capped to 150px height so that the whole page is not overlong in the event that you have many traits associated with a species; you can adjust this in the species_features blade as desired.

Usage

Troubleshooting

Find me in the Lorekeeper discord!

See Also