Difference between revisions of "Tutorial: Registering Extensions"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
Tag: 2017 source edit
Line 3: Line 3:
 
==Before you begin==
 
==Before you begin==
  
# Fork {{Github|user=corowne}}.
+
Fork {{Github|user=corowne}}. Push your modifications as a branch, making sure that they are isolated from any others; that is, only changes which pertain to the extension itself should be included in the branch.
#Push your modifications as a branch
+
 
##These should be isolated from any others; that is, only changes which pertain to the extension itself should be included in the branch.
+
Additionally, you should [[Special:CreateAccount|register]] for an account on this wiki!
#Additionally, you should [[Special:CreateAccount|register]] for an account on this wiki!
+
 
#Browse the [[:Category:Extensions|Extensions category]] and choose a unique name for your extension.
+
Then, browse the [[:Category:Extensions|Extensions category]] and choose a unique name for your extension.
  
 
==Creating an Extension Page==
 
==Creating an Extension Page==

Revision as of 11:11, 11 June 2020

This is a tutorial on how to add your add-ons and extensions to Lorekeeper to this wiki.

Before you begin

Fork corowne/lorekeeper . Push your modifications as a branch, making sure that they are isolated from any others; that is, only changes which pertain to the extension itself should be included in the branch.

Additionally, you should register for an account on this wiki!

Then, browse the Extensions category and choose a unique name for your extension.

Creating an Extension Page

Begin by entering the name of your extension, prefixed by Extensions:, into the search bar. For example, Extensions:Separate Prompts.

This should bring you to a search results page stating that there is no page with that title present on the wiki. The title will be present as a red link; click this to be brought to page creation.

The page will then preload with the following:

{{subst:Extension Page}}

When the page is saved, this will apply the Extension page template to it. To do so, enter and delete a space or something to that effect, then click "Save changes..." at the top right. The page will then be created with the full page template.

Filling out the page

Click "Edit source" in the top right of the page. This will bring you to the editing dialogue.

First, fill out the infobox. Information about the template can be found at Template:Extensioninfobox. Brief explanations of each parameter are also included in the page template.

Most of the body of the page should be self-explanatory; comments are also provided as prompts for each section.

It may be useful to you in filling out the page to make use of Template:Github, particularly if your extension makes use of an additional package. The template's page outlines the particulars of its use as well as parameters.