Help:Editing manual: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(BG3Wiki -> bg3wiki in links)
(96 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[File:bg3wiki_help.png|thumb|right|Illithid wisdom sent you here...]]
{{PageSeo
 
| image = bg3wiki_help.png
Hello there! You may have noticed that '''bg3.wiki''' is a community volunteer effort.
| description = A brief guide on how to contribute to the Baldur's Gate 3 Community Wiki
 
}}
Everything here is written and maintained by fans of the game. That could include '''you''', if you're willing to contribute your time and game knowledge to help out. Every new page, note, or correction helps improve the wiki for future readers.
{{NavWiki|help}}
 
BG3Wiki is a collaborative, living project created and maintained by community volunteers.
This page will help you get started on contributing to bg3.wiki. Note that this is '''not a comprehensive guide to wiki editing'''. If you're interested in diving deeper into a particular topic, check out the various [https://www.mediawiki.org/wiki/Help:Contents MediaWiki help pages] available online.
Don't be afraid to contribute – anyone can edit and contribute to BG3Wiki, no sign-up necessary! Proceed to [[Help:Editing basics|Editing basics]] when you're ready.
 
__NOTOC__
== Creating an Account ==
== Introduction to editing ==
[[Special:CreateAccount|Creating an account]] is an optional step that allows you to customize your wiki settings and attributes wiki edits to you. You can edit pages without an account, but your IP address will be publicly logged.
==== Creating an account ====
 
[[Special:CreateAccount|Creating an account]] is an optional but recommended step. '''Once your account has a few edits, you won't need to solve CAPTCHA anymore.''' Editing using an account attributes wiki edits to your account. You can edit pages without an account, but your IP address will be publicly logged.
== Identifying Areas in Need of Help ==
It's not always obvious where to start. If you're looking for inspiration, try checking the following:
* [[Special:WantedPages]]: A list of pages that are linked to by other pages, but have not yet been created themselves
* [[Special:AncientPages]]: Pages that have not been updated in a long time - check these for outdated information
* [[Special:LonelyPages]]: Pages that aren't linked to by any other pages - try to find other appropriate pages to add links to them
* [[Special:LongPages]]: Very long pages that ''might'' benefit from editing for brevity
* [[Special:ShortPages]]: Very short pages that ''might'' benefit from adding more information
* [[BG3Wiki:Verification]]: Pages marked as having information that needs to be verified.
 
See [[Special:SpecialPages]] for a full list of Special pages.
 
== Working with Pages ==
 
This is just a basic introduction to working with wiki pages. Refer to [https://www.mediawiki.org/wiki/Help:Contents MediaWiki Help:Contents] for overall MediaWiki help, or [https://www.mediawiki.org/wiki/Help:Formatting MediaWiki Help:Formatting] for detailed help with MediaWiki markup.
 
=== Create a New Page ===
[[File:edit_visual_or_source.png|right|thumb|Visual Editor and Source Editor buttons]]
[[File:switch_visual_or_source.png|right|thumb|Switching between editor types]]
To create a new page, either click on a broken (red) link or use your browser to type the URL of a page that doesn't yet exist (for example, https://bg3.wiki/wiki/Page_That_Does_Not_Exist). If you're not automatically taken to the editor, click either '''Edit''' (to open the Visual Editor) or '''Edit source''' (to open the Source Editor).
* The Visual Editor is helpful for contributors who are new or not yet familiar with wiki markup, but it doesn't allow you to directly manipulate wiki markup.
* The Source Editor is more powerful and flexible, but requires at least a basic understanding of wiki markup.
 
=== Edit an Existing Page ===
 
Similarly, to edit an existing page, click either '''Edit''' (opens Visual Editor) or '''Edit source''' (opens Source Editor) above the page. Within either editor view, 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, be sure to add a brief '''Summary''' of your changes and click the '''Save changes''' button!
 
Want to give it a go? Check [https://bg3.wiki/wiki/Special:Random a random page] and see if you can improve it!
 
{{clear}}
=== Page History ===
 
Click the '''View history''' button above a page 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 (ideally) the reason for the edit. This can be helpful if you're not sure why an edit was made.


Remember: The wiki is a living project, and wiki editing is a collaborative effort! Be prepared for your contributions to be tweaked, copyedited, hacked to pieces, or completely deleted.
==== Sandboxes ====
[[Special:MyPage/Sandbox|Click Here]] to create your personal sandbox page. You can use this to learn how to edit, or simply to experiment. You are free to edit this page as much as you wish, it is disconnected from the rest of the wiki.


== Finding Wiki Content ==
==== Join the Discord server ====
=== Bypassing Google Search ===
We recommend you join the [https://discord.gg/K6R89fSZuF BG3Wiki Discord] to discuss wiki editing with other contributors. This is completely optional, but be aware many decisions are taken during live discussions, even though we recommend the use of the Discussion page for most content articles.
See [[:Help:Searching for BG3Wiki]] for browser-specific instructions on how to more quickly and easily find wiki pages at any time.


=== Searching Like a Boss ===
== Policies and guidelines ==
[[File:multimedia_search.png|right|thumb|Use the Multimedia option to search for images]]
BG3Wiki only has a few simple [[bg3wiki:Content rules|content rules]]. In addition to these, we also have an Editing policy and a Style manual, both with principles and practices that the wiki strives to adhere to. Reading these is {{em|not required}} to edit the wiki.
The built-in [[Special:Search|Search]] function is also very powerful. You can use it to find pages, images, categories, templates, and more.
* [[bg3wiki:Editing policy|Editing policy]]: A set of guidelines and principles to follow when editing the wiki.
* By default, Search results will only include content pages.
* [[Help:Style manual|Style manual]]: The style and formatting guidelines for articles and files. If you're unsure about grammar, format or capitalisation, you can look it up here!
* Use the '''Multimedia''' option to search for images.
* [[bg3wiki:Verification|Verification]]: BG3Wiki relies on verification to ensure readers can know where in the game information on the wiki comes from.
* Use the '''Everything''' option for a quick-and-dirty way to look through all possible results for your search term.
* Use the '''Advanced''' option to filter your search to specific [https://www.mediawiki.org/wiki/Help:Namespaces namespaces], like Category or Template.
{{clear}}


=== Categories ===
== Other namespaces ==
[[File:category_example.png|right|thumb|Example of a Category]]
There are other types of pages that use different guidelines and principles than the rest of the wiki.
A '''[[Special:Categories|Category]]''' is exactly what you'd expect: a page that collects all the pages that have been added to that Category.
==== Browsing Categories ====
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.
==== Adding a Page to a Category ====
[[File:visual_editor_categories.png|right|thumb|Adding Categories in the Visual Editor]]
Categories are only useful when pages are actually added to them. This is handled automatically when using certain [[#Templates|Page Creation Templates]], but in many cases, you'll want to manually add pages to additional categories.


For example, [[Absolute's Warboard]] was automatically added to the [[:Category:Shields|Shields]] and [[:Category:Uncommon Items|Uncommon Items]] categories by the EquipmentPage template, but also manually added to the [[:Category:Absolute Equipment|Absolute Equipment]] category to group it with closely related items.
==== Guides ====
{{hatnote|See also: [[Help:Guide namespace]]}}
The Guide namespace is where users can create and edit guides on BG3Wiki.


To add a page to a category:
To create a Guide, simply start an article name with {{code|Guide:}}. For example, {{code|Guide:How to use torches}}.
* 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 {{code|<nowiki>[[</nowiki>Category:<em>Name of Category Here</em><nowiki>]]</nowiki>}} anywhere on the page (typically near the top or bottom, for organizational purposes) to add that page to a category. You can repeat this as many times as needed for additional categories.
{{clear}}
=== How to Upload Images ===
[[File:upload_file.png|right|thumb|Uploading a file]]
If you can't locate an image you need, it may not be uploaded to the wiki yet. In this case, you can upload an image from your computer using the [[Special:Upload|Upload File]] function from the left-hand navigation toolbar.


Some guidelines to keep in mind when uploading images:
==== Modding ====
* '''Licensing:''' Avoid uploading images from other websites, as the licensing for these images may be incompatible with the [https://creativecommons.org/licenses/by-nc-sa/4.0/ CC BY-NC-SA] license used by bg3.wiki.
{{hatnote|See also: [[Modding:Modding resources]]}}
* '''File formats:''' Use {{code|.png}} or {{code|.webp}} for icons, tooltips, and other illustrative images. The {{code|.jpg}} format is ideal for larger game screenshots. Animated {{code|.gif}} files should be used sparingly, generally only when an animated demonstration will add explanatory value to a page.
The Modding namespaces is all about modding, such as how to create and use mods.
* '''Compression:''' It's recommended to compress large files, both to conserve space and to improve page loading times for wiki readers.
{{clear}}
* '''Categories:''' Just like regular pages, you can and should edit an image to add it to one or more categories. This can greatly help other contributors find the image in the future.  


== Templates ==
To create a Modding page, simply start an article name with {{code|Modding:}}. For example, {{code|Modding:How to use mods}}.
A '''Template''' is a special type of page designed to be included within other pages. Templates are often used as 'shorthand' to automatically insert frequently-used images, code, and formatting on a page. We use templates extensively on bg3.wiki.


Templates are powerful tools and can become very complex. What follows is an extremely brief overview. For a much more in-depth look into templates, see [https://www.mediawiki.org/wiki/Help:Templates MediaWiki Help:Templates].
== Additional resources ==
* [https://www.mediawiki.org/wiki/Help:Contents MediaWiki help pages]
* [https://www.mediawiki.org/wiki/Help:Formatting MediaWiki formatting]


=== Page Creation Templates ===
[[Category:Wiki Help]]
We use templates like [[:Template:WeaponPage|WeaponPage]] to maintain a clean, consistent style across a large number of pages that share similar properties, such as [[Spell]]s, [[Weapon]]s, and other [[Equipment]]. These templates take your input in the form of standard parameters and use it to generate a pre-formatted page, optimise the page for search engines and embedded social media links, and add the page to the appropriate categories.
 
Examples:
* {{SmallIcon|Worgfang Icon.png}}[[Worgfang]] and {{SmallIcon|Everburn Blade.png}}[[Everburn Blade]] were created using [[:Template:WeaponPage]]
* {{SmallIcon|The Jolty Vest Icon.png}}[[The Jolty Vest]] and {{SmallIcon|Amulet of Lost Voices Icon.png}}[[The Amulet of Lost Voices]] were created using [[:Template:EquipmentPage]]
* {{SmallIcon|Potion of Speed Icon.png}}[[Potion of Speed]], {{SmallIcon|Throwable_Smokepowder_Satchel_Icon.png}}[[Smokepowder Satchel]], and {{SmallIcon|Book NecromancyofThayUnsocketed.png}}[[Necromancy of Thay]] were created using [[:Template:MiscItemPage]]
 
=== Other Templates ===
Other templates can be used in a more focused fashion to insert frequently used, pre-formatted information or to add visual flair to a page, such as <code><nowiki>{{MediumArmour}}</nowiki></code> ({{MediumArmour}}) or <code><nowiki>{{action|bonus}}</nowiki></code> ({{action|bonus}}). These types of templates are {{Ability|Strength|20}} often embedded within other, larger templates like Page Creation Templates, but they can and should also be used on their own where appropriate.
 
''See also:''
* [[Template:CharacterInfo]] to learn how to add character infoboxes.
* [[Template:Ability]] and [[Template:Class]] to learn how to add formatted Ability scores and Classes (Example: {{Ability|Strength|20}} and {{Class|Cleric}})
 
=== Using Templates ===
 
==== Add a Template to a Page ====
[[File:visual_editor_template.png|right|thumb|Inserting a template with the Visual Editor]]
* When using the Visual Editor, select '''Insert''' &gt; '''Template''' from the toolbar and start typing a template name. The visual editor may not always display documentation for the template or its parameters, so be sure to open the template's page for usage information.
* When using the Source Editor, you can either copy and paste template code from an existing page, or newly invoke a template you're already familiar with by enclosing the template name in {{code|<nowiki>{{double curly braces}}</nowiki>}}. For example:
** Code: {{code|This attack has <nowiki>{{Advantage}}</nowiki>}}
** Result: This attack has {{Advantage}}
 
==== Template Parameters ====
Some templates have optional or required '''parameters''' that change the output of the template, giving it more versatility.
 
When invoking a template with parameters, separate each parameter with a pipe symbol {{code|<nowiki>|</nowiki>}}.
* Template with one parameter:
** Code: {{code|<nowiki>{{enchantment|+1}}</nowiki>}}
** Result: {{enchantment|+1}}
* Template with multiple parameters:
** Code: {{code|<nowiki>{{Resistances|Slashing=Resistant|Fire=Immune|Cold=Vulnerable}}</nowiki>}}
** Result:
{{Resistances|Slashing=Resistant|Fire=Immune|Cold=Vulnerable}}
 
==== Template Documentation ====
Template creators are encouraged to document (on the template's page itself as well as via the TemplateData button on the same page) how to use that template, including usage examples and accepted values for any template parameters. If you're unfamiliar with a particular template, navigate to its page to learn how it works. If a template page does not show any usage instructions, it could still be a work in progress, and you may want to check with its creator before using it.
 
See [https://bg3.wiki/wiki/Special:AllPages?namespace=10 All Pages (Template namespace)] for a full list of available templates on bg3.wiki.
 
==== More Template Examples ====
* The {{code|<nowiki>{{DamageInfo}}</nowiki>}} and {{code|<nowiki>{{DamageText}}</nowiki>}} templates can insert pre-formatted damage information based on the parameters you provide, like so:
**{{code|<nowiki>{{DamageInfo|2d6+1|Slashing|modifier=melee}}</nowiki>}} displays {{DamageInfo|2d6+1|Slashing|modifier=melee}}
**{{code|<nowiki>{{DamageText|1d4|Fire}}</nowiki>}} displays {{DamageText|1d4|Fire}}, better for compact or inline usage
* The {{code|<nowiki>{{Icon}}</nowiki>}} and {{code|<nowiki>{{SmallIcon}}</nowiki>}} templates help you add an icon to represent a spell or item, like so:
** {{code|<nowiki>{{Icon|Chain Mail Icon.png}} [[Chain Mail]]</nowiki>}} displays {{Icon|Chain Mail Icon.png}} [[Chain Mail]]
** {{code|<nowiki>{{SmallIcon|Magic Missile Icon.png}} [[Magic Missile]]</nowiki>}} displays {{SmallIcon|Magic Missile Icon.png}} [[Magic Missile]], better for compact or inline usage
 
== Additional Resources ==
 
Check out the [[Help:Style Guide|Style Guide]] for more information on style guidelines followed by bg3.wiki.
 
Join the [https://discord.gg/K6R89fSZuF BG3Wiki Discord] to discuss wiki editing with other bg3.wiki contributors! Or, if you prefer not to join the Discord, you can leave messages via the '''Discussion''' link at the top of any page (including any user's page, if you want to contact them).
{{#seo:
| image = bg3wiki_help.png
| title = How to Contribute - Baldur's Gate 3 Wiki
| description = A brief guide on how to contribute to the Baldur's Gate 3 Community Wiki
}}

Revision as of 13:36, 21 July 2024

Bgwiii.png IndexGuidesModdingDiscord

BG3Wiki is a collaborative, living project created and maintained by community volunteers. Don't be afraid to contribute – anyone can edit and contribute to BG3Wiki, no sign-up necessary! Proceed to Editing basics when you're ready.

Introduction to editing

Creating an account

Creating an account is an optional but recommended step. Once your account has a few edits, you won't need to solve CAPTCHA anymore. Editing using an account attributes wiki edits to your account. You can edit pages without an account, but your IP address will be publicly logged.

Sandboxes

Click Here to create your personal sandbox page. You can use this to learn how to edit, or simply to experiment. You are free to edit this page as much as you wish, it is disconnected from the rest of the wiki.

Join the Discord server

We recommend you join the BG3Wiki Discord to discuss wiki editing with other contributors. This is completely optional, but be aware many decisions are taken during live discussions, even though we recommend the use of the Discussion page for most content articles.

Policies and guidelines

BG3Wiki only has a few simple content rules. In addition to these, we also have an Editing policy and a Style manual, both with principles and practices that the wiki strives to adhere to. Reading these is not required to edit the wiki.

  • Editing policy: A set of guidelines and principles to follow when editing the wiki.
  • Style manual: The style and formatting guidelines for articles and files. If you're unsure about grammar, format or capitalisation, you can look it up here!
  • Verification: BG3Wiki relies on verification to ensure readers can know where in the game information on the wiki comes from.

Other namespaces

There are other types of pages that use different guidelines and principles than the rest of the wiki.

Guides

The Guide namespace is where users can create and edit guides on BG3Wiki.

To create a Guide, simply start an article name with Guide:. For example, Guide:How to use torches.

Modding

The Modding namespaces is all about modding, such as how to create and use mods.

To create a Modding page, simply start an article name with Modding:. For example, Modding:How to use mods.

Additional resources