Aller au contenu

« Modèle:Infobox Photographie » : différence entre les versions

De Archive RW
Archive RW (discussion | contributions)
Aucun résumé des modifications
Archive RW (discussion | contributions)
Aucun résumé des modifications
Ligne 6 : Ligne 6 :
<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>
<div style="text-align: center; margin-bottom: 15px;">[[Fichier:{{{image|}}}|frameless|center|280px|alt={{{titre|}}} - Photographie par {{{artiste|}}}]]
{{#if:{{{image|}}}|
<div style="text-align: center; margin-bottom: 15px;">[[Fichier:{{{image}}}|frameless|center|280px|alt={{{titre|}}} - Photographie par {{{artiste|}}}]]
<div style="font-size: 0.85em; color: #555; margin-top: 6px; font-style: italic;">{{{legende_image|}}}</div></div>
<div style="font-size: 0.85em; color: #555; margin-top: 6px; font-style: italic;">{{{legende_image|}}}</div></div>
}}
<table style="width: 100%; border-collapse: collapse; line-height: 1.6;">
<table style="width: 100%; border-collapse: collapse; line-height: 1.6;">
<tr style="border-bottom: 1px solid #eee;"><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; width: 35%; font-weight: normal;">Auteur</th><td style="padding: 6px 0; font-weight: bold;">{{{artiste|}}}</td></tr>
{{#if:{{{artiste|}}}|
<tr style="border-bottom: 1px solid #eee;"><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; font-weight: normal;">Date de création</th><td style="padding: 6px 0;">{{{annee|}}}</td></tr>
<tr style="border-bottom: 1px solid #eee;"><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; width: 35%; font-weight: normal;">Auteur</th><td style="padding: 6px 0; font-weight: bold;">{{{artiste}}} <span style="display:none;" class="wikidata-link" data-wikidata="Q140564141"></span></td></tr>
<tr style="border-bottom: 1px solid #eee;"><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; font-weight: normal;">Support / Type</th><td style="padding: 6px 0;">{{{support|}}}</td></tr>
}}
<tr style="border-bottom: 1px solid #eee;"><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; font-weight: normal;">Dimensions</th><td style="padding: 6px 0;">{{{dimensions|}}}</td></tr>
{{#if:{{{annee|}}}|
<tr style="border-bottom: 1px solid #eee;"><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; font-weight: normal;">Édition</th><td style="padding: 6px 0;">{{{edition|}}}</td></tr>
<tr style="border-bottom: 1px solid #eee;"><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; font-weight: normal;">Date de création</th><td style="padding: 6px 0;">{{{annee}}}</td></tr>
<tr><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; font-weight: normal;">Technique</th><td style="padding: 6px 0;">{{{appareil|}}}</td></tr>
}}
{{#if:{{{support|}}}|
<tr style="border-bottom: 1px solid #eee;"><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; font-weight: normal;">Support / Type</th><td style="padding: 6px 0;">{{{support}}}</td></tr>
}}
{{#if:{{{dimensions|}}}|
<tr style="border-bottom: 1px solid #eee;"><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; font-weight: normal;">Dimensions</th><td style="padding: 6px 0;">{{{dimensions}}}</td></tr>
}}
{{#if:{{{edition|}}}|
<tr style="border-bottom: 1px solid #eee;"><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; font-weight: normal;">Édition</th><td style="padding: 6px 0;">{{{edition}}}</td></tr>
}}
{{#if:{{{appareil|}}}|
<tr><th style="text-align: left; vertical-align: top; padding: 6px 0; color: #666; font-weight: normal;">Technique</th><td style="padding: 6px 0;">{{{appareil}}}</td></tr>
}}
</table>
</table>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
Ligne 28 : Ligne 42 :
  | legende_image =  
  | legende_image =  
  | artiste =  
  | artiste =  
  | annee =  
  | annee =  
  | lieu =  
  | lieu =  
  | dimensions =  
  | dimensions =  

Version du 30 juillet 2026 à 21:23

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 = 
}}