Πρότυπο:Authority control: Διαφορά μεταξύ των αναθεωρήσεων

Από Βικιθήκη
Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Docu (συζήτηση | Συνεισφορά)
μ fix for empty
Docu (συζήτηση | Συνεισφορά)
μ fix for empty
Γραμμή 1: Γραμμή 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. -->
{{#if:{{#property:P214}}
{{#ifeq:{{{VIAF|}}}|
| {{#ifeq:{{{VIAF|}}}||<!-- empty or no VIAF -->
|<!-- empty or no VIAF in template -->
|<!-- VIAF in template
| {{#ifeq:{{#property:P214}}|{{{VIAF|}}}
-->{{#ifeq:{{#property:P214}}|
| <!-- same ID: We want to end up here -->
| [[Category:VIAF different on Wikidata]] <!-- Figure out the best link -->
|<!-- no property P214 at Wikidata --> [[Category:VIAF not on Wikidata]] <!-- These we still need to import -->
|<!-- property P214 at Wikidata -->
}}
{{#ifeq:{{{VIAF|}}}|{{#property:P214}}
|<!-- 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 not on Wikidata]] <!-- These we still need to import -->
}}
}}</includeonly>
}}</includeonly>

Αναθεώρηση της 09:42, 5 Ιανουαρίου 2014

Τεκμηρίωση προτύπου[προβολή] [επεξεργασία] [ιστορικό] [ανανέωση]