Module:ManualDescriptions/doc

From August Wiki
Revision as of 16:23, 19 August 2025 by Bark (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 individually. 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

You are currently reading the /doc page of this module. It automatically inserts to the top of the module for easy reading. To edit the module, click Edit source and follow the instructions below.

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.
  • 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"] =
  • 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.",

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 ["Dragonite 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.