「テンプレート:Authority control」の版間の差分

Undid revision 917353006 by Tom.Reding (talk); rv when adding support for d:Property:P7859 as per request
(1版)
 
bsd>Uzume
(Undid revision 917353006 by Tom.Reding (talk); rv when adding support for d:Property:P7859 as per request)
1行目: 1行目:
{{#if:{{{bare|}}}||
{{#invoke:Authority control|authorityControl}}<noinclude>{{Documentation}}</noinclude><includeonly><!-- tracking categories to compare with Wikidata
<table class="toccolours" style="width: 100%; direction: {{Dir|{{int:lang}} }};" cellpadding="4">
-->{{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories.
<tr style="vertical-align: top">
-->{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using authority control with parameters]]|preview=Page using [[Template:Authority control]] with "_VALUE_", please move this to Wikidata if possible}}<!--
<td style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{Authority control tag}}
-->{{#ifeq:{{{VIAF|}}}|
</td>
    |<!-- empty or no VIAF in template -->
<td>}}<div class="hlist">
    |<!-- VIAF in template
{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{VIAF|}}} |
  -->{{#ifeq:{{#property:P214}}|
*{{Authority control/VIAF |{{{VIAF}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{LCCN|}}} |
      |<!-- no property P214 at Wikidata --> [[Category:VIAF not on Wikidata]] <!-- These we still need to import -->
*{{Authority control/LCCN |{{{LCCN}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{ARC|{{{NAID|}}}}}} |
      |<!-- property P214 at Wikidata    -->  
*{{Authority control/NAID |{{{ARC|{{{NAID}}}}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{GND|{{{PND|}}}}}} |
      {{#ifeq:{{{VIAF|}}}|{{#property:P214}}
*{{Authority control/GND |{{{GND|{{{PND|}}}}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{SELIBR|}}} |  
        |<!-- same ID: We want to end up here -->
*{{Authority control/SELIBR |{{{SELIBR}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{BNF|}}} |
        |[[Category:VIAF different on Wikidata]] <!-- Figure out the best link, FIXME: multiple values on Wikidata -->
*{{Authority control/BNF |{{{BNF}}}}}}}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{SUDOC|}}} |
      }}
*{{Authority control/SUDOC |{{{SUDOC}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{BPN|}}} |
    }}
*{{Authority control/BPN |{{{BPN}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{ULAN|}}} |  
  }}
*{{Authority control/ULAN |{{{ULAN}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{ORCID|}}} |
}}</includeonly>
*{{Authority control/ORCID |{{{ORCID}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{RID|}}} |
*{{Authority control/RID |{{{RID}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{ISNI|}}} |
*{{Authority control/ISNI |{{{ISNI}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{BIBSYS|}}} |
*{{Authority control/BIBSYS |{{{BIBSYS}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{KID|}}} |
*{{Authority control/KID |{{{KID}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{FotoBibl|}}} |  
*{{Authority control/FotoBibl |{{{FotoBibl}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{Museofile|}}} |
*{{Authority control/Museofile |{{{Museofile}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{LCCN|}}}{{{VIAF|}}}{{{WORLDCATID|}}} |
*{{Authority control/WorldCat |{{{WORLDCATID|}}}|{{{LCCN|}}}|{{{VIAF|}}}}} }}{{#if:{{{demo|<noinclude>1</noinclude>}}}{{{TSURL|{{{DENAME|}}}}}} |
*{{Authority control/TSURL |{{{TSURL|{{{DENAME|}}}}}}}} }}
</div>{{#if:{{{bare|}}}||</td></tr></table>}}<!--  
-->{{#ifeq:{{NAMESPACE}}|Category|[[Category:Categories with authority control data]]}}<!--  
-->{{#if:{{{bare|}}}|{{Authority control tag: bare}}| {{Authority control tag: stand-alone}} }}<!--  
-->{{#if: {{{VIAF|}}}{{{LCCN|}}}{{{ARC|}}}{{{GND|}}}{{{PND|}}}{{{SELIBR|}}}{{{BNF|}}}{{{ULAN|}}}{{{BPN|}}}{{{WORLDCATID|}}}{{{TSURL|}}}{{{GKD|}}}{{{SWD|}}}{{{EST|}}}{{{KID|}}}{{{FotoBibl|}}}{{{Museofile|}}}{{{SUDOC|}}}{{{ORCID|}}}{{{RID|}}}{{{ISNI|}}}{{{BIBSYS|}}}||{{#ifeq:{{NAMESPACE}}|Category|[[Category:Categories with empty authority control templates]]}}}}<!--  
-->{{#if: {{{GKD|}}}{{{SWD|}}}{{{EST|}}}|[[Category:Authority control templates with deprecated fields]]}}<noinclude>
{{Documentation}}
</noinclude>
匿名利用者