Difference between revisions of "wikitext"

From GeneWeb
Jump to: navigation, search
m (t.)
(Internal links: minor adjustments)
Line 57: Line 57:
  
 
== Internal links==
 
== Internal links==
You can create links to an other pages, put it in triple square brackets, like this:
+
You can create links to a '''page''' (text+HTML+WikiText) , by putting its name in triple square brackets, like this:
  
 
  [[[Target_page]]]
 
  [[[Target_page]]]
Line 67: Line 67:
  
  
If the page don't exist, the link appears in red. Clicking on the link, you'll reach an empty page you can fill.
+
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:
 
One can organize linked pages into folders by prefixing the filename with a folder name as in:
 
  [[[Folder:linked_page/text]]]
 
  [[[Folder:linked_page/text]]]
  
To make a '''link to an individual''', the following syntax:
+
To insert a '''link to an individual''', use the following syntax:
  
 
  <nowiki>[[first_name/surname/number/display text]]</nowiki>
 
  <nowiki>[[first_name/surname/number/display text]]</nowiki>

Revision as of 06:57, 1 November 2016

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__

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 />.

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

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]]]

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

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

For example:

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

Tags of note

When a note contain links to individuals, a tags add a link to the note to a precise location on the individual page:

  • Below the name: HEAD=.
  • Below the occupation: OCCU=.
  • Below the date and place of death: DEATH=.
  • At the bottom of paqe, near sources: BIBLIO=.
  • In the notes: BNOTE=.

Syntax is the same as the title of the page:

 HEAD=…
 OCCU=…
 DEATH=…
 BIBLIO=…
 BNOTE=…

The note must necessarily have a title to work.

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