Ad placeholder

Help:Editing manual: Difference between revisions

Jump to navigation Jump to search
no edit summary
(standardisation)
No edit summary
Line 2: Line 2:
[[File:bg3wiki_help.png|thumb|right|Illithid wisdom sent you here...]]
[[File:bg3wiki_help.png|thumb|right|Illithid wisdom sent you here...]]


Hello there! You may have noticed that '''bg3.wiki''' is a community volunteer effort.
'''BG3Wiki''' is a community volunteer effort.


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.
Everything here is written and maintained by fans of the game. Anyone can edit and contribute to BG3Wiki, no sign-up necessary!


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.
This page will help you get started on contributing to the wiki. 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.


== Creating an Account ==
An [[Help:Editing Policy|Editing Policy]] and a [[Help: Style Guide|Style Guide]] are also available. Reading any policies or guidelines is '''not required''' to edit BG3Wiki, but it may prove helpful.
[[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.


== Identifying Areas in Need of Help ==
== Creating an account ==
[[Special:CreateAccount|Creating an account]] is an optional step that allows you to customize your wiki settings and 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:
It's not always obvious where to start. If you're looking for inspiration, try checking the following:
* [[Special:WhatLinksHere/Template:UnderConstruction|Under Construction]]: Pages marked as under construction; check the page history and coordinate via the Discord server if a page is actively being worked on.
* [[Special:WhatLinksHere/Template:UnderConstruction|Under Construction]]: Pages marked as under construction; check the page history and coordinate via the Discord server if a page is actively being worked on.
Line 26: Line 28:
See [[Special:SpecialPages]] for a full list of Special pages.
See [[Special:SpecialPages]] for a full list of Special pages.


== Working with 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.
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.


=== First-Time Editors ===
=== First-time editors ===
 
If you are anxious about editing a wiki for the first time, don't be. If you are adding missing information, there is very little you can do wrong. A wiki page is designed to be a malleable document that can easily be edited and corrected, and usually should be. Any mistakes can easily be corrected by another editor, and the few things that might have repercussions are automatically locked behind permissions.
If you are anxious about editing a wiki for the first time, don't be. If you are adding missing information, there is very little you can do wrong. A wiki page is designed to be a malleable document that can easily be edited and corrected, and usually should be. Any mistakes can easily be corrected by another editor, and the few things that might have repercussions are automatically locked behind permissions.


If you are unsure about your edit for any reason, you can leave a relevant comment on the talk page, via the 'Discussion' tab at the top of any page you are editing, or ask for guidance in the wiki Discord server. If you are acting in good-faith, all contributions are welcome. Read on for the specifics on how to make your first edit.
If you are unsure about your edit for any reason, you can leave a relevant comment on the talk page, via the 'Discussion' tab at the top of any page you are editing, or ask for guidance in the wiki Discord server. If you are acting in good-faith, all contributions are welcome. Read on for the specifics on how to make your first edit.


=== Create a New Page ===
=== Create a new page ===
[[File:edit_visual_or_source.png|right|thumb|Visual Editor and Source Editor buttons]]
[[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]]
[[File:switch_visual_or_source.png|right|thumb|Switching between editor types]]
Line 43: Line 44:
* The Source Editor is more powerful and flexible, but requires at least a basic understanding of wiki markup.
* The Source Editor is more powerful and flexible, but requires at least a basic understanding of wiki markup.


=== Edit an Existing Page ===
=== 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.
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.
Line 52: Line 53:


{{clear}}
{{clear}}
=== Page History ===
=== 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.
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.
Line 58: Line 59:
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.
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.


== Finding Wiki Content ==
== Finding wiki content ==
=== Bypassing Google Search ===
=== Bypassing google search ===
See [[:Help:Searching for BG3Wiki]] for browser-specific instructions on how to more quickly and easily find wiki pages at any time.
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 ===
=== Using the search feature ===
[[File:multimedia_search.png|right|thumb|Use the Multimedia option to search for images]]
[[File:multimedia_search.png|right|thumb|Use the Multimedia option to search for images]]
The built-in [[Special:Search|Search]] function is also very powerful. You can use it to find pages, images, categories, templates, and more.
The built-in [[Special:Search|Search]] function is also very powerful. You can use it to find pages, images, categories, templates, and more.
Line 74: Line 75:
[[File:category_example.png|right|thumb|Example of a Category]]
[[File:category_example.png|right|thumb|Example of a Category]]
A '''[[Special:Categories|Category]]''' is exactly what you'd expect: a page that collects all the pages that have been added to that Category.  
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 ====
==== 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.
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 ====
==== Adding a page to a category ====
[[File:visual_editor_categories.png|right|thumb|Adding Categories in the Visual Editor]]
[[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.
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.
Line 86: Line 87:
* 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.
* 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}}
{{clear}}
=== How to Upload Images ===
=== How to upload files and images ===
[[File:upload_file.png|right|thumb|Uploading a file]]
[[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.
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.
Line 123: Line 124:
Templates are powerful tools and can become very complex. For a much more in-depth look into templates, see [https://www.mediawiki.org/wiki/Help:Templates MediaWiki Help:Templates].
Templates are powerful tools and can become very complex. For a much more in-depth look into templates, see [https://www.mediawiki.org/wiki/Help:Templates MediaWiki Help:Templates].


=== Page Creation Templates ===
=== Page creation templates ===
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.
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.


Line 133: Line 134:
Another great benefit of this approach is that it allows us to populate database tables with the provided information. For example, every time you add a new item to the wiki using the appropriate page template, it automatically adds the item to a database table which can be queried from elsewhere. This is, for example, how the lists on weapon type pages like [[Longswords]] are generated.
Another great benefit of this approach is that it allows us to populate database tables with the provided information. For example, every time you add a new item to the wiki using the appropriate page template, it automatically adds the item to a database table which can be queried from elsewhere. This is, for example, how the lists on weapon type pages like [[Longswords]] are generated.


=== Data Querying Templates ===
=== Data querying templates ===
When information is added to the wiki using an appropriate page creation template, the information is also made available in a database table. These tables can be queried from other pages, to display the data there as well, instead of having to link the user to the original page, or having to copy-paste the content.
When information is added to the wiki using an appropriate page creation template, the information is also made available in a database table. These tables can be queried from other pages, to display the data there as well, instead of having to link the user to the original page, or having to copy-paste the content.


Line 140: Line 141:
Writing these queries can be quite complicated. So, the wiki offers templates that do the heavy lifting for you. A primary example is the [[Template:Condition|Condition]] template, which you provide with the name of a condition, and it queries the data for you, displaying the effects of that condition in a nice format.
Writing these queries can be quite complicated. So, the wiki offers templates that do the heavy lifting for you. A primary example is the [[Template:Condition|Condition]] template, which you provide with the name of a condition, and it queries the data for you, displaying the effects of that condition in a nice format.


=== Other Templates ===
=== 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 often embedded within other, larger templates like Page Creation Templates, but they can and should also be used on their own where appropriate.
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 often embedded within other, larger templates like Page Creation Templates, but they can and should also be used on their own where appropriate.


Line 153: Line 154:
** {{SmItemIcon|Dagger +1}} for a simple iconlink use {{InfoBlob|<nowiki>{{SmItemIcon|Dagger +1}}</nowiki>}}
** {{SmItemIcon|Dagger +1}} for a simple iconlink use {{InfoBlob|<nowiki>{{SmItemIcon|Dagger +1}}</nowiki>}}


=== Using Templates ===
=== Using templates ===


==== Add a Template to a Page ====
==== Add a template to a page ====
[[File:visual_editor_template.png|right|thumb|Inserting a template with the Visual Editor]]
[[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 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.
Line 162: Line 163:
** Result: This attack has {{Advantage}}
** Result: This attack has {{Advantage}}


==== Template Parameters ====
==== Template parameters ====
Some templates have optional or required '''parameters''' that change the output of the template, giving it more versatility.
Some templates have optional or required '''parameters''' that change the output of the template, giving it more versatility.


Line 174: Line 175:
{{AttributeBlock|8|15|7|6|10|8|hp=12|dex save = yes|race=Bird|hp=10}}
{{AttributeBlock|8|15|7|6|10|8|hp=12|dex save = yes|race=Bird|hp=10}}


==== Template Documentation ====
==== Template documentation ====
{{hatnote|See also: [[Help: 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.
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.
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 ====
==== 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:
* 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>{{DamageInfo|2d6+1|Slashing|modifier=melee}}</nowiki>}} displays {{DamageInfo|2d6+1|Slashing|modifier=melee}}
Line 187: Line 189:
** {{code|<nowiki>{{SmallIcon|Magic Missile Icon.png}} [[Magic Missile]]</nowiki>}} displays {{SmallIcon|Magic Missile Icon.png}} [[Magic Missile]], the better alternative to this is [[Template:SAI]].
** {{code|<nowiki>{{SmallIcon|Magic Missile Icon.png}} [[Magic Missile]]</nowiki>}} displays {{SmallIcon|Magic Missile Icon.png}} [[Magic Missile]], the better alternative to this is [[Template:SAI]].


== Additional Resources ==
== Additional resources ==


Check out the [[Help:Style Guide|Style Guide]] for more information on style guidelines followed by bg3.wiki.
Check out the [[Help:Style Guide|Style Guide]] for more information on style guidelines followed by bg3.wiki.
8,856
edits

Navigation menu