MediaWiki:MakeMarcFieldHelpLink.js e Autoridade:A000015: mudanças entre as páginas

De Wikincat
(Diferenças entre páginas)
Ir para navegação Ir para pesquisar
Sem resumo de edição
 
(Criou página com '{{AutRecord |dateEnteredOnFile=240410 |recordStatus=n |encodingLevel=n |punctuationPolicy=i |directOrIndirectGeogSubdiv=  |kindOfRecord=a |descriptiveCatalogingRules=n |subjectHeadingSystem=n |typeOfSeries=n |numberedOrUnnumberedSeries=n |headingUseMainOrAddedEntry=a |headingUseSubjectAddedEntry=a |headingUseSeriesAddedEntry=b |typeOfSubjectSubdivision=n |typeOfGovernmentAgency=  |referenceEvaluation=n |undifferentiatedPersonalName=n |levelOfEstablishment=a |modifiedRe...')
 
Linha 1: Linha 1:
{{AutRecord
/* jshint esversion: 8 */
|dateEnteredOnFile=240410
function makeMarcFieldHelpLink() {
|recordStatus=n
const inputs = document.body.querySelectorAll('[mappingtemplate="BibRecord/tags"]');
|encodingLevel=n
inputs.forEach((elem) => {
|punctuationPolicy=i
const marcFieldHelpLink = document.createElement('a');
|directOrIndirectGeogSubdiv= 
marcFieldHelpLink.setAttribute('target', '_blank');
|kindOfRecord=a
marcFieldHelpLink.innerText = '(?)';
|descriptiveCatalogingRules=n

|subjectHeadingSystem=n
const marcFieldHelpLinkClass = elem
|typeOfSeries=n
.closest('table')
|numberedOrUnnumberedSeries=n
.querySelector('.marcFieldHelpLink');
|headingUseMainOrAddedEntry=a
marcFieldHelpLinkClass.innerHTML = '';
|headingUseSubjectAddedEntry=a
marcFieldHelpLinkClass.appendChild(marcFieldHelpLink);
|headingUseSeriesAddedEntry=b

|typeOfSubjectSubdivision=n
// find the tag value from the chosen dropdown
|typeOfGovernmentAgency= 
marcFieldHelpLinkClass.addEventListener('mouseover', (event) => {
|referenceEvaluation=n
let tagFromDropdown = '';
|undifferentiatedPersonalName=n
tagFromDropdown =
|levelOfEstablishment=a
event.target
|modifiedRecord= 
.closest('.instanceMain')
|catalogingSource=d
.querySelector('.oo-ui-inputWidget-input')
}}
.getAttribute('title') || '00x';
{{Field
tagFromDropdown = tagFromDropdown.substring(0, 3);
|tag=040
marcFieldHelpLink.setAttribute(
|authorityType=Nenhuma
'title',
|ind1=#
`Documentação do campo ${tagFromDropdown}`,
|ind2=#
);
|data=$a BR-FlWIK $b por $c BR-FlWIK
// build the URL
}}
if (
{{Field
window.location.href.match(/A\d{6}/) ||
|tag=130
window.location.href.match(/AutRecord/)
|authorityType=Nenhuma
) {
|ind1=#
marcFieldHelpLink.setAttribute(
|ind2=0
'href',
|data=$a Encyclopaedia of sports medicine
`http://marc.febab.org/a${tagFromDropdown}`,
}}
);
{{Field
} else {
|tag=410
marcFieldHelpLink.setAttribute(
|authorityType=Nenhuma
'href',
|ind1=2
`https://www.loc.gov/marc/bibliographic/bd${tagFromDropdown}.html`,
|ind2=#
);
|data=$a International Olympic Committee. $t Encyclopaedia of sports medicine
}
}}
});
{{Field
});
|tag=410
}
|authorityType=Nenhuma
|ind1=2
|ind2=#
|data=$a International Federation of Sports Medicine. $t Encyclopaedia of sports medicine
}}
{{Field
|tag=410
|authorityType=Nenhuma
|ind1=2
|ind2=#
|data=$a IOC Medical Commission. $t Encyclopaedia of sports medicine
}}
{{Field
|tag=430
|authorityType=Nenhuma
|ind1=#
|ind2=0
|data=$a Encyclopedia of sports medicine
}}
{{Field
|tag=643
|authorityType=Nenhuma
|ind1=#
|ind2=#
|data=$a Oxford $a Boston $b Blackwell Scientific Publications $a St. Louis, Mo. $b Mosby-Year Book, distributor
}}
{{Field
|tag=670
|authorityType=Nenhuma
|ind1=#
|ind2=#
|data=$a Strength and power in sport, 1991: $b CIP t.p. (The Encyclopaedia of sports medicine; an International Olympic Committee publication in collaboration with the International Federation of Sports Medicine)
}}
{{Field
|tag=670
|authorityType=Nenhuma
|ind1=#
|ind2=#
|data=$a Endurance in sport, 1991: $b CIP t.p. (The Encyclopaedia of sports medicine) bk. t.p. (volume II of the Encyclopaedia of sports medicine, an IOC Medical Commission publication)
}}
{{Field
|tag=670
|authorityType=Nenhuma
|ind1=#
|ind2=#
|data=$a CA-LC 2024
}}
{{EndOfRecord}}

Edição atual tal como às 17h47min de 10 de abril de 2024


Autoridade (título uniforme)
Encyclopaedia of sports medicine
Remissiva Ver
International Olympic Committee. Encyclopaedia of sports medicine
International Federation of Sports Medicine. Encyclopaedia of sports medicine
IOC Medical Commission. Encyclopaedia of sports medicine
Remissiva Ver
Encyclopedia of sports medicine
Fonte positiva de dados
Strength and power in sport, 1991: CIP t.p. (The Encyclopaedia of sports medicine; an International Olympic Committee publication in collaboration with the International Federation of Sports Medicine)
Endurance in sport, 1991: CIP t.p. (The Encyclopaedia of sports medicine) bk. t.p. (volume II of the Encyclopaedia of sports medicine, an IOC Medical Commission publication)
CA-LC 2024
Campo Ind1 Ind2 Dados
Líder 01086nz  a2200193ni 4500
001 - Número de controle A000015
003 - Identificador do número de controle BR-FlWIK
005 - Data e hora da última transação 20240410174758.0
008 - Elementos de dados de tamanho fixo - Informações gerais 240410 n annnnaabn           n ana     d












040 - Fonte da catalogação # #

$aBR-FlWIK
$bpor
$cBR-FlWIK

130 - Ponto de acesso autorizado - Título uniforme # 0

$aEncyclopaedia of sports medicine

410 - Remissiva Ver - Nome de entidade coletiva 2 #

$aInternational Olympic Committee.
$tEncyclopaedia of sports medicine

410 - Remissiva Ver - Nome de entidade coletiva 2 #

$aInternational Federation of Sports Medicine.
$tEncyclopaedia of sports medicine

410 - Remissiva Ver - Nome de entidade coletiva 2 #

$aIOC Medical Commission.
$tEncyclopaedia of sports medicine

430 - Remissiva Ver - Título uniforme # 0

$aEncyclopedia of sports medicine

643 - Local e publicador da série # #

$aOxford
$aBoston
$bBlackwell Scientific Publications
$aSt. Louis, Mo.
$bMosby-Year Book, distributor

670 - Fonte positiva de dados # #

$aStrength and power in sport, 1991:
$bCIP t.p. (The Encyclopaedia of sports medicine; an International Olympic Committee publication in collaboration with the International Federation of Sports Medicine)

670 - Fonte positiva de dados # #

$aEndurance in sport, 1991:
$bCIP t.p. (The Encyclopaedia of sports medicine) bk. t.p. (volume II of the Encyclopaedia of sports medicine, an IOC Medical Commission publication)

670 - Fonte positiva de dados # #

$aCA-LC 2024