Différences entre versions de « Help/Image pages »
m (A protégé « Help/Image pages » ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini))) |
|||
Ligne 57 : | Ligne 57 : | ||
| image || ''Obligatory.'' The name of an [[Help/Images|image]] ''without'' the <code>File:</code> or <code>Fichier:</code> part. | | image || ''Obligatory.'' The name of an [[Help/Images|image]] ''without'' the <code>File:</code> or <code>Fichier:</code> part. | ||
|- | |- | ||
− | | description || ''Obligatory.'' Short description given in small characters | + | | description || ''Obligatory.'' Short description given in small characters under the image. |
|} | |} | ||
Version du 30 octobre 2020 à 23:49
Image pages are used to display an image to which a reading or a literary text refers, with relevant data and a short description. The title of the image page is generally the title of the image.
The image data page contains:
- An image placeholder with essential data and links;
- Text of the image page about the image or about what is represented by the image (optional but recommended);
- Links to readings refering to the image, or to audio, video and presentations connected to or about the image;
- The category tag;
- An interlanguage link tag (recommended);
- Silent semantic annotations if in-text annotations are not used in the text of the image page.
The image data page layout is hence as follows:
Wiki markup or text in the page | Description | |
---|---|---|
1. | {{Image | parameters }} |
The Image template creates a floating box, which contains an image and a short description. |
2. | Free text (optional) | You can add a short text about the image or about what is represented by the image. General formatting rules apply. |
3. | {{Référence|cette œuvre}} See the Hungarian reference call below. | Automatic references, created with the help of correct category and semantic annotation use, are called with this tag. |
4. | [[Category:Images]] Use Képek instead of Images for image data pages in Hungarian. | Categorizes the page as displaying an image. |
5. | {{interlanguagelink:fr|Séphora}} Use hu instead of fr for author data pages in Hungarian. | Declares the language code of the content for interlanguage links that connect pages with similar content for different languages. |
6. | {{#set: En lien avec=Du côté de chez Swann}} | Silent semantic annotations to connected author or text data pages. |
Image placeholder
This is the first element of an image data page. It is created with an image template.
For example, the first lines of the page dedicated to Séphora are as follows:
{{Image |image = Sandro_Botticelli_035.jpg |description = [https://fr.wikipedia.org/wiki/Les_%C3%89preuves_de_Mo%C3%AFse Les Épreuves de Moïse] (détail : [https://fr.wikipedia.org/wiki/S%C3%A9phora Les filles de Jéthro]), fresque de la [https://fr.wikipedia.org/wiki/Chapelle_Sixtine chapelle Sixtine], réalisée par [https://fr.wikipedia.org/wiki/Sandro_Botticelli Sandro Botticelli] (1481-82) }}
Which gives:
Les Épreuves de Moïse (détail : Les filles de Jéthro), fresque de la chapelle Sixtine, réalisée par Sandro Botticelli (1481-82)
You should start the image placeholder box with the {{Image
line. 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. As parameter names are not rendered, there is only one image placeholder template, independently of the language used for values.
Parameters
The following parameters can be added to an image placeholder box. You can use text formatting markup and links. The order of parameters does not have any effect on the image box layout. Parameter names are not rendered in this template, only values appear.
Parameter name | Description |
---|---|
title | Optional. If omitted, the page title is used. The title is in top middle of the infobox in bold characters. |
image | Obligatory. The name of an image without the File: or Fichier: part.
|
description | Obligatory. Short description given in small characters under the image. |
Text of the image page
After the image placeholder box, you can add a text about the image or about what is represented by the image. You can include in-text annotations with the "Linked to" ("En lien avec") property in the text. Thus, the link of the image data page will be listed on the author's or text's data page connected to the image. If your text doesn't include references to authors or texts connected to the image, use silent semantic annotations instead.
Links to readings, audio, video and presentations
Automatic reference lists are called with the help of {{Référence}}
or {{Referencia}}
tag. In the case of images, you need to add a parameter:
- if the image data page is in French, add the parameter "cette œuvre", or any phrase that describes the image, like this:
{{Référence|cette œuvre}}
. - if the image data page is in Hungarian, add the parameter "mű" or "kép", or any phrase that describes the image, like this:
{{Referencia|mű}}
.
If there are links with "Refers to" (or "Fait référence à") property pointing to the page, they are automatically listed.
- If you call the
{{Référence|cette œuvre}}
tag, links are listed after this text: "Les lectures suivantes font référence à cette œuvre :". - If you call the
{{Referencia|mű}}
tag, links are listed after this text: "Az alábbi olvasatok utalnak erre a műre:".Note the suffix -re, which corresponds to generally used words for images (mű, kép, etc.).
Note that if you don't use the "cette œuvre" or "mű" parameter, the above texts will refer to texts.
If there are links with "Linked to" (or "En lien avec") property pointing to the page, they are automatically listed.
- If you call the
{{Référence|cette œuvre}}
tag, links are listed after this text: "Images, vidéos ou présentations en lien avec cette œuvre :". - If you call the
{{Referencia|mű}}
tag, links are listed after this text: "A mű az alábbi képekhez, videókhoz, prezentációkhoz köthető:".
Note that if you don't use the "cette œuvre" or "mű" parameter, the above texts will refer to texts.
You only have to use the reference tag once; the two types of links are called with the same tag.
Category tag
[[Category:Images]]
for author data pages in French.[[Category:Képek]]
for author data pages in Hungarian.
Interlanguage link tag
The same image can have several data pages in different languages. You can link these pages with interlanguage links. The interlanguage link tag declares the language code of the content for interlanguage links that connect pages with similar content for different languages.
In the {{interlanguagelink:fr|Séphora}}
tag, the first argument specifies the language code (fr
, hu
) of the content, while the second argument contains an arbitrary reference (in this case, Séphora
) that describes content of similar nature (content that should be connected to each other) for different languages.
Even if a given image data page does not exist yet in another language, it is recommended to add this tag. Thus, when a data page is created for the same author but in a different language, the two data pages will be connected.
Silent semantic annotations
If your text doesn't include references (i.e. links) to authors or texts connected to the image, you should use silent annotations.
For example, Séphora is connected to Du côté de chez Swann (actually, the fresco appears in the novel), but the text in the image page doesn't include any direct links to this title. To still have a semantic link between the two pages, the #set
function allows to assign the required value to the "Linked to" property. Thus, the image data page (Séphora) will be listed as a reference on the novel's data page.