Template:Authority control: Difference between revisions

From Jonesipedia
Jump to navigation Jump to search
m 1 revision imported
m 1 revision imported
 
(One intermediate revision by one other user not shown)
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><noinclude>
-->{{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories.  
</noinclude>{{#switch:{{NAMESPACE}}||{{ns:14}}=<noinclude> Only articles and categories.  
-->{{#invoke:Check for unknown parameters|check|ignoreblank=1|showblankpositional=1|unknown=[[Category:Pages using authority control with parameters|_VALUE_]]|preview=Page using [[Template:Authority control]] with "_VALUE_", please move this to Wikidata if possible}}<!--
</noinclude>{{#invoke:Check for unknown parameters|check|arts|state|ignoreblank=1|showblankpositional=1|unknown=[[Category:Pages using authority control with parameters|_VALUE_]]|preview=Page using [[Template:Authority control]] with "_VALUE_", please move this to Wikidata if possible}}
-->{{#ifeq:{{{viaf|{{{VIAF|}}}}}}|
    |<!-- empty or no VIAF in template -->
    |<!-- VIAF in template
  -->{{#ifeq:{{#property:P214}}|
      |<!-- no property P214 at Wikidata --> [[Category:VIAF not on Wikidata]] <!-- These we still need to import -->
      |<!-- property P214 at Wikidata    -->
      {{#ifeq:{{{viaf|{{{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 -->
      }}
    }}
  }}
}}</includeonly>
}}</includeonly>

Latest revision as of 10:40, 27 September 2021

<templatestyles src="Module:Documentation/styles.css"></templatestyles>