« Modèle:Infobox Photographie » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
{{#seo: | <includeonly>{{#seo: | ||
|title={{{titre|}}} – Photographie de {{{artiste|}}} | {{{annee|}}} | |title={{{titre|}}} – Photographie de {{{artiste|}}}{{#if:{{{annee|}}}| ({{{annee|}}})}} | ||
|description={{{description_courte|}}} | |description={{{description_courte|}}} | ||
|type=article | |type=article | ||
|image={{#if:{{{image|}}}|{{filepath:{{{image}}}|}}}} | |||
}} | }} | ||
<!-- Schema.org JSON-LD --> | |||
<script type="application/ld+json"> | |||
{ | |||
"@context": "https://schema.org", | |||
"@type": "VisualArtwork", | |||
"name": "{{{titre|}}}", | |||
"artist": {"@type": "Person", "name": "{{{artiste|}}}"}, | |||
"dateCreated": "{{{annee|}}}", | |||
"artform": "Photography", | |||
"artMedium": "{{{support|}}}", | |||
"image": "{{#if:{{{image|}}}|{{filepath:{{{image}}}|}}}}", | |||
"description": "{{{description_courte|}}}" | |||
} | |||
</script> | |||
<div class="infobox-photo" style="float:right; width:320px; ..."> | |||
... | |||
</div> | |||
== Description == | |||
{{{description|}}} | |||
== Contexte == | |||
{{#if:{{{serie|}}}|Cette œuvre fait partie de la série « [[{{{serie}}}]] ».}} | |||
{{#if:{{{lieu|}}}|Elle a été réalisée à [[{{{lieu}}}]].}} | |||
== Voir aussi == | |||
* {{#if:{{{artiste|}}}|[[{{{artiste}}}]] — Page de l'artiste}} | |||
* [[Catégorie:{{{support|}}}]] | |||
* [[Catégorie:{{{annee|}}}]] | |||
</includeonly> | |||
<div style="float: right; clear: right; width: 320px; border: 1px solid #e0e0e0; background-color: #fbfbfb; margin: 0 0 1em 1em; padding: 20px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-size: 0.95em; color: #222;"> | <div style="float: right; clear: right; width: 320px; border: 1px solid #e0e0e0; background-color: #fbfbfb; margin: 0 0 1em 1em; padding: 20px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-size: 0.95em; color: #222;"> | ||
<div style="font-size: 1.3em; font-weight: 600; text-align: center; margin-bottom: 15px; color: #111; border-bottom: 3px solid #8b0000; padding-bottom: 8px;">{{{titre|}}}</div> | <div style="font-size: 1.3em; font-weight: 600; text-align: center; margin-bottom: 15px; color: #111; border-bottom: 3px solid #8b0000; padding-bottom: 8px;">{{{titre|}}}</div> | ||
Version du 30 juillet 2026 à 21:28
</includeonly>
Documentation du modèle
Ce modèle sert à afficher les informations d'une photographie.
Utilisation
Copiez ce code sur la page de l'œuvre :
{{Infobox Photographie
| titre =
| image =
| legende_image =
| artiste =
| annee =
| lieu =
| dimensions =
| edition =
| appareil =
| description_courte =
}}