Difference between revisions of "Extensions:Organised Traits Dropdown"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Created page)
Tag: 2017 source edit
 
m
 
(3 intermediate revisions by 2 users 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=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}}
<!-- Put a short summary of your extension here! -->
+
{| style="margin: 4px auto; width: 80%; border: 1px solid #9ADC38; background: #A1F524;"
 +
|-
 +
| '''<u>THIS EXTENSION IS PART OF v3.0.0</u>'''
 +
|-
 +
| 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, 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 ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
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 ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
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.
== Usage ==
 
<!-- Is there anything users should know about using your extension? -->
 
== Troubleshooting ==
 
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
 
 
== Images ==
 
== Images ==
 
<!-- Do you have any images to show what it looks like in action? -->
 
<!-- Do you have any images to show what it looks like in action? -->
 +
== Troubleshooting ==
 +
There are currently no known issues, but you can always find Draginraptor on the Lorekeeper Discord server if you need help.
 
== See Also ==
 
== See Also ==
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
+
* [[Updating:_to_3.0.0]]
 
 

Latest revision as of 15: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