Help:Contents

From Open Grimoire
Jump to: navigation, search

Please see that standard MediaWiki Markup Language page hosted on Wikipedia for wiki markup syntax.

You can practice using the markup instructions below in the Sandbox

Contents

Standard Markup

In general, we would like the following in articles if possible:

  1. References
  2. Images where appropriate
  3. Tables for formatting

Most important are references, bold, italics, and links. The following is a basic description of markup for those functions:

A reference can be added using the <ref> tag as follows
==Section Header==
Some ''important'' '''point''' we want referenced.<ref name="someid">Reference citation goes here</ref>.
We also have a [[topic]] we want linked to. Enclosing a word in [[ and ]] like [[topic]] allows linking to internal
pages of that [[topic]] if they exist yet or not. We can also reuse a reference by name. <ref name="someid" /> and
it will point to the same reference at the end of the page.

A double single quote around a word ''word'' will produce italics.

A triple single quote around a word '''word''' will produce bold.

A [[ tag can also include a | for showing differing text than the page linked to. For example, [[wikipage | displayed text]] will display
as a link with the text "displayed text" as shown below and pointing to wikipage.

A [ tag is used to reference an external site and has the same format as the [[ tag except no | is necessary for naming. For example
[http://en.wikipedia.org Wikipedia] will link to the external http://en.wikipedia.org page but will be displayed as
Wikipedia rather than the URL.

A  <nowiki> tag removes wiki markup. <nowiki>''This should be italicized''</nowiki> As you can see this removes wiki
formatting like bold, italics, hyperlinks, etc. and displays it as way typed, in this case '' is still displayed rather
than italicizing the contents between the double quotes.

A = sign is used to mark a header. You can produce multiple levels of headers by increasing the number of == signs.
For example:

=First Level header=
==Second Level header==
===Third Level Header===

A * is used to denote an unnumbered list. Like =, the more *'s the more indention. For example:

* Unnumber list item
** Sub listt item
*** Sub sub list item
* A second main list item
** A second sub list item

A # is used to denote a numbered list. Like = and *, the more #'s the more indention:

# Unnumber list item
## Sub listt item
### Sub sub list item
# A second main list item
## A second sub list item

Finally, the TOC is generated when there are 4 or more sections / headings. In this example there are 4 or more so we have
a contents list. To force  a TOC, simply insert __FORCETOC__ at the beginning of the article or __TOC__ wherever you want the
TOC to appear in the document.

==References==
<references/>

Make sure to include the following:
==References==
<references/> 

at the end of each page to have your reference / citation list automatically generated from the <ref> tags in the document.

The contents below show what the above markup would look like when generated:

Section Header

Some important point we want referenced.[1]. We also have a topic we want linked to. Enclosing a word in [[ and ]] like [[topic]] allows linking to internal pages of that topic if they exist yet or not. We can also reuse a reference by name. [1] and it will point to the same reference at the end of the page.

A double single quote around a word word will produce italics.

A triple single quote around a word word will produce bold.

A [[ tag can also include a | for showing differing text than the page linked to. For example, displayed text will display as a link with the text "displayed text" as shown below and pointing to wikipage.

A [ tag is used to reference an external site and has the same format as the [[ tag except no | is necessary for naming. For example Wikipedia will link to the external http://en.wikipedia.org page but will be displayed as Wikipedia rather than the URL.

A <nowiki> tag removes wiki markup. ''This should be italicized'' As you can see this removes wiki formatting like bold, italics, hyperlinks, etc. and displays it as way typed, in this case '' is still displayed rather than italicizing the contents between the double quotes.

A = sign is used to mark a header. You can produce multiple levels of headers by increasing the number of == signs. For example:

First Level header

Second Level header

Third Level Header

A * is used to denote an unnumbered list. Like =, the more *'s the more indention. For example:

  • Unnumber list item
    • Sub listt item
      • Sub sub list item
  • A second main list item
    • A second sub list item

A # is used to denote a numbered list. Like = and *, the more #'s the more indention:

  1. Unnumber list item
    1. Sub listt item
      1. Sub sub list item
  2. A second main list item
    1. A second sub list item

Finally, the TOC is generated when there are 4 or more sections / headings. In this example there are 4 or more so we have a contents list. To force a TOC, simply insert __FORCETOC__ at the beginning of the article or __TOC__ wherever you want the TOC to appear in the document.

References

  1. 1.0 1.1 Reference citation goes here
Personal tools
Namespaces

Variants
Actions
Navigation
Tools