Predefinição:BibIndex: mudanças entre as edições

De Wikincat
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
 
(25 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
<includeonly><div style="display: none">
<includeonly><div style="display: none">
<!-- parte não visível -->
<!-- parte não visível -->
{{#if: {{Exist|245}}
| {{DISPLAYTITLE:{{Regex|fieldBeautify|{{Regex|rmSlashAndDot|{{Select|245|a,b}}}}}} }}
{{#set: Has title of resource = {{Regex|fieldBeautify|{{Regex|rmSlashAndDot|{{Select|245|a,b}}}}}} }}
{{#ifeq: {{Field data string|245|1|1|}} | # || {{DEFAULTSORT:{{ucfirst:{{#sub:{{Regex|fieldBeautify|{{Regex|rmSlashAndDot|{{Select|245|a,b}} }} }}|{{Field data string|245|1|1|}} }} }} }}
}}
}}
<!-- armazenamento semântico -->
<!-- armazenamento semântico -->
{{#set: Has language of the content = {{#switch:{{Field data string|008|35|3|property=Control field data}}
{{#set: Has language of the content = {{#switch:{{Field data string|008|35|3|property=Control field data}}
Linha 15: Linha 21:
}}
}}
{{#if: {{Select|020|a}} |
{{#if: {{Select|020|a}} |
{{#arraymap:{{#show:{{FULLPAGENAME}}#020|?Field data|format=plainlist|link=none|headers=hide|mainlabel=-|valuesep=§}}|§|@|{{#set:Has ISBN={{#regex:@|/(\d{9,13}X?)/}}{{#index:{{#regex:@|/(\d{9,13}X?)/}}}} }}}}
{{#arraymap:{{#show:{{FULLPAGENAME}}#020|?Field data|format=plainlist|link=none|headers=hide|mainlabel=-|valuesep=§}}|§|@|{{#set:Has ISBN={{#rmatch:@|/(\d{9,13}X?)/|$1}} }}}}
}}
}}
{{#if: {{Select|100|a}}{{Select|110|a}}{{Select|111|a}}{{Select|130|a}} |
{{#if: {{Select|100|a}}{{Select|110|a}}{{Select|111|a}}{{Select|130|a}} |
{{#set: Has creator = {{Field data trim|{{#show:{{FULLPAGENAME}}#100|?Field data=|mainlabel=-}}{{#show:{{FULLPAGENAME}}#110|?Field data=|mainlabel=-}}{{#show:{{FULLPAGENAME}}#111|?Field data=|mainlabel=-}}{{#show:{{FULLPAGENAME}}#130|?Field data=|mainlabel=-}}}}
{{#set: Has creator = {{Field data trim|{{#show:{{FULLPAGENAME}}#100|?Field data=|mainlabel=-}}{{#show:{{FULLPAGENAME}}#110|?Field data=|mainlabel=-}}{{#show:{{FULLPAGENAME}}#111|?Field data=|mainlabel=-}}{{#show:{{FULLPAGENAME}}#130|?Field data=|mainlabel=-}}|rmsubfield=4e0}}
}}
}}
}}
{{#if: {{Select|240|a}} |
{{#if: {{Select|240|a}} |
{{#set: Has preferred title for the resource = {{Select|240|a}}
{{#set: Has preferred title for the resource = {{Select|240|a}}
}}
}}
}}
{{#if: {{Exist|245}} | {{DISPLAYTITLE:{{Field beautify|{{#regex:{{Select|245|a,b}}|/\/${{!}}\.$/|}}}}}}}}
{{#if: {{Select|245|c}} |
{{#if: {{Select|245|c}} |
{{#set: Has statement of responsibility relating to title proper = {{Select|245|c}}
{{#set: Has statement of responsibility relating to title proper = {{Select|245|c}}
}}
}}
}}
{{#if: {{Exist|246}} |
{{#if: {{Exist|246}} |
Linha 38: Linha 46:
}}
}}
{{#if: {{Select|260|a}} |
{{#if: {{Select|260|a}} |
{{#set: Has place of publication = {{#regex:{{Select|260|a}}|/[  ]+([:;]){{!}},$/|}}
{{#set: Has place of publication = {{#rreplace:{{Select|260|a}}|/[  ]*([:;])${{!}},$/|}}
}}
}}
}}
{{#if: {{Select|260|b}} |
{{#if: {{Select|260|b}} |
{{#set: Has publisher's name = {{#regex:{{Select|260|b}}|/[:;,]$/|}}
{{#set: Has publisher's name = {{#rreplace:{{Select|260|b}}|/[:;,]$/|}}
}}
}}
}}
{{#if: {{Select|260|c}} |
{{#if: {{Select|260|c}} |
{{#set: Has date of publication = {{#regex:{{Select|260|c}}|/^[pc]{{!}}[.]$/|}}
{{#set: Has date of publication = {{#rreplace:{{Select|260|c}}|/^[pc]{{!}}[.]$/|}}
}}
}}
}}
{{#if: {{Select|250|a}} |
{{#if: {{Select|250|a}} |
{{#set: Has designation of edition = {{Select|250|a}}
{{#set: Has designation of edition = {{Select|250|a}}
}}
}}
{{#if: {{Select|300|a}} |
{{#set: Has extent = {{#rreplace:{{Select|300|a}}|/[  ]+([:;]){{!}},$/|}}
}}
}}
{{#if: {{Exist|600}} |
{{#arraymap:{{#show:{{FULLPAGENAME}}#600
|?Field data
|format=plainlist
|link=none
|headers=hide
|mainlabel=-
|valuesep=§
}}|§|@@@@|{{#set: Has as subject the topic = {{Field data trim|@@@@|subject=yes|rmsubfield=2}} }}|}}
}}
}}
{{#if: {{Exist|650}} |
{{#if: {{Exist|650}} |
Linha 57: Linha 83:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|{{#set: Has as subject the topic = {{Field data trim|@@@@|subject=yes}} }}|}}
}}|§|@@@@|{{#set: Has as subject the topic = {{Field data trim|@@@@|subject=yes|rmsubfield=2}} }}|}}
}}
}}
{{#if: {{Exist|700}}{{Exist|710}}{{Exist|711}}{{Exist|730}} |
{{#if: {{Exist|700}}{{Exist|710}}{{Exist|711}}{{Exist|730}} |
Linha 69: Linha 95:
|propsep=§
|propsep=§
|sep=§
|sep=§
}}|§|@@@@|{{#set: Has contributor = {{Field data trim|@@@@}} }}|}}
}}|§|@@@@|{{#set: Has contributor = {{Regex|fieldBeautify|{{Field data trim|@@@@|rmsubfield=4e0}} }} }}|}}
}}
}}
{{#if: {{Exist|856}} |
{{#if: {{Exist|856}} |
{{#arraymap:{{#show:{{FULLPAGENAME}}#856|?Field data|format=plainlist|link=none|headers=hide|mainlabel=-|valuesep=§}}|§|@|{{#if:{{#regex:@|/Imagem/}} | {{#set:Has cover art={{#regex:{{Field data trim|@}}|/^(.*)\s/}} }} }} }} }}
{{#arraymap:{{#show:{{FULLPAGENAME}}#856|?Field data|format=plainlist|link=none|headers=hide|mainlabel=-|valuesep=§}}|§|@|{{#rmatch:@|/Imagem/|then={{#set:Has cover art={{#rmatch:@|/^.....(.*?)\s/|then=$1|else=}}}} |else={{#set:Has uniform resource locator={{#rmatch:@|/(http.*)(\s{{!}}$)/|then=$1|else=}} }} }} }}
}}
</div></includeonly>
</div></includeonly>

Edição atual tal como às 16h12min de 29 de outubro de 2024