Difference between revisions of "wikitext"
m (→Text formatting: + curly brackets) |
|||
Line 37: | Line 37: | ||
'''''bold and italic'''''</pre> | '''''bold and italic'''''</pre> | ||
− | To indent text, use a colon at the beginning of the line: | + | For GeneWeb underlining style, <span style="color:#008000">'''green bold'''</span> by default, use curly brackets: {{c|<nowiki>{texte}</nowiki>}} |
− | : | + | |
+ | 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 <nowiki><br /></nowiki>. | To add a forced line-break for a new paragraph, leave an empty line or start line with HTML tag <nowiki><br /></nowiki>. |
Revision as of 01:07, 22 October 2015
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:
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 an other pages, put it 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 don't exist, the link appears in red. Clicking on the link, you'll reach an empty page you can fill.
To make a link to an individual, 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 caracters used for syntax can be writen in notes or in the forum preceded by %
:
%'
gives'
;%}
and%{
give}
and{
;%]
and%[
give]
and[
;%%
gives%
.