Difference between revisions of "Extensions:Separate Prompts"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
m (Added updating to v2 link)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Extensioninfobox|desc=Puts prompts in a separate section of the site.|auth=Mercury|status=Theoretically Stable|github={{Github|user=itinerare|branch=sep-prompts}}|migration=no|package=no|title=Separate Prompts}}
+
{{Extensioninfobox|desc=Puts prompts in a separate section of the site.|auth=Mercury|status=Stable|github={{Github|user=itinerare|repo=lorekeeper-ext-archive|branch=sep-prompts}}|migration=no|package=no|title=Separate Prompts|modified-main=yes}}
 
<!-- Put a short summary of your extension here! -->
 
<!-- Put a short summary of your extension here! -->
 +
'''This extension is now incorporated into {{Github|user=corowne|branch=modified-main}}.''' The information here is maintained as documentation, and further support is via that branch.
 +
 
This moves prompts out of the "world" section of the site and into their own section. The reasons for doing this were twofold:
 
This moves prompts out of the "world" section of the site and into their own section. The reasons for doing this were twofold:
  
Line 10: Line 12:
  
 
In short, it's mostly useful if you're doing a whole lot with the prompts system and would benefit from more organization around it.
 
In short, it's mostly useful if you're doing a whole lot with the prompts system and would benefit from more organization around it.
 
==Installation==<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
 
Nothing needed beyond pulling the branch.
 
  
 
==Configuration==<!-- Is any configuration necessary? Describe it here! -->
 
==Configuration==<!-- Is any configuration necessary? Describe it here! -->
None needed.
+
Change the existing link to prompts in the navigation bar to point to /prompts rather than /world. This is not done by the extension itself as individual site's navbars may be wildly disparate.
  
 
==Usage==<!-- Is there anything users should know about using your extension? -->
 
==Usage==<!-- Is there anything users should know about using your extension? -->
Line 24: Line 23:
  
 
==See Also==<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
 
==See Also==<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
[[Category:Extensions]]
+
* [[Updating:_to_2.0.0]]

Latest revision as of 09:10, 25 March 2024

Separate Prompts
Description Puts prompts in a separate section of the site.
Author(s) Mercury
Status Stable
Github itinerare/lorekeeper-ext-archive/sep-prompts
LK Version Unspecified
Is part of LK v2 (modified-main)






This extension is now incorporated into modified-main . The information here is maintained as documentation, and further support is via that branch.

This moves prompts out of the "world" section of the site and into their own section. The reasons for doing this were twofold:

  • Their original location, while serviceable, is somewhat awkward, especially if you're doing a lot with the prompts system
  • With prompts moved into their own section of the site, this allows space to build out a sidebar that better details the range of activities they cover.
  • For instance, sidebar links may each point to a list of prompts contained in a certain category-- for example, one for utilities, one for events, ones for different kinds of activities-- the list goes on.

You could also certainly do something interesting with the index page as well... It's left largely a blank slate modeled after the world section's index page.

In short, it's mostly useful if you're doing a whole lot with the prompts system and would benefit from more organization around it.

Configuration

Change the existing link to prompts in the navigation bar to point to /prompts rather than /world. This is not done by the extension itself as individual site's navbars may be wildly disparate.

Usage

This creates a new folder, prompts, in resources/views; at minimum, it's recommended to customize the sidebar.

Troubleshooting

While it ought to be mostly stable, I'll not rule out that issues could arise. If they do, I'm available via the Lorekeeper discord!

See Also