Difference between revisions of "Extensions:VTI Trait Modals"

From Lorekeeper Wiki
Jump to navigation Jump to search
(I really wish there was an easier way to create new pages.)
Tag: 2017 source edit
 
m (spelling mistake)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Extensioninfobox|title=the extension's name|desc=A short description|auth=Author(s)|status=status (such as WIP, testing, stable)|github={{Github|user=username|branch=branch}}|LKVer=What Lorekeeper version the ext is built on|migration=yes/no|package=yes/no}}
+
{{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}}
<!-- Put a short summary of your extension here! -->
+
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 ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
Simply update Lorekeeper. It will work once you have Lorekeeper Version 3.
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
In the <code>config/lorekeeper/extensions.php</code> file, find:
== Usage ==
+
<syntaxhighlight lang="html">    /*  Visual Trait Indexes
<!-- Is there anything users should know about using your extension? -->
+
    *
== Troubleshooting ==
+
    *  Species Trait Index - Mercury
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
+
    *  Subtype Trait Index - Speedy
== Images ==
+
    *  Universal Trait Index - CHERVB
<!-- Do you have any images to show what it looks like in action? -->
+
    *  Trait Modals addition - Moif
 +
    */</syntaxhighlight>
 +
Under <code>'visual_trait_index' =></code> look for the the following option:
 +
 
 +
<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:Subtype Trait Index]]
 +
* [[Extensions:Universal Trait Index]]
 +
* [[Updating:_to_3.0.0]]

Latest revision as of 16:00, 13 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 option:

'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