838
edits
m
Duplicate field
No edit summary |
m (Duplicate field) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{NavWiki|help}} | {{NavWiki|help}} | ||
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. | 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. | ||
Line 26: | Line 22: | ||
== Linking == | == Linking == | ||
=== Internal linking === | === Internal linking === | ||
Internal links (links to other BG3Wiki articles) are added using double square brackets | Internal links (links to other BG3Wiki articles) are added using double square brackets {{code|<nowiki>[[...]]</nowiki>}}. A pipe {{code|<nowiki>|</nowiki>}} can be placed after the name of the target article, and followed with a text to display in its place. For example, {{code|<nowiki>[[Help: Style Guide|Style Guide]]</nowiki>}} appears as [[Help:Style Guide|Style Guide]]. | ||
Links can be used to display images as well. See [https://www.mediawiki.org/wiki/Help:Images | Links can be used to display images as well. See [https://www.mediawiki.org/wiki/Help:Images Help:Images on MediaWiki] for further instructions. | ||
=== External links === | === External links === | ||
External links (links to other websites) are added using single square brackets | External links (links to other websites) are added using single square brackets {{code|<nowiki>[...]</nowiki>}}. An alternative text to display in place of the target URL can be added after the URL, but before the closing bracket. | ||
== Templates == | == Templates == | ||
{{hatnote|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. | |||
A ''template'' is a special type of page designed to be included within other pages. Templates are used extensively on BG3Wiki. | The [[Help:Using templates|next step]] of this manual will cover specific uses of templates. | ||
=== Adding templates using the visual editor === | |||
[[File:visual_editor_template.png|right|thumb|Inserting a template with 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 {{code|<nowiki>{{ ... }}</nowiki>}}. For example, the template {{code|foo}} is added by typing {{code|<nowiki>{{foo}}</nowiki>}}. | |||
A template's parameters are specified through the use of pipes {{code|<nowiki>|</nowiki>}}. | |||
* Template with one parameter: | |||
** Code: {{code|<nowiki>{{enchantment|+1}}</nowiki>}} | |||
** Result: {{enchantment|+1}} | |||
* Template with multiple parameters: | |||
** Code: {{code|<nowiki>{{AttributeBlock|8|15|7|6|10|8|dex save = yes|race=Bird|hp=10}}</nowiki>}} | |||
** Result: | |||
{{AttributeBlock|8|15|7|6|10|8|dex save = yes|race=Bird|hp=10}} | |||
== Categories == | == Categories == | ||
[[Special:Categories|Category]] pages list all the pages within that Category. | [[Special:Categories|Category]] pages list all the pages within that Category. | ||
The '' | 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. | ||
<gallery> | <gallery> |