Help:Editing basics: Difference between revisions

Jump to navigation Jump to search
m
Duplicate field
m (→‎Linking: Typo fix)
m (Duplicate field)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{NavWiki|help}}
{{NavWiki|help}}
{{nav button|right|Help:Using templates|Using templates|noclear=1|padding=1%}}
{{nav button|left|Help: Getting started|Getting started|noclear=1|padding=1%}}
{{TocHelp}}
{{clear}}
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 ({{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]].
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 Help:Images on MediaWiki] for further instructions.
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 ({{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.
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 ==
Line 44: Line 40:


=== Adding templates using the source editor ===
=== 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>}}.
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>)}}.
A template's parameters are specified through the use of pipes {{code|<nowiki>|</nowiki>}}.


* Template with one parameter:
* Template with one parameter:
Line 52: Line 48:
** Result: {{enchantment|+1}}
** Result: {{enchantment|+1}}
* Template with multiple parameters:
* Template with multiple parameters:
** Code: {{code|<nowiki>{{AttributeBlock|8|15|7|6|10|8|hp=12|dex save = yes|race=Bird|hp=10}}</nowiki>}}
** Code: {{code|<nowiki>{{AttributeBlock|8|15|7|6|10|8|dex save = yes|race=Bird|hp=10}}</nowiki>}}
** Result:
** Result:
{{AttributeBlock|8|15|7|6|10|8|hp=12|dex save = yes|race=Bird|hp=10}}
{{AttributeBlock|8|15|7|6|10|8|dex save = yes|race=Bird|hp=10}}


== Categories ==
== Categories ==

Navigation menu