« Modèle:Infobox Prélat catholique » : différence entre les versions
Aller à la navigation
Aller à la recherche
corrige le problème de code "trainant". La fonctionnalité ajouté, le rapatriement de l'id Catholic Hierarchy depuis WIkidata, est àmha très peu sujet à débat et une discussion serait assez superflu étant donné le peu d'activité de la PDD |
|||
| Ligne 248 : | Ligne 248 : | ||
}} | }} | ||
{{Infobox/Ligne optionnelle | {{Infobox/Ligne optionnelle | ||
|{{{ch|}}}|[http://www.catholic-hierarchy.org/bishop/b{{{ch}}}.html <small>{{en}} Notice sur ''www.catholic-hierarchy.org'']</small> | |{{{ch|{{#property:P1047}}}}}|[http://www.catholic-hierarchy.org/bishop/b{{{ch|{{#property:P1047}}}}}.html <small>{{en}} Notice sur ''www.catholic-hierarchy.org'']</small> | ||
}} | }} | ||
{{Infobox/Ligne optionnelle | {{Infobox/Ligne optionnelle | ||
| Ligne 256 : | Ligne 256 : | ||
| Infobox Prélat catholique|{{Paramètre infobox couleur fond titre modifiable-fond|{{Infobox Prélat catholique/Charte graphique|1={{{titre|}}}}}}} | | Infobox Prélat catholique|{{Paramètre infobox couleur fond titre modifiable-fond|{{Infobox Prélat catholique/Charte graphique|1={{{titre|}}}}}}} | ||
}} | }} | ||
{{Infobox/Fin}}{{Suivi des biographies|Religion}}</includeonly><noinclude>{{Documentation}}</noinclude> | {{Infobox/Fin}}{{Suivi des biographies|Religion}}<nowiki />{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if:{{{ch|}}}|{{#if:{{#property:P1047}}|<!-- both the parameter and the wikidata property exist: compare the two ... -->{{#ifeq:{{{ch}}}|{{#property:P1047}}|<!-- they are equal: do nothing -->|<!-- they are different: add this page to the error category -->[[Catégorie:Page avec un identifiant Catholic Hierarchy incorrect]]}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude> | ||