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

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
Aucun résumé des modifications
Hiob (discussion | contributions)
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<div class="hproduct"><table class="toccolours vevent" style="width: 100%; direction: {{Dir|{{int:lang}} }};" cellpadding="4"><!-- Description --><tr style="vertical-align: top"><td id="fileinfotpl_desc" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Description</td><td><span class="description">{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description manquante}} }}</span></td></tr><!-- Other fields 1 -->{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}<!-- Date --><tr style="vertical-align: top"><td id="fileinfotpl_date" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Date</td><td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td></tr><!-- Source --><tr style="vertical-align: top"><td id="fileinfotpl_src" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Source</td><td>{{ #if: {{{source|{{{Source|}}} }}} | {{Parse source|{{{source|{{{Source|}}} }}} }} | {{Source inconnue}} }}</td></tr><!-- Author --><tr style="vertical-align: top"><td id="fileinfotpl_aut" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Auteur</td><td>{{ #if: {{{author|{{{Author|}}} }}} | {{Information/author processing|author={{{author|{{{Author|}}} }}}}} | {{Auteur inconnue}} }}</td></tr><!-- Permission -->{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|<tr style="vertical-align: top"><td id="fileinfotpl_perm" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Permission<br /></td><td>{{{permission|{{{Permission|}}} }}}</td></tr>}}<!-- Other versions -->{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}|  =| - =| none =| #default = <tr style="vertical-align: top"><td id="fileinfotpl_ver" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Autres versions</td><td>{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}</td></tr>}}<!-- Other fields -->{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}} }}} }}} }}}</table></div>{{#if:{{{License|{{{license|}}} }}}|[[Category:Information template using 'License' parameter]]}}<noinclude></noinclude>
<includeonly>{| class="toccolours" style="width: 100%" cellpadding="2"
! scope="row" style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em; width: 15%" |Description
|
{{ #switch: {{{Description|}}}
| Indiquez ici toutes informations utiles pour comprendre ce que l'image représente = {{Fichier sans description}}
| Logo de [[nom exemplaire]] = {{Fichier sans description}}
| = {{Fichier sans description}}
| {{{Description|}}}
}}
|-
! scope="row" style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em" | Source
|
{{ #switch: {{{Source|}}}
| Indiquez ici l'adresse web où a été trouvée l'image initialement = {{Source inconnue}}
| = {{Source inconnue}}
| {{{Source|}}}
}}
|-
! scope="row" style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em" | Date
|
{{{Date|}}}
|-
! scope="row" style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em" | Auteur
|
{{{Auteur|{{{Author|}}}}}}
|-
! scope="row" style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em" | Permission
|
{{{Permission|{{{Licence|}}}}}}
{{#if: {{{autres_versions|{{{other_versions|}}}}}} | <tr><th scope="row" style="background: #ccf; text-align: right; vertical-align: middle; padding-right: 0.4em">Autres versions</th><td>
{{{autres_versions|{{{other_versions|}}}}}}</td></tr>}}
|}</includeonly><noinclude>
{{documentation modèle en sous-page}}
{{{{PAGENAME}}/Documentation}}
[[Catégorie:Modèle de l'espace Fichier|{{PAGENAME}}]]
</noinclude>

Version du 23 avril 2013 à 18:58

Modèle:Méta documentation modèle

Utilisation

Pour les pages de média : affiche un tableau standardisé fournissant une information complète sur le fichier, incluant une description du sujet, des renseignements sur la façon dont il a été réalisé, sur sa source et son statut légal.

Syntaxe
{{Information  |Description=  |Source=  |Date=  |Auteur=  |Permission=  |[autres_versions=]}}
;Paramètres
Pour une explicitation des paramètres et des conseils pour bien les renseigner, voir commons:Commons:Premiers_pas/Qualité_et_description.
Exemple

Exemple du code source de Image:Anaximander world map-fr.svg :

{{Information|Description=Reconstitution hypothétique de la première carte du monde perdue d'Anaximandre, basée sur l'ouvrage de John Mansley Robinson, ''Introduction to Early Greek Philosophy''. Version initiale en PNG par [[:en:User:Gwwfps|User:Gwwfps]] : [[:en:Image:Anaximandermap.png]].|Source=Réalisation personnelle|Date=12 décembre 2006|Auteur=[[Utilisateur:Bibi Saint-Pol]]|Permission=Publié sous licence CC-BY-SA-2.5|autres_versions=<gallery>Image:Anaximander world map-de.svg|Version allemandeImage:Anaximander_world_map-en.svg|Version anglaise</gallery>}}
qui donne
Description

Reconstitution hypothétique de la première carte du monde perdue d'Anaximandre, basée sur l'ouvrage de John Mansley Robinson, Introduction to Early Greek Philosophy. Version initiale en PNG par User:Gwwfps : en:Image:Anaximandermap.png.

Source

Réalisation personnelle

Date

12 décembre 2006

Auteur

Utilisateur:Bibi Saint-Pol

Permission

Publié sous licence CC-BY-SA-2.5

Autres versions