Difference between revisions of "Extensions:VTI Trait Modals"

From Lorekeeper Wiki
Jump to navigation Jump to search
m (fixing infobox)
m (Minor cleanup)
Line 1: Line 1:
 
{{Extensioninfobox|title=Visual Trait Indexes Trait Modals|desc=Allows you to click on trait images in any of the visual trait indexes to pop up a new modal.|auth=[https://github.com/AW0005 Moif]|status=stable|migration=no|package=no|dev300=yes}}
 
{{Extensioninfobox|title=Visual Trait Indexes Trait Modals|desc=Allows you to click on trait images in any of the visual trait indexes to pop up a new modal.|auth=[https://github.com/AW0005 Moif]|status=stable|migration=no|package=no|dev300=yes}}
Allows you to click on trait images in any of the visual trait indexes to pop up a new modal. This is a core extension that has been available for quite a while on LK v3, working silently in the background. As per June 5th 2024, the develop branch (assumably the future LK v3.1.0), it has gotten a rightful place in the credits.
+
Allows you to click on trait images in any of the visual trait indexes to pop up a new modal. This is a core extension that has been available for quite a while on LK v3, working silently in the background.
 +
 
 +
As per June 5th 2024, the develop branch (assumably the future LK v3.1.0), it has gotten a rightful place in the credits.
  
 
Thank you, Moif.
 
Thank you, Moif.
Line 18: Line 20:
 
<code>'trait_modals' => 0</code> Set this to 1 to enable the Trait Modals. It will function on on the [[Extensions:Species Trait Index|Species Trait Index]], [[Extensions:Subtype Trait Index|Subtype Trait Index]] and the [[Extensions:Universal Trait Index|Universal Trait Index]], by simply clicking any of the trait images.
 
<code>'trait_modals' => 0</code> Set this to 1 to enable the Trait Modals. It will function on on the [[Extensions:Species Trait Index|Species Trait Index]], [[Extensions:Subtype Trait Index|Subtype Trait Index]] and the [[Extensions:Universal Trait Index|Universal Trait Index]], by simply clicking any of the trait images.
 
== See Also ==
 
== See Also ==
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
 
 
* [[Extensions:Species Trait Index]]
 
* [[Extensions:Species Trait Index]]
 
* [[Extensions:Subtype Trait Index]]
 
* [[Extensions:Subtype Trait Index]]
 
* [[Extensions:Universal Trait Index]]
 
* [[Extensions:Universal Trait Index]]
 
* [[Updating:_to_3.0.0]]
 
* [[Updating:_to_3.0.0]]

Revision as of 17:06, 5 June 2024

Visual Trait Indexes Trait Modals
Description Allows you to click on trait images in any of the visual trait indexes to pop up a new modal.
Author(s) Moif
Status stable
Github Not Applicable
LK Version Unspecified
Is part of LK v3.0.0's release






Allows you to click on trait images in any of the visual trait indexes to pop up a new modal. This is a core extension that has been available for quite a while on LK v3, working silently in the background.

As per June 5th 2024, the develop branch (assumably the future LK v3.1.0), it has gotten a rightful place in the credits.

Thank you, Moif.

Installation

Simply update Lorekeeper. It will work once you have Lorekeeper Version 3.

Configuration

In the config/lorekeeper/extensions.php file, find:

    /*  Visual Trait Indexes
     *
     *  Species Trait Index - Mercury
     *  Subtype Trait Index - Speedy
     *  Universal Trait Index - CHERVB
     *  Trait Modals addition - Moif
     */

Under 'visual_trait_index' => look for the the following options:

'trait_modals' => 0 Set this to 1 to enable the Trait Modals. It will function on on the Species Trait Index, Subtype Trait Index and the Universal Trait Index, by simply clicking any of the trait images.

See Also