Différences entre versions de « Help/Texts »
Ligne 2 : | Ligne 2 : | ||
The data page contains: | The data page contains: | ||
− | + | # An [[#Infobox|infobox]] with essential data and a [[#Full text|link to the full text]] (if available); | |
− | + | # A [[#Short description|short description]] (optional); | |
− | + | # [[#Links to readings, images, audio and video|Links]] to readings refering to the text, or to images, audio and video connected to the text; | |
− | + | # The [[#Category tag|category tag]]. | |
The data page layout is hence as follows: | The data page layout is hence as follows: | ||
{| class="wikitable" style="text-align:left;" | {| class="wikitable" style="text-align:left;" | ||
− | ! Wiki markup in the page !! Description | + | ! !! Wiki markup or text in the page !! Description |
|- | |- | ||
− | | <nowiki>{{</nowiki>Infobox-fr{{#info:<nowiki>{{</nowiki>Infobox-hu calls the infobox in Hungarian.}}<br><nowiki>|</nowiki>''parameters'' | + | | 1. || <nowiki>{{</nowiki>Infobox-fr {{#info:<nowiki>{{</nowiki>Infobox-hu calls the infobox in Hungarian.}}<br><nowiki>|</nowiki> ''parameters''<br><nowiki>}}</nowiki> || The Infobox template creates a floating box, which can contain an image and basic data. |
|- | |- | ||
− | | Free text (''optional'') || You can add a short text that describes the work. General [[Help/Formatting|formatting]] rules apply. | + | | 2. || Free text (''optional'') || You can add a short text that describes the work. General [[Help/Formatting|formatting]] rules apply. |
|- | |- | ||
− | | <nowiki>{{Référence}}</nowiki>{{#info:<nowiki>{{Referencia}}</nowiki> calls the references in Hungarian.}} || Automatic references, created with the help of correct [[Help/Categories|category]] and [[Help/Semantic links|semantic annotation]] use are called with this tag. | + | | 3. || <nowiki>{{Référence}}</nowiki> {{#info:<nowiki>{{Referencia}}</nowiki> calls the references in Hungarian.}} || Automatic references, created with the help of correct [[Help/Categories|category]] and [[Help/Semantic links|semantic annotation]] use are called with this tag. |
|- | |- | ||
− | | <nowiki>[[Category:Textes]]</nowiki>{{#info:Use | + | | 4. || <nowiki>[[Category:Textes]]</nowiki> {{#info:Use ''Olvasmányok'' instead of ''Textes'' for Hungarian texts.}} || Categorize the page as a text. |
|} | |} | ||
Ligne 53 : | Ligne 53 : | ||
====Parameters==== | ====Parameters==== | ||
− | The following parameters can be added to an infobox. All parameters are optional. You can use [[Help/Formatting|text formatting markup]] and [[Help/Links|links]]. | + | The following parameters can be added to an infobox. '''All parameters are optional.''' You can use [[Help/Formatting|text formatting markup]] and [[Help/Links|links]]. |
{| class="wikitable sortable" style="text-align:left;" | {| class="wikitable sortable" style="text-align:left;" | ||
− | ! Parameter name !! class="unsortable"| | + | ! Parameter name !! class="unsortable"|Parameter name rendered in French !! class="unsortable"|Parameter name rendered in Hungarian !! class="unsortable"|Notes |
|- | |- | ||
| title || <small>''no rendered text''</small> || <small>''no rendered text''</small> || If omitted, the page title is used. The title is in top middle of the infobox in bold characters. | | title || <small>''no rendered text''</small> || <small>''no rendered text''</small> || If omitted, the page title is used. The title is in top middle of the infobox in bold characters. | ||
Ligne 89 : | Ligne 89 : | ||
| oclc || OCLC || OCLC || | | oclc || OCLC || OCLC || | ||
|- | |- | ||
− | | fulltext || Texte intégral || Teljes szöveg || | + | | fulltext || Texte intégral || Teljes szöveg || Link to the full text, see [[#Full text|below]]. |
|} | |} | ||
Ligne 98 : | Ligne 98 : | ||
===Links to readings, images, audio and video=== | ===Links to readings, images, audio and video=== | ||
+ | |||
+ | |||
+ | |||
+ | ===Category tag=== | ||
+ | * <code><nowiki>[[Category:Textes]]</nowiki></code> for French texts | ||
+ | * <code><nowiki>[[Category:Olvasmányok]]</nowiki></code> for Hungarian texts | ||
Version du 30 octobre 2020 à 10:33
Literary texts uploaded to the Rich Annotator System must have first of all a data page with relevant data and eventually a short description. The title of the data page is the title of the literary work itself.
The data page contains:
- An infobox with essential data and a link to the full text (if available);
- A short description (optional);
- Links to readings refering to the text, or to images, audio and video connected to the text;
- The category tag.
The data page layout is hence as follows:
Wiki markup or text in the page | Description | |
---|---|---|
1. | {{Infobox-fr {{Infobox-hu calls the infobox in Hungarian. | parameters }} |
The Infobox template creates a floating box, which can contain an image and basic data. |
2. | Free text (optional) | You can add a short text that describes the work. General formatting rules apply. |
3. | {{Référence}} {{Referencia}} calls the references in Hungarian. | Automatic references, created with the help of correct category and semantic annotation use are called with this tag. |
4. | [[Category:Textes]] Use Olvasmányok instead of Textes for Hungarian texts. | Categorize the page as a text. |
Infobox
This is the first element of a text's data page. It is created with an infobox template.
For example, the first lines of the page named Médua are as follows:
{{Infobox-fr |image = Maurice_Careme_Medua.png |booktitle = Médua |author = [[Oeuvre de::Maurice Carême]] |genre = roman |country = Belgique |editor = [https://fr.wikipedia.org/wiki/La_Renaissance_du_livre La Renaissance du livre] |date = 1976 }}
Which gives:
Auteur | Maurice Carême |
---|---|
Titre | Médua |
Éditeur | La Renaissance du livre |
Pays | Belgique |
Genre | roman |
Date de publication | 1976 |
You should start the infobox with the {{Infobox-fr
line if you want to have an infobox in French, and with the {{Infobox-hu
line if you want to have an infobox in Hungarian. After the first line, every line begins with a pipe (|
) followed by a parameter name and the value of the parameter (|parameter = value
). After the parameters, don't forget to close the infobox with the }}
tag.
Parameter names are always in English, but parameter values can be added in any language. Actually, if you use the French Infobox ({{Infobox-fr
), you will probably want values to be in French.
Parameters
The following parameters can be added to an infobox. All parameters are optional. You can use text formatting markup and links.
Parameter name | Parameter name rendered in French | Parameter name rendered in Hungarian | Notes |
---|---|---|---|
title | no rendered text | no rendered text | If omitted, the page title is used. The title is in top middle of the infobox in bold characters. |
image | no rendered text | no rendered text | The name of an image without the File: or Fichier: part.
|
author | Auteur | Szerző | You should use the "Work of" property in the link (as above), see Semantic links. |
author-fem | Auteure | not relevant | |
authors | Auteurs | Szerzők | |
booktitle | Titre | Cím | |
original_title | Titre original | Eredeti cím | Used if the original title is for example in another language. |
language | Langue | Nyelv | |
editor | Éditeur | Kiadó | |
country | Pays | Ország | |
genre | Genre | Műfaj | |
date | Date de publication | Kiadás dátuma | |
translation | Traduction | Fordítás | Used if the text is a translation. |
pages | Pages | Oldal | |
isbn | ISBN | ISBN | |
oclc | OCLC | OCLC | |
fulltext | Texte intégral | Teljes szöveg | Link to the full text, see below. |
Short description
After the infobox, you can add a short description of the text.
Links to readings, images, audio and video
Category tag
[[Category:Textes]]
for French texts[[Category:Olvasmányok]]
for Hungarian texts