Difference between revisions of "Extensions:Organised Traits Dropdown"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Merging the old page with the new one, as this is the one linked to on the credits page.)
m
 
Line 1: Line 1:
{{Extensioninfobox|title=Organised Traits Dropdown|desc=Changes trait dropdowns to use their categories as an optgroup.|auth=Draginraptor|status=Stable|github={{Github|user=draginraptor|branch=extension/organised_trait_dropdown}}|LKVer=3.0|migration=no|package=no|dev300=yes}}
+
{{Extensioninfobox|title=Organised Traits Dropdown|desc=Changes trait dropdowns to use their categories as an optgroup.|auth=Draginraptor|status=Stable|github={{Github|user=draginraptor|branch=extension/organised_trait_dropdown}}|LKVer=2.0.0|migration=no|package=no|dev300=yes}}
 
{| style="margin: 4px auto; width: 80%; border: 1px solid #9ADC38; background: #A1F524;"
 
{| style="margin: 4px auto; width: 80%; border: 1px solid #9ADC38; background: #A1F524;"
 
|-
 
|-
Line 6: Line 6:
 
| This extension has been merged into the v3.0.0 branch as [https://github.com/corowne/lorekeeper/pull/293 Organised Traits Dropdown].
 
| This extension has been merged into the v3.0.0 branch as [https://github.com/corowne/lorekeeper/pull/293 Organised Traits Dropdown].
 
|-
 
|-
| The Github link is for older versions,
+
| The Github link is for older versions, for those running on LK v2. Please note the differences below.
 
|}
 
|}
 
Trait dropdowns will now show options grouped by their trait category, or under 'Miscellaneous' if not assigned one. On selecting an option, the trait category will also display in brackets next to the trait name.
 
Trait dropdowns will now show options grouped by their trait category, or under 'Miscellaneous' if not assigned one. On selecting an option, the trait category will also display in brackets next to the trait name.

Latest revision as of 14:09, 15 April 2024

Organised Traits Dropdown
Description Changes trait dropdowns to use their categories as an optgroup.
Author(s) Draginraptor
Status Stable
Github extension/organised_trait_dropdown
LK Version 2.0.0
Is part of LK v3.0.0's release






THIS EXTENSION IS PART OF v3.0.0
This extension has been merged into the v3.0.0 branch as Organised Traits Dropdown.
The Github link is for older versions, for those running on LK v2. Please note the differences below.

Trait dropdowns will now show options grouped by their trait category, or under 'Miscellaneous' if not assigned one. On selecting an option, the trait category will also display in brackets next to the trait name.

Dropdown options are fetched via a static Feature class method (Feature::getDropdownItems); this is where the extension's toggle state is checked as well, changing the output returned.

Installation

To install, you only need to pull the branch into your project. If your Lorekeeper is v3.0.0 or higher, you do not need to do this.

Configuration

If your Lorekeeper is v3.0.0 or higher, you must enable this in config/lorekeeper/extensions.php in order to be used. Older versions do not require any configuration.

Images

Troubleshooting

There are currently no known issues, but you can always find Draginraptor on the Lorekeeper Discord server if you need help.

See Also