Différences entre versions de « Help/Image pages »
(Page créée avec « '''Image pages''' are used to display an image to which a ''reading'' or a literary text refers, with relevant data and a short descriptio… ») |
|||
(8 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 3 : | Ligne 3 : | ||
The image data page contains: | The image data page contains: | ||
# An [[#Image placeholder|image placeholder]] with essential data and links; | # An [[#Image placeholder|image placeholder]] with essential data and links; | ||
− | # | + | # [[#Text of the image page|Text of the image page]] about the image or about what is represented by the image (''optional but recommended''); |
# [[#Links to readings, audio, video and presentations|Links]] to readings refering to the image, or to audio, video and presentations connected to or about the image; | # [[#Links to readings, audio, video and presentations|Links]] to readings refering to the image, or to audio, video and presentations connected to or about the image; | ||
# The [[#Category tag|category tag]]; | # The [[#Category tag|category tag]]; | ||
− | # An [[#Interlanguage link tag|interlanguage link tag]] (''recommended''). | + | # An [[#Interlanguage link tag|interlanguage link tag]] (''recommended''); |
+ | # [[#Silent semantic annotations|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: | The image data page layout is hence as follows: | ||
Ligne 20 : | Ligne 21 : | ||
| 4. || <nowiki>[[Category:Images]]</nowiki> {{#info:Use ''Képek'' instead of ''Images'' for image data pages in Hungarian.}} || Categorizes the page as displaying an image. | | 4. || <nowiki>[[Category:Images]]</nowiki> {{#info:Use ''Képek'' instead of ''Images'' for image data pages in Hungarian.}} || Categorizes the page as displaying an image. | ||
|- | |- | ||
− | | 5. || <nowiki>{{interlanguagelink:fr|Séphora}}</nowiki> {{#info:Use ''hu'' instead of ''fr'' for | + | | 5. || <nowiki>{{interlanguagelink:fr|Séphora}}</nowiki> {{#info:Use ''hu'' instead of ''fr'' for image data pages in Hungarian.}} || Declares the language code of the content for [[Help/Interlanguage links|interlanguage links]] that connect pages with similar content for different languages. |
+ | |- | ||
+ | | 6. || <nowiki>{{#set: En lien avec=Du côté de chez Swann}}</nowiki> || Silent semantic annotations to connected author or text data pages. | ||
|} | |} | ||
Ligne 27 : | Ligne 30 : | ||
This is the first element of an image data page. It is created with an ''image'' template. | 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: | ||
+ | <pre> | ||
+ | {{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) | ||
+ | }} | ||
+ | </pre> | ||
+ | Which gives: | ||
+ | {{Image | ||
+ | |class = infobox | ||
+ | |title = Séphora | ||
+ | |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) | ||
+ | }} | ||
+ | You should start the ''image placeholder box'' with the <code><nowiki>{{Image</nowiki></code> line. After the first line, every line begins with a pipe (<code>|</code>) followed by a parameter name and the value of the parameter (<code>|''parameter'' = ''value''</code>). After the parameters, don't forget to close the infobox with the <code><nowiki>}}</nowiki></code> 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 [[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, only values appear. | ||
+ | {| class="wikitable" style="text-align:left;" | ||
+ | ! 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 [[Help/Images|image]] ''without'' the <code>File:</code> or <code>Fichier:</code> 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") [[Help/Semantic_links#Properties_to_use_in_the_Rich_Annotator_System|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|silent semantic annotations]] instead. | ||
+ | |||
+ | |||
+ | ===Links to readings, audio, video and presentations=== | ||
+ | Automatic reference lists are called with the help of <code><nowiki>{{Référence}}</nowiki></code> or <code><nowiki>{{Referencia}}</nowiki></code> 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: <code><nowiki>{{Référence|cette œuvre}}</nowiki></code>. | ||
+ | * if the image data page is in Hungarian, add the parameter "mű" or "kép", or any phrase that describes the image, like this: <code><nowiki>{{Referencia|mű}}</nowiki></code>. | ||
+ | |||
+ | If there are links with "Refers to" (or "Fait référence à") [[Help/Semantic_links#Properties_to_use_in_the_Rich_Annotator_System|property]] pointing to the page, they are automatically listed. | ||
+ | * If you call the <code><nowiki>{{Référence|cette œuvre}}</nowiki></code> tag, links are listed after this text: "Les lectures suivantes font référence à cette œuvre :". | ||
+ | * If you call the <code><nowiki>{{Referencia|mű}}</nowiki></code> tag, links are listed after this text: "Az alábbi olvasatok utalnak erre a műre:".{{#info:Note the suffix ''-re'', which fits 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 [[Help/Texts|texts]]. | ||
+ | |||
+ | If there are links with "Linked to" (or "En lien avec") [[Help/Semantic_links#Properties_to_use_in_the_Rich_Annotator_System|property]] pointing to the page, they are automatically listed. | ||
+ | * If you call the <code><nowiki>{{Référence|cette œuvre}}</nowiki></code> tag, links are listed after this text: "Images, vidéos ou présentations en lien avec cette œuvre :". | ||
+ | * If you call the <code><nowiki>{{Referencia|mű}}</nowiki></code> 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 [[Help/Texts|texts]]. | ||
+ | |||
+ | {{#far:bell}} You only have to use the ''reference'' tag '''once'''; the two types of links are called with the same tag. | ||
+ | |||
+ | |||
+ | ===Category tag=== | ||
+ | * <code><nowiki>[[Category:Images]]</nowiki></code> for image data pages in French. | ||
+ | * <code><nowiki>[[Category:Képek]]</nowiki></code> for image data pages in Hungarian. | ||
+ | |||
+ | |||
+ | ===Interlanguage link tag=== | ||
+ | The same image can have several data pages in different languages. You can link these pages with [[Help/Interlanguage links|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 <code><nowiki>{{interlanguagelink:fr|Séphora}}</nowiki></code> tag, the first argument specifies the language code (<code>fr</code>, <code>hu</code>) of the content, while the second argument contains an arbitrary reference (in this case, <code>Séphora</code>) 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 [[Help/Semantic_links#Silent_annotations|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 <code>#set</code> 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. | ||
Version actuelle datée du 30 octobre 2020 à 23:55
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 image 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 fits 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 image data pages in French.[[Category:Képek]]
for image 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.