Template:Authority control: Difference between revisions

Force tracking of blank positional/unnamed params, which Module:Authority control does not use
(Undo revision 3945 by WikiDwarf (talk))
Tag: Undo
(Force tracking of blank positional/unnamed params, which Module:Authority control does not use)
Line 1: Line 1:
{{#invoke:Authority control|authorityControl}}<noinclude>{{Documentation}}</noinclude><includeonly><!-- tracking categories to compare with Wikidata  
{{#invoke:Authority control|authorityControl}}<noinclude>{{Documentation}}</noinclude><includeonly><!-- tracking categories to compare with Wikidata  
-->{{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories.  
-->{{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories.  
-->{{#invoke:Check for unknown parameters|check|WORLDCATID|unknown=[[Category:Pages using authority control with parameters]]|preview=Page using [[Template:Authority control]] with "_VALUE_", please move this to Wikidata if possible}}<!--
-->{{#invoke:Check for unknown parameters|check|ignoreblank=1|showblankpositional=1|unknown=[[Category:Pages using authority control with parameters]]|preview=Page using [[Template:Authority control]] with "_VALUE_", please move this to Wikidata if possible}}<!--
-->{{#ifeq:{{{VIAF|}}}|
-->{{#ifeq:{{{viaf|{{{VIAF|}}}}}}|
     |<!-- empty or no VIAF in template -->
     |<!-- empty or no VIAF in template -->
     |<!-- VIAF in template  
     |<!-- VIAF in template  
Line 8: Line 8:
       |<!-- no property P214 at Wikidata --> [[Category:VIAF not on Wikidata]] <!-- These we still need to import -->
       |<!-- no property P214 at Wikidata --> [[Category:VIAF not on Wikidata]] <!-- These we still need to import -->
       |<!-- property P214 at Wikidata    -->  
       |<!-- property P214 at Wikidata    -->  
       {{#ifeq:{{{VIAF|}}}|{{#property:P214}}
       {{#ifeq:{{{viaf|{{{VIAF|}}}}}}|{{#property:P214}}
         |<!-- same ID: We want to end up here -->
         |<!-- same ID: We want to end up here -->
         |[[Category:VIAF different on Wikidata]] <!-- Figure out the best link, FIXME: multiple values on Wikidata -->
         |[[Category:VIAF different on Wikidata]] <!-- Figure out the best link, FIXME: multiple values on Wikidata -->
Anonymous user