Difference between pages "Template:Authority control" and "Template:Authority control/sandbox"
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
− | {{#invoke:Authority control|authorityControl}}<noinclude>{{Documentation}}</noinclude><includeonly><!-- tracking categories to | + | {{#invoke:Authority control/sandbox|authorityControl}}<noinclude>{{Documentation}}</noinclude><includeonly><!-- Some tracking categories to see if we're ready to switch to Wikidata --> |
− | -->{{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories. | + | {{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories. --> |
− | -->{{# | + | {{#if:{{#property:P214}} |
− | + | | {{#if:{{{VIAF|}}} | |
− | + | | {{#ifeq:{{#property:P214}}|{{{VIAF|}}} | |
− | + | | <!-- same ID: We want to end up here --> | |
− | + | | [[Category:VIAF different on Wikidata]] <!-- Figure out the best link --> | |
− | + | }} | |
− | + | | }} | |
− | + | | [[Category:VIAF not on Wikidata]] <!-- These we still need to import --> | |
− | + | }} | |
− | |||
− | |||
− | |||
}}</includeonly> | }}</includeonly> |