Vorlage:IMDb: Unterschied zwischen den Versionen

(Änderung 144962564 von Queryzo rückgängig gemacht;)
(neue Wartungsliste reaktiviert, "Verschiedene Kenner in Wikipedia und Wikidata" auskommentiert, derzeit nicht praktikabel)
Zeile 27: Zeile 27:
                                   | /{{Str match|{{SEITENNAME}}|%s([0-9]+)|1}}
                                   | /{{Str match|{{SEITENNAME}}|%s([0-9]+)|1}}
                               }}
                               }}
                           }}<!--
                           }} <span><!--
          --><span> }} <!--
                  -->}}<!--
                     -->{{#if: {{{2|}}} | {{{2|}}} | <!--
                     -->{{#if: {{{2|}}} | {{{2|}}} | <!--
                         -->{{#if: {{{3|{{{typ|}}}}}}
                         -->{{#if: {{{3|{{{typ|}}}}}}
Zeile 40: Zeile 40:
                     | <span class="error">fehlerhafte Einbindung der Vorlage (Fehler 5: Unerlaubter Wert für <code>typ</code>)</span><!--
                     | <span class="error">fehlerhafte Einbindung der Vorlage (Fehler 5: Unerlaubter Wert für <code>typ</code>)</span><!--
                     --><span style="display:none">[[Vorlage:IMDb/Wartung/Unerlaubter Wert für typ]]</span>
                     --><span style="display:none">[[Vorlage:IMDb/Wartung/Unerlaubter Wert für typ]]</span>
                     }}
                     }}<!--
                    -->{{#if: {{#invoke:Wikidata|pageId}} | {{#if: {{#property:P345}} |  | {{#ifeq: {{#invoke:Wikidata|claim|P31}} | Film | <span style="display:none">[[Vorlage:IMDb/Wartung/IMDb-Kennung von Filmen in Wikipedia, jedoch nicht in Wikidata vorhanden]]</span> |  }} }} |  }}
                   | <span class="error">unbekannte IMDb-Kennung (Fehler 4: 2-Zeichen-Kürzel entspricht nicht <code>tt</code>, <code>nm</code>, <code>ch</code>, <code>co</code> oder <code>ev</code>)</span><!--
                   | <span class="error">unbekannte IMDb-Kennung (Fehler 4: 2-Zeichen-Kürzel entspricht nicht <code>tt</code>, <code>nm</code>, <code>ch</code>, <code>co</code> oder <code>ev</code>)</span><!--
                 --><span style="display:none">[[Vorlage:IMDb/Wartung/IMDb-Kennung ungültig]]</span>
                 --><span style="display:none">[[Vorlage:IMDb/Wartung/IMDb-Kennung ungültig]]</span>
Zeile 68: Zeile 69:
}}{{#ifexpr: {{NAMESPACENUMBER}} = 0  
}}{{#ifexpr: {{NAMESPACENUMBER}} = 0  
     | {{#if: {{#invoke:Wikidata|pageId}}
     | {{#if: {{#invoke:Wikidata|pageId}}
         | {{#if: {{Booland|{{{1|}}}|{{#property:P345}}}}
         | <!--{{#if: {{Booland|{{{1|}}}|{{#property:P345}}}}
             | {{#ifeq: {{#property:P345}} | {{{1|}}} |  
             | {{#ifeq: {{#property:P345}} | {{{1|}}} |  
                   | <span style="display:none">[[Vorlage:IMDb/Wartung/Verschiedene Kenner in Wikipedia und Wikidata]]</span>
                   | <span style="display:none">[[Vorlage:IMDb/Wartung/Verschiedene Kenner in Wikipedia und Wikidata]]</span>
               }}
               }}
           }}<!--
           }}
       -->{{#if: {{Booland|{{{2|}}}|{{#property:P345}}}}
       -->{{#if: {{Booland|{{{2|}}}|{{#property:P345}}}}
             | {{#if: {{Boolxor|{{#ifeq: {{{2|}}} | {{#invoke:Wikidata|labelOf}} | 1 | }}|{{#ifeq: {{{2|}}} | {{Str match|{{#invoke:Wikidata|labelOf}}|([^–]+)%s–%s|1}} | 1 | }}}} |
             | {{#if: {{Boolxor|{{#ifeq: {{{2|}}} | {{#invoke:Wikidata|labelOf}} | 1 | }}|{{#ifeq: {{{2|}}} | {{Str match|{{#invoke:Wikidata|labelOf}}|([^–]+)%s–%s|1}} | 1 | }}}} |