Template:Authority control: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Docu adapted from Template:Commons category |
meta>Docu m fix for empty |
||
Line 2: | Line 2: | ||
{{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories. --> | {{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories. --> | ||
{{#if:{{#property:P214}} | {{#if:{{#property:P214}} | ||
| {{# | | {{#ifeq:{{{VIAF|}}}||<!-- empty or no VIAF --> | ||
| {{#ifeq:{{#property:P214}}|{{{VIAF|}}} | | {{#ifeq:{{#property:P214}}|{{{VIAF|}}} | ||
| <!-- 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 --> | | [[Category:VIAF different on Wikidata]] <!-- Figure out the best link --> | ||
}} | }} | ||
}} | |||
| [[Category:VIAF not on Wikidata]] <!-- These we still need to import --> | | [[Category:VIAF not on Wikidata]] <!-- These we still need to import --> | ||
}} | }} | ||
}}</includeonly> | }}</includeonly> |