Difference between revisions of "Extensions:Species Trait Index"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
Tag: 2017 source edit
Line 1: Line 1:
 
{{Extensioninfobox|title=Species Trait Index|desc=Provides a visual index of traits associated with a given species.|auth=Mercury|status=Stable|github={{Github|user=itinerare|branch=species-trait-index}}|migration=no|package=no}}
 
{{Extensioninfobox|title=Species Trait Index|desc=Provides a visual index of traits associated with a given species.|auth=Mercury|status=Stable|github={{Github|user=itinerare|branch=species-trait-index}}|migration=no|package=no}}
 
<!-- Put a short summary of your extension here! -->
 
<!-- Put a short summary of your extension here! -->
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. In the event a trait is associated with a subtype, the associated subtype is also listed.
+
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. 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.
 
This also adds a link to species' trait index to world entries if the species has traits associated with it.

Revision as of 16:34, 30 August 2020

Species Trait Index
Description Provides a visual index of traits associated with a given species.
Author(s) Mercury
Status Stable
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. 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