Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Help:Editing basics

Help page
Revision as of 12:07, 28 November 2023 by Willowisp (talk | contribs) (→‎Templates)

Bgwiii.png IndexGuidesModdingDiscord

The markup language used on the wiki is called wikitext. Most articles on BG3Wiki can be edited either by directly manipulating wikitext via the source editor, or by using the visual Editor, which functions as a word processor.

Most of the information in this manual will be explained using wikitext, but it applies to both the source editor and the visual editor.

Page tabs

Edit

To edit an existing page, click either Edit (opens the visual editor) or Edit source (opens the source editor) above the page. Within either editor, you can switch between the Visual Editor and the Source Editor at any time via the upper-right menu button.

When you've finished editing, feel free to add a brief summary of your changes. You can also preview any changes you've made before saving.

Discussion

An article's discussion page – or talk page – is used to settle disagreements about an article. Use an article's discussion page to discuss the article's contents and edits. Sign your comments using ~~~~.

View history

Click the View history tab to see a history of edits performed on that page. Each line describes a revision of the page, including date/time, the contributor who made that edit, and possibly a summary for the edit.

Linking

Internal linking

Internal links (links to other BG3Wiki articles) are added using double square brackets ([[...]]). A pipe (| can be placed after the name of the target article, and followed with a text to display in its place. For example, [[Help: Style Guide|Style Guide]] appears as Style Guide.

Links can be used to display images as well. See Hell:Images on MediaWiki for further instructions.

External links

External links (links to other websites) are added using single square brackets ([...]). An alternative text to display in place of the target URL can be added after the URL, but before the closing bracket.

Templates

For a list of all commonly used templates, see Help:List of templates.

A template is a special type of page designed to be included within other pages. Templates are used extensively on BG3Wiki.

The next step of this manual will cover specific uses of templates.

Adding templates using the visual editor

Templates can be searched for and added via the toolbar above the visual editor by clicking Insert, and in the dropdown box, selecting Templates. Most templates can be easily inserted onto a page this way. To later edit its contents, simply click on the inserted template in the visual editor for options.

Adding templates using the source editor

Templates are added by using double brackets ({{ ... }}. For example, the template foo is added by typing (foo.

A template's parameters are specified through the use of pipes (|).

  • Template with one parameter:
    • Code: {{enchantment|+1}}
    • Result: Enchantment: + 1
  • Template with multiple parameters:
    • Code: {{AttributeBlock|8|15|7|6|10|8|hp=12|dex save = yes|race=Bird|hp=10}}
    • Result:

STR

8
(-1)

DEX

15
(+2)

CON

7
(-2)

INT

6
(-2)

WIS

10

CHA

8
(-1)

Creature Race Icon.png Race

Bird

HP Icon.png Hit Points

10

Categories

Category pages list all the pages within that Category.

The Everything search option includes Categories in the search results. You can also find them on the Special:Categories page. Categories can prove useful when looking for a specific image or page, particularly when you don't know the exact name of the thing you're looking for.

Some templates will automatically add the correct category to the page it is used on. However, in some cases, you'll want to manually add pages to additional categories.

To add a page to a category:

  • When using the Visual Editor, you can add a page to a category by clicking on the upper-right menu and selecting Categories. Start typing a category name in the provided box, and the editor will suggest autocomplete options for the category, if any exist.
  • When using the Source Editor, use the markup [[Category:Name of category here]] at the bottom of the page. You can repeat this as many times as needed for additional Categories.

Creating new pages

A new page can be created simply by opening a link to a page that have yet to be created, such as by clicking a red link, or by searching for the page on the wiki. If it doesn't yet exist, it can be created. Most pages on BG3Wiki are created with the help of templates, which may seem daunting at first, but they are actually quite easy to use.

Creating redirects

If a page exists but users may search for it using multiple terms, a redirect page can be created using #REDIRECT [[article link]].

Additional resources