Vorlage:Normdaten: Unterschied zwischen den Versionen
Aus AuroraWiki
bekannt Markierung: Rückgängigmachung |
Neuer Versuch |
||
Zeile 1: | Zeile 1: | ||
<includeonly><onlyinclude><div style="margin-left:48px"><small>{{#ifeq: {{{TYP}}} | p | | {{#if: {{{GND|}}}{{{LCCN|}}}{{{NDL|}}}{{{VIAF|}}}{{{GKD|}}}{{{SWD|}}} | | <div class="metadata">}} }}<div id="normdaten" class="catlinks normdaten-typ-{{{TYP|fehlt}}}">Normdaten{{#switch: {{{TYP}}} | p = (Person) | k = (Körperschaft) | v = (Veranstaltung) | w = (Werk) | s = (Sachbegriff) | g = (Geografikum) | #default = <span class="metadata"> ([[Vorlage:Normdaten#Kopiervorlage|Typ fehlt]])</span> | <includeonly><onlyinclude><div style="margin-left:48px"><small>{{#ifeq: {{{TYP}}} | p | | {{#if: {{{GND|}}}{{{LCCN|}}}{{{NDL|}}}{{{VIAF|}}}{{{GKD|}}}{{{SWD|}}} | | <div class="metadata">}} }}<div id="normdaten" class="catlinks normdaten-typ-{{{TYP|fehlt}}}">Normdaten{{#switch: {{{TYP}}} | p = (Person) | k = (Körperschaft) | v = (Veranstaltung) | w = (Werk) | s = (Sachbegriff) | g = (Geografikum) | #default = <span class="metadata"> ([[Vorlage:Normdaten#Kopiervorlage|Typ fehlt]])</span> Kategorie:Wikipedia:Normdaten-TYP falsch oder fehlend}}: <!-- | ||
*** GND *** | *** GND *** | ||
--> {{#if: {{{GND|}}} | [[w:Gemeinsame Normdatei|GND]]: <span class="plainlinks-print">[https://d-nb.info/gnd/{{{GND}}} {{{GND}}}]</span> <span class="noprint">{{#ifeq: {{{TYP}}} | p | ([https://lobid.org/gnd/{{{GND}}} lobid], [https://swb.bsz-bw.de/DB=2.104/SET=1/TTL=1/CMD?retrace=0&trm_old=&ACT=SRCHA&IKT=2999&SRT=RLV&TRM={{{GND}}} OGND] | ([https://lobid.org/gnd/{{{GND}}} lobid], [https://swb.bsz-bw.de/DB=2.104/SET=1/TTL=1/CMD?retrace=0&trm_old=&ACT=SRCHA&IKT=2999&SRT=RLV&TRM={{{GND}}} OGND] }}<span class="metadata">, [https://prometheus.lmu.de/gnd/{{{GND}}} AKS]</span>)</span>{{#ifeq: {{{TYP}}} | p | {{#if: {{#statements:P227}} | <!-- Wikidata-Item vorhanden --> {{#ifeq: {{{GND}}} | {{#property:P227}} | <!-- GND identisch --> | | --> {{#if: {{{GND|}}} | [[w:Gemeinsame Normdatei|GND]]: <span class="plainlinks-print">[https://d-nb.info/gnd/{{{GND}}} {{{GND}}}]</span> <span class="noprint">{{#ifeq: {{{TYP}}} | p | ([https://lobid.org/gnd/{{{GND}}} lobid], [https://swb.bsz-bw.de/DB=2.104/SET=1/TTL=1/CMD?retrace=0&trm_old=&ACT=SRCHA&IKT=2999&SRT=RLV&TRM={{{GND}}} OGND] | ([https://lobid.org/gnd/{{{GND}}} lobid], [https://swb.bsz-bw.de/DB=2.104/SET=1/TTL=1/CMD?retrace=0&trm_old=&ACT=SRCHA&IKT=2999&SRT=RLV&TRM={{{GND}}} OGND] }}<span class="metadata">, [https://prometheus.lmu.de/gnd/{{{GND}}} AKS]</span>)</span>{{#ifeq: {{{TYP}}} | p | {{#if: {{#statements:P227}} | <!-- Wikidata-Item vorhanden --> {{#ifeq: {{{GND}}} | {{#property:P227}} | <!-- GND identisch --> | Kategorie:Wikipedia:GND in Wikipedia weicht von GND in Wikidata ab}} | <!-- kein Wikidata-Item vorhanden --> }} | <!-- anderer Satztyp --> }} }} <!-- | ||
*** LCCN *** | *** LCCN *** | ||
--> {{#if: {{{LCCN|}}} | {{#if: {{{GND|}}} | |}} [[w:Library of Congress Control Number|LCCN]]: <span class="plainlinks-print">[https://lccn.loc.gov/{{#ifeq:{{str find|{{{LCCN}}}|/}}|-1|{{{LCCN}}} {{{LCCN}}}|{{lc:{{#titleparts:{{{LCCN}}}|1}}}}{{#titleparts:{{{LCCN}}}|1|2}}{{padleft:{{#expr:{{#titleparts:{{{LCCN}}}|1|3}}}}|6|0}} {{lc:{{#titleparts:{{{LCCN}}}|1}}}}{{#titleparts:{{{LCCN}}}|1|2}}{{padleft:{{#titleparts:{{{LCCN}}}|1|3}}|6|0}}}}]</span>}}<!-- | --> {{#if: {{{LCCN|}}} | {{#if: {{{GND|}}} | |}} [[w:Library of Congress Control Number|LCCN]]: <span class="plainlinks-print">[https://lccn.loc.gov/{{#ifeq:{{str find|{{{LCCN}}}|/}}|-1|{{{LCCN}}} {{{LCCN}}}|{{lc:{{#titleparts:{{{LCCN}}}|1}}}}{{#titleparts:{{{LCCN}}}|1|2}}{{padleft:{{#expr:{{#titleparts:{{{LCCN}}}|1|3}}}}|6|0}} {{lc:{{#titleparts:{{{LCCN}}}|1}}}}{{#titleparts:{{{LCCN}}}|1|2}}{{padleft:{{#titleparts:{{{LCCN}}}|1|3}}|6|0}}}}]</span>}}<!-- |