Difference between revisions of "Extensions:Subtype Trait Index"

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 (fixing infobox)
 
(One intermediate revision 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=Subtype Trait Index|desc=Provides a visual index of traits associated with a given subtype.|auth=[[User:Speedy|Speedy]]|status=stable|migration=no|package=no|dev300=yes}}
<!-- Put a short summary of your extension here! -->
+
Provides for a visual index of traits associated with a given subtype, similar to the [[Extensions:Species Trait Index|Species Trait Index]] extension.
 
== Installation ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
Simply update Lorekeeper. It is part of the develop branch as per June 5th 2024, and will eventually be part of proper updates.
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
In the <code>config/lorekeeper/extensions.php</code> file, find:
 +
<syntaxhighlight lang="html">    /*  Visual Trait Indexes
 +
    *
 +
    *  Species Trait Index - Mercury
 +
    *  Subtype Trait Index - Speedy
 +
    *  Universal Trait Index - CHERVB
 +
    *  Trait Modals addition - Moif
 +
    */</syntaxhighlight>
 +
Under <code>'visual_trait_index' =></code> look for the the following options:
 +
 
 +
<code>'enable_subtype_index' => 0</code> Set this to 1 to enable the Subtype Trait Index. It will appear on the Encyclopedia, on the subtypes page, under the name of each subtype, provided there is a trait exclusive to that subtype.
 
== Usage ==
 
== Usage ==
 
<!-- Is there anything users should know about using your extension? -->
 
<!-- Is there anything users should know about using your extension? -->
== Troubleshooting ==
+
There is a switch on the top right of the page labelled "Add Species traits". If the switch is flipped to On and the Refresh button is pushed, the page will refresh showing other traits from the species that lack a subtype. In essence, the Subtype Trait Index will then show any trait a specific subtype should technically be able to have.
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
 
== Images ==
 
<!-- Do you have any images to show what it looks like in action? -->
 
 
== See Also ==
 
== See Also ==
 
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
 
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
 
+
* [[Extensions:Species Trait Index]]
 +
* [[Extensions:Universal Trait Index]]
 +
* [[Updating:_to_3.0.0]]

Latest revision as of 17:04, 5 June 2024

Subtype Trait Index
Description Provides a visual index of traits associated with a given subtype.
Author(s) Speedy
Status stable
Github Not Applicable
LK Version Unspecified
Is part of LK v3.0.0's release






Provides for a visual index of traits associated with a given subtype, similar to the Species Trait Index extension.

Installation

Simply update Lorekeeper. It is part of the develop branch as per June 5th 2024, and will eventually be part of proper updates.

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:

'enable_subtype_index' => 0 Set this to 1 to enable the Subtype Trait Index. It will appear on the Encyclopedia, on the subtypes page, under the name of each subtype, provided there is a trait exclusive to that subtype.

Usage

There is a switch on the top right of the page labelled "Add Species traits". If the switch is flipped to On and the Refresh button is pushed, the page will refresh showing other traits from the species that lack a subtype. In essence, the Subtype Trait Index will then show any trait a specific subtype should technically be able to have.

See Also