Différences entre versions de « Help/Image pages »
Ligne 37 : | Ligne 37 : | ||
{{Image | {{Image | ||
|class = infobox | |class = infobox | ||
+ | |title = Séphora | ||
|image = Sandro_Botticelli_035.jpg | |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) | |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) | ||
Ligne 45 : | Ligne 46 : | ||
====Parameters==== | ====Parameters==== | ||
− | The following parameters can be added to an ''image box''. You can use [[Help/Formatting|text formatting markup]] and [[Help/Links|links]]. The order of parameters does not have any effect on the ''image box'' layout. | + | The following parameters can be added to an ''image box''. You can use [[Help/Formatting|text formatting markup]] and [[Help/Links|links]]. The order of parameters does not have any effect on the ''image box'' layout. Parameter names are not rendered in this template. |
{| class="wikitable sortable" style="text-align:left;" | {| class="wikitable sortable" style="text-align:left;" | ||
! Parameter name !! class="unsortable"|Parameter name rendered in French !! class="unsortable"|Parameter name rendered in Hungarian !! class="unsortable"|Notes | ! 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> || ''Optional.'' If omitted, the page title is used. The title is in top middle of the infobox in bold characters. |
|- | |- | ||
− | | image || <small>''no rendered text''</small> || <small>''no rendered text''</small> || The name of an [[Help/Images|image]] ''without'' the <code>File:</code> or <code>Fichier:</code> part. | + | | image || <small>''no rendered text''</small> || <small>''no rendered text''</small> || ''Obligatory.'' The name of an [[Help/Images|image]] ''without'' the <code>File:</code> or <code>Fichier:</code> part. |
|- | |- | ||
− | | | + | | description || Nom de naissance || Születési név || Used if it is relevant. |
|- | |- | ||
| birth || Naissance || Született || Date and place of birth. | | birth || Naissance || Született || Date and place of birth. |
Version du 30 octobre 2020 à 21:21
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;
- A short description of what is represented by the image (optional);
- 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).
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. |
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 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.
Parameters
The following parameters can be added to an image 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.
Parameter name | Parameter name rendered in French | Parameter name rendered in Hungarian | Notes |
---|---|---|---|
title | no rendered text | no rendered text | Optional. 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 | Obligatory. The name of an image without the File: or Fichier: part.
|
description | Nom de naissance | Születési név | Used if it is relevant. |
birth | Naissance | Született | Date and place of birth. |
death | Décès | Elhunyt | Date and place of death. |
nationality | Nationalité | Állampolgárság | |
education | Formation | Iskolái | |
occupation | Activité | Foglalkozása | |
works | Œuvres principales | Főbb művei | List of selected works, with links to text data pages. You should use the "Author of" property in the link (as above), see Semantic links. If a given work has several authors, use the "Coauthor of" property silently (see below). |