Modèle:Crédits : Différence entre versions

De Oniropædia
m (Filtrage des notions isbn/issn selon la première publication)
m (Mise en place des outils de debug)
Ligne 1 : Ligne 1 :
<!-- Modèle en cour d'établissement, ne pas éditer merci -->
 
 
 
<!-- ici sont inséré les paramètres de catégorisation-->
 
<!-- ici sont inséré les paramètres de catégorisation-->
 
<noinclude>
 
<noinclude>
 
[[Category:Modèle|{{PAGENAME}}]]
 
[[Category:Modèle|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>
*[[Auteur|Auteurs originaux]] : {{#if:{{{auteur|}}} | {{{auteur}}} |<span style="color:#FF0000;">'''Attention, champs "auteur" vide!'''</span> }}
+
{{#if: {{{debug| }}} | <span style="color:#FF0000;" >'''Attention, mode debug actif'''</span>
 +
*[[Auteur|Auteurs originaux]] : {{#if:{{{auteur|}}} | {{{auteur}}} |<span style="color:#FF0000;">'''Attention, champs "auteur" vide!'''</span> }} | }}
 
{{#switch: {{{illustrateur}}} |aucun= |#default=*[[Illustrateur|Illustrateurs originaux]] : {{#if:{{{illustrateur|}}} | {{{illustrateur}}} |<span style="color:#FF0000;">'''Attention, champs "illustrateur" vide!'''</span> }} }} {{#if:{{{editeur|}}} | * Éditeur : {{{editeur}}} | }}
 
{{#switch: {{{illustrateur}}} |aucun= |#default=*[[Illustrateur|Illustrateurs originaux]] : {{#if:{{{illustrateur|}}} | {{{illustrateur}}} |<span style="color:#FF0000;">'''Attention, champs "illustrateur" vide!'''</span> }} }} {{#if:{{{editeur|}}} | * Éditeur : {{{editeur}}} | }}
{{ #if: {{{publication|1}}}  
+
{{ #if: {{{publication|}}}  
 
| {{#ifexpr:  
 
| {{#ifexpr:  
 
   {{ #ifeq: {{{isbn| }}} | {{concat| {|{|{isbn}|}|} }} | 1 | 0 }} or  
 
   {{ #ifeq: {{{isbn| }}} | {{concat| {|{|{isbn}|}|} }} | 1 | 0 }} or  
Ligne 23 : Ligne 22 :
 
}}
 
}}
 
{{#if:{{{cadre|}}} |*[[Cadre]] : {{{cadre}}} | }}
 
{{#if:{{{cadre|}}} |*[[Cadre]] : {{{cadre}}} | }}
{{#ifexpr: {{ #ifeq: {{{isbn| }}} | {{concat| {|{|{isbn}|}|} }} | 1 | 0 }} or {{ #ifeq: {{{issn| }}} | {{concat| {|{|{issn}|}|} }} | 1 | 0 }}
+
{{#ifexpr: {{ #if: {{{isbn| }}} | 1 | 0 }} or {{ #if: {{{issn| }}} | 1 | 0 }}
 
|*[http://fr.wikipedia.org/wiki/{{#if: {{{isbn|}}} |ISBN ISBN| {{#if:{{{issn|}}} |ISSN ISSN|ISBN ISBN}} }}] : {{#if: {{{isbn|}}} |{{{isbn}}}| {{#if: {{{issn|}}} |{{{issn}}}|&Eacute;crit jamais enregistré à l'international}} }}
 
|*[http://fr.wikipedia.org/wiki/{{#if: {{{isbn|}}} |ISBN ISBN| {{#if:{{{issn|}}} |ISSN ISSN|ISBN ISBN}} }}] : {{#if: {{{isbn|}}} |{{{isbn}}}| {{#if: {{{issn|}}} |{{{issn}}}|&Eacute;crit jamais enregistré à l'international}} }}
 
| * Format de publication originel : numérique
 
| * Format de publication originel : numérique
Ligne 29 : Ligne 28 :
 
*[[Site web]] : {{#if:{{{lien|}}} | {{{lien}}} | Cet article n'est inspiré d'aucun site web. }}
 
*[[Site web]] : {{#if:{{{lien|}}} | {{{lien}}} | Cet article n'est inspiré d'aucun site web. }}
 
*[[Licence]] : {{#if:{{{licence|}}} | {{{licence}}} | Licence d'{{SITENAME}} par défaut.}}
 
*[[Licence]] : {{#if:{{{licence|}}} | {{{licence}}} | Licence d'{{SITENAME}} par défaut.}}
 +
 +
{{#if: {{{debug|}}} | Cas issn : {{#if: {{{issn| }}} | 1 | 0 }} |}}&nbsp;
 +
{{#if: {{{debug|}}} | Cas isbn : {{#if: {{{isbn| }}} | 1 | 0 }} |}}<br />
 +
{{#if: {{{debug|}}} | Cas expr: {{#expr: {{#if: {{{isbn| }}} | 1 | 0 }} or {{#if: {{{issn| }}} | 1 | 0 }} }} | }}<br />

Version du 27 novembre 2006 à 16:28


  • Format de publication originel : numérique
  • Site web : Cet article n'est inspiré d'aucun site web.
  • Licence : Licence d'Oniropædia par défaut.