Geneweb Wikitext

From GeneWeb
Jump to: navigation, search
150px-Geographylogo svg.png Language: English • français

GeneWeb uses Wikitext, a markup language that offers a simplified alternative to HTML and is used to write pages in wiki websites such as Wikipedia.

A toolbar around text zones allow to easily add wikitext:

Barre wiki.png

Title of the page

Add the “TITLE=” tag before the text.

TITLE=…

Table of contents

Headings and subheadings are a way to improve the organization of an article.

= Heading =
== Subheading ==

If an article has at least four headings, a table of contents will automatically be generated. Some options are available:

  • hide the table of contents (TOC):
__NOTOC__
  • to place a table of contents at a specific position (overriding ):
__TOC__
  • to place a short table of contents:
__SHORT_TOC__

When editing the content of a note is allowed, GeneWeb opens the editing window section by section, and provides at the top left of the page, three arrows (left, up, right) to allow navigation between sections.

Text formatting

You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two single quotes like this:

 ''italic''
 '''bold'''
 '''''bold and italic'''''

For GeneWeb underlining style, green bold by default, use curly brackets: {texte}

To indent text, use a colon at the beginning of the line, as much as needed:

:1st indent
::2nd indent

To add a forced line-break for a new paragraph, leave an empty line or start line with HTML tag <br />.

Lines starting with space are displayed as they are provided that:

  • there are at least two such lines
  • there is an empty line before and after the group of lines.

Bullet list

To create a bullet list simply start each line with an asterisk (*):

* one
* two
* three
** three and one-third
** three and two-thirds

To maintain indentation in a multi paragraph bullet list, mix appropriately * and : as in:

* one
* two line one
: two line two
:* two one line one
:: two one line two
* three
** three and one-third
** three and two-thirds

resulting in:

  • one
  • two line one
two line two
  • two one line one
two one line two
  • three
    • three and one-third
    • three and two-thirds

Internal links

You can create links to a page (text+HTML+WikiText) , by putting its name in triple square brackets, like this:

[[[Target_page]]]


If you want to display some other text for the link, you can do so by adding / followed by the alternative name. For example:

[[[Target_page/display text]]]


If the page doesn't exist, the link appears in red. Clicking on the link, you'll reach an empty page you can fill.

One can organize linked pages into folders by prefixing the filename with a folder name as in:

[[[Folder:linked_page/text]]]

One may create a link to a wizard's page with the following syntax:

[[w:Wizard]] ou [[w:Wizard/Wizard full name]]

To insert a link to an individual, use the following syntax:

[[first_name/surname/number/display text]]

For example:

[[Maria/Baxter/0/Maria Baxter]]

GeneWeb maintains an index of the notes and pages where a particular individual is mentionned. This information is available on the individual's page under the link linked pages (m=LINKED;p=firstname;n=lastname). The tool update_nldb updates this cross references index.

Backlink to a page

When a page contain links to individuals, GeneWeb may add a link back to this page at several locations on the individual page:

  • HEAD=: below the name;
  • OCCU=: below the occupation;
  • DEATH=: at the end the date and place of death, between parenthesis;
  • BIBLIO=: after sources, with a bibliography sub-title;
  • BNOTE=: at the beginning of notes;
  • NOTE=: at the end of notes;

The link to the page appears under the text comprised between ; and ]] in the individual's link. In this text, the character *, if present, is replaced by the content of the tag (Warning, white space before and after the * are taken into account).

If there is no text_for_link (; alone), then the link to the page will not appear for this individual. This may be useful to keep in the page a link back to a wizard).

If the content of the tag or of the text_for_link contains a part between curly brackets ({text}), then the link will be placed under this portion only.

Tag syntax is the same as that of the title of the page:

 TITLE=Test2
 HEAD=baron d'Empire
 OCCU=maire de Thionville
 DEATH=raison inconnue
 BIBLIO=documentation personnelle
 BNOTE=remarque de début de note
 NOTE=remarque de fin de note

[[Henri/Gouraud;]] Responsable de cette page<br>
[[Bernard/Test/Test, Bernard;* texte_du_lien]] texte 2<br>
[[Charlotte/Test/Test, Charlotte;voir  en complément une {page} d'explications]] texte 3<br>

The page must have a title tag and the tags definitions must follow immediately the title tag.

The example above will produce the following result on the page for Bernard Test (note that in most cases, a single tag will appear in a page):

Bernard-Test.png

Special caracters

All the characters used for syntax can be written in notes or in the forum preceded by % :

  • %' gives '.
  • %} and %{ give } and {.
  • %] and %[ give ] and [.
  • %% gives %.

GeneWeb Manual

Rembrandt Old Man Reading a Book.jpg

Use and manage genealogical databases

Technical annex