Module:ManualDescriptions/doc
This is the documentation page for Module:ManualDescriptions
Manual Description Module
This module exists to allow bulk edits to item descriptions, without the need to edit each page indiviadually. Editing the line item that corresponds to the item description you want to modify will result in that wiki page being modified.
You will notice the default item description will say No description available for ITEMNAME. Please edit Module:ManualDescriptions to add one.
. This text is automatically modified when this Module is modified.
How to edit the Module
Navigate back to the main page for this module; Module:ManualDescriptions
Once here, edit this page in source mode
Creating a new description
To create a new item description, create a new line in the module BEFORE the }
at the end of the description list. This brace indicates the end of the description section of this module. Anything written outside of the {
}
will not be read appropriately.
- Each new description entry must start on a new line AND start with the name of the item page, written exactly as the item page on the wiki.
- To add a description for the Pearl harpoon page, you would write
["Pearl harpoon"]
- This is case sensitive and MUST be enclosed within quotations and a singular bracket.
- To add a description for the Pearl harpoon page, you would write
- Next, type a
=
after the bracketed item name to indicate the start of the description text.- At this point, the line should look like this:
["Pearl harpoon"] =
- At this point, the line should look like this:
- Finally, write out your description, making sure it is wrapped in quotation marks, and add a coma to the end of the line after the quotation marks, indicating the line item is complete.
- The finalized result should look like this:
["Pearl harpoon"] = "The description goes here.",
- The finalized result should look like this:
You can repeat this process for any item descriptions you want to create, even if the item page does not yet exist.
Editing an existing description
- If you are editing an existing description, find the item name located in the singular brackets at the beginning of the line.
- If you wanted to edit the Dragonite ore description, look for the line item
["Demonite ore"]
. - From here, you can change any of the text located between the quotation marks.
["Dragonite ore"] = "Edit any of the text within these quotes",
- Note: You can use any formatting within these quotations. This includes linking to pages utilizing the brackets, adding line breaks using
<br>
, or any other formatting you wish.
- If you wanted to edit the Dragonite ore description, look for the line item