« MediaWiki:Proofreadpage index template » : différence entre les versions

Contenu supprimé Contenu ajouté
Aucun résumé des modifications
Annulation des modifications 7272212 de Tpt (discussion)
Balise : Annulation
Ligne 1 :
<includeonly>{{#invoke<span id="ws-scan" style="display:Indexnone; template|indexTemplatespeak:none;">{{PAGENAMEE}}</includeonlyspan>
<div style="{{#if:{{{Sommaire|}}}{{{Epigraphe|}}}|width:53%;}} display:block; float:left;">
{{#if:{{{Image|}}}|<div style="display:block; float:left; overflow:hidden; border:thin grey solid;">{{#iferror: {{#expr: 1 + {{{Image}}} }} | {{#ifexist:Media:{{{Image}}} | [[File:{{{Image}}}|160px]] | {{{Image}}} }} | <span id="ws-cover" style="display:none; speak:none;">{{PAGENAMEE}}/{{{Image}}}</span>[[Image:{{PAGENAMEE}}|page={{{Image}}}|160px]]}}</div>}}
<div style="{{#if:{{{Image|}}}|margin-left:150px; display:block;}}">
{|
! valign="top" scope="row" {{!}} {{#ifeq:{{{Type|}}}|journal|Journal|Titre}}
| id="ws-title" | {{{Titre}}}
|-
{{#if:{{{Sous_titre|}}}|
! valign="top" scope="row" {{!}} Sous-titre
{{!}} id="ws-subtitle" {{!}} {{{Sous_titre}}}
{{!-}}
}}
{{#if:{{{Volume|}}}|
! valign="top" scope="row" {{!}} Volume
{{!}} id="ws-volume" {{!}} {{{Volume}}}
{{!-}}
}}
{{#if:{{{Auteur|}}}|
! valign="top" scope="row" {{!}} Auteur
{{!}} id="ws-author" {{!}} {{{Auteur}}}
{{!-}}
}}
{{#if:{{{Traducteur|}}}|
! valign="top" scope="row" {{!}} Traducteur
{{!}} id="ws-translator" {{!}} {{{Traducteur}}}
{{!-}}
}}
{{#if:{{{Editeur_scientifique|}}}|
! valign="top" scope="row" {{!}} Éditeur
{{!}} {{{Editeur_scientifique}}}
{{!-}}
}}
{{#if:{{{Illustrateur|}}}|
! valign="top" scope="row" {{!}} Illustrateur
{{!}} id="ws-illustrator" {{!}} {{{Illustrateur}}}
{{!-}}
}}
{{#if:{{{School|}}}|
! id="ws-school" valign="top" scope="row" {{!}} École
{{!}} id="ws-school" {{!}} {{{School}}}
{{!-}}
}}
{{#if:{{{Editeur|}}}|
! valign="top" scope="row" {{!}} Maison&nbsp;d’édition
{{!}} id="ws-publisher" {{!}} {{{Editeur}}}
{{!-}}
}}
{{#if:{{{Lieu|}}}|
! valign="top" scope="row" {{!}} Lieu&nbsp;d’édition
{{!}} id="ws-place" {{!}} {{{Lieu}}}
{{!-}}
}}
{{#if:{{{Annee|}}}|
! valign="top" scope="row" {{!}} Année&nbsp;d’édition
{{!}} id="ws-year" {{!}} {{{Annee}}}
{{!-}}
}}
{{#if:{{{Publication|}}}|
! valign="top" scope="row" {{!}} Publication&nbsp;originale
{{!}} {{{Publication}}}
{{!-}}
}}
{{#if:{{{Bibliotheque|}}}{{{BNF_ARK|}}}|
! valign="top" scope="row" {{!}} Bibliothèque
{{!}} {{#if:{{{BNF_ARK|}}}|[http://gallica.bnf.fr/ark:/12148/{{{BNF_ARK|}}} Bibliothèque nationale de France][[Category:Facsimilés issus de Gallica]]{{#if:{{{Bibliotheque}}}|<br />}}}}{{{Bibliotheque|}}}
{{!-}}
}}
{{#if:{{{Source|}}}|
! valign="top" scope="row" {{!}} Fac-similés
{{!}} {{#switch:{{{Source|}}}|djvu=[[:File:{{PAGENAMEE}}|djvu]]|pdf=[[:File:{{PAGENAMEE}}|pdf]][[category:Livre non djvu]]|{{{Source}}}[[category:Livre non djvu]] }}
{{!-}}
}}
! scope="row" {{!}} Avancement
{{!}}{{#switch:{{{Avancement|}}}
|T=[[category:Livres terminés]][[:category:Livres terminés|Terminé]]
|V=[[category:Livres à valider]][[:category:Livres à valider|À valider]]
|C=[[category:Livres à corriger]][[:category:Livres à corriger|À corriger]]
|MS=[[category:Livres à découper]][[:category:Livres à découper|Texte prêt à être découpé]]
|OCR=[[category:Livres sans couche texte]][[:category:Livres sans couche texte|Ajouter une couche texte d’OCR]]
|X=[[category:Extraits et compilations]][[:category:Extraits et compilations|Source incomplète: extrait ou compilation]]
|D=[[category:Doublons]][[:category:Doublons|Index en double]]
|L=[[category:Livres à réparer]]<span style="color: #FF0000; ">[[:category:Livres à réparer|Fichier source défectueux]]</span>
|#default=[[Category:Livres d’avancement inconnu]][[:category:Livres d’avancement inconnu|Avancement inconnu]]}}
{{!-}}
{{#if:{{{Tomes|}}}|
! valign="top" scope="row" {{!}} Série
{{!}} {{{Tomes}}}
{{!-}}
}}
|}
</div>
<div style="clear:both;">
<br />
'''Pages'''
<div id=pagelist style="background:#F0F0F0;padding-left:0.5em; text-align:justify;">
{{{Pages}}}
</div>
</div>
</div>
<div style="{{#if:{{{Sommaire|}}}{{{Epigraphe|}}}|width:44%;}} padding-left:1em; display:block; float:right;">
<br/>
{{#if:{{{Sommaire|}}}|
<div id="sommaire"><div id="ws-summary">
{{{Sommaire|}}}
</div></div>|[[Catégorie:Sommaire manquant]]}}
{{#if:{{{Epigraphe|}}}|
<hr style="margin-top:1em; margin-bottom:1em"/>
<div id="epigraphe">
{{{Epigraphe|}}}
</div>
}}
</div>
<div style="clear:both;"></div>
{{DEFAULTSORT:{{{Clef|}}}}}
{{#switch: {{{Type|}}} | book= [[Catégorie:Index - Livres]] | journal = [[Catégorie:Index - Périodiques]] | collection = [[Catégorie:Index - Recueils]] | dictionary = [[Catégorie:Index - Dictionnaires]] | phdthesis = [[Catégorie:Index - Thèses]] }}
[[Catégorie:Index]]
</includeonly>
<noinclude>
Ce modèle sert à afficher les [[Aide:Espace « Livre »|pages d’index]].
Il est modifiable par les [[Wikisource:Administrateurs|administrateurs]] du site. Il utilise le module Lua [[Module:Index template|Index template]].
 
Pour ajouter/retirer des champs au formulaire, il faut modifier [[MediaWiki:Proofreadpage index attributes]].