Difference between revisions of "Extensions:Pagination Page Select"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Nearly finished. Just need to.. actually release the dang extension. And get it approved, of course.)
(This should be final??)
Line 1: Line 1:
{{Extensioninfobox|title=Pagination Page Selector|desc=Allows for picking specific pages when there are too many.|auth=[[User:Speedy|Speedy]] and [https://github.com/AW0005 Moif]|status=stable|github={{Github|user=SpeedyD}}|LKVer=2.1.2|migration=no|package=no|dev300=yes}}
+
{{Extensioninfobox|title=Pagination Page Selector|desc=Allows for picking specific pages when there are too many.|auth=[[User:Speedy|Speedy]] and [https://github.com/AW0005 Moif]|status=stable|github={{Github|user=SpeedyD|branch=extension/Pagination-Page-Selector}}|LKVer=2.1.2|migration=no|package=no|dev300=yes}}
  
 
{| style="margin: 4px auto; width: 80%; border: 1px solid #dc3545; background: #f52237;"
 
{| style="margin: 4px auto; width: 80%; border: 1px solid #dc3545; background: #f52237;"
Line 5: Line 5:
 
| '''<u>DO NOT USE IF YOU ARE ON VERSION v3.0.0 OR THE LATEST DEV BRANCH</u>'''
 
| '''<u>DO NOT USE IF YOU ARE ON VERSION v3.0.0 OR THE LATEST DEV BRANCH</u>'''
 
|-
 
|-
| This extension has been merged into the develop branch (aka the future v3.0.0 branch) as ----.
+
| This extension has been merged into the develop branch (aka the future v3.0.0 branch) as [https://github.com/corowne/lorekeeper/commit/5b411fe8303f7ab8d3d5aff43127094d7376789c Pagination Page Selector].
 
|-
 
|-
 
| Do not download if you are already on the develop branch, or if you're reading this from the future where Lorekeeper is already on v3.0.0.
 
| Do not download if you are already on the develop branch, or if you're reading this from the future where Lorekeeper is already on v3.0.0.
 
|}
 
|}
'''Page under construction, sorry!'''
 
  
 
Allows for picking specific pages from the pagination, when there are so many not every page can show up!
 
Allows for picking specific pages from the pagination, when there are so many not every page can show up!
Line 16: Line 15:
  
 
== Installation ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
Pull the extension branch and push to your site. That's it!  
 +
 
 +
This extension does not have a tracker, and will instead have a mention in your credits, under "Core Extensions".
 +
 
 +
Please note that this '''will''' cause a merge conflict once v3.0.0 releases, but that will be very easily fixed.
  
 
== Configuration ==
 
== Configuration ==

Revision as of 12:50, 4 June 2023

Pagination Page Selector
Description Allows for picking specific pages when there are too many.
Author(s) Speedy and Moif
Status stable
Github extension/Pagination-Page-Selector
LK Version 2.1.2
Is part of LK v3.0.0's release






DO NOT USE IF YOU ARE ON VERSION v3.0.0 OR THE LATEST DEV BRANCH
This extension has been merged into the develop branch (aka the future v3.0.0 branch) as Pagination Page Selector.
Do not download if you are already on the develop branch, or if you're reading this from the future where Lorekeeper is already on v3.0.0.

Allows for picking specific pages from the pagination, when there are so many not every page can show up!

Credits to Moif who cleaned up my abysmal JS code! I'm too rusty, apparently. XD

Installation

Pull the extension branch and push to your site. That's it!

This extension does not have a tracker, and will instead have a mention in your credits, under "Core Extensions".

Please note that this will cause a merge conflict once v3.0.0 releases, but that will be very easily fixed.

Configuration

There is no configuration required for this extension.

Usage

Just click the '...' option to have the page select show up! Though that option will only show up if there is a large amount of pages- because otherwise each page can be selected anyway.

You can either scroll through a range or input a number! Just click Go to head for the page you want!

Troubleshooting

I'm Speedy#4060 on Discord, but please do not contact me directly.

Instead, please tag me in the Lorekeeper server if you need my help.

I am not a regular there, so asking something without a tag might not get a response.

Images

Version History

  • *1: Initial creation- only a setup for others to modify their own pagination style.
  • *2: Hours of work to get it to work, on each individual pagination block!
  • *3: Cleanup- forgot a test line.
  • *4: Moif simplified the pagination code!
  • *5: Moif cleaned up the pagination code!

(This extension has never had a tracker update, and never will.)

See Also