Predefinição:BibIndex: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição |
(replacing RegexFun > RegexFunctions) |
||
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:{{Field beautify|{{ |
{{#if: {{Exist|245}} | {{DISPLAYTITLE:{{Field beautify|{{RmSlashAndDot|{{Select|245|a,b}}}} }} }} |
||
{{#set: Has title of resource = {{Field beautify|{{ |
{{#set: Has title of resource = {{Field beautify|{{RmSlashAndDot|{{Select|245|a,b}}}} }} |
||
}} |
}} |
||
{{#ifeq: {{Field data string|245|1|1|}} | # || {{DEFAULTSORT:{{ucfirst:{{#sub:{{Field beautify|{{ |
{{#ifeq: {{Field data string|245|1|1|}} | # || {{DEFAULTSORT:{{ucfirst:{{#sub:{{Field beautify|{{RmSlashAndDot|{{Select|245|a,b}}}}}}|{{Field data string|245|1|1|}} }} }} }} |
||
}} |
}} |
||
}} |
}} |
||
Linha 21: | 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={{# |
{{#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}} | |
||
Linha 46: | Linha 46: | ||
}} |
}} |
||
{{#if: {{Select|260|a}} | |
{{#if: {{Select|260|a}} | |
||
{{#set: Has place of publication = {{# |
{{#set: Has place of publication = {{#rreplace:{{Select|260|a}}|/[ ]*([:;])${{!}},$/|}} |
||
}} |
}} |
||
}} |
}} |
||
{{#if: {{Select|260|b}} | |
{{#if: {{Select|260|b}} | |
||
{{#set: Has publisher's name = {{# |
{{#set: Has publisher's name = {{#rreplace:{{Select|260|b}}|/[:;,]$/|}} |
||
}} |
}} |
||
}} |
}} |
||
{{#if: {{Select|260|c}} | |
{{#if: {{Select|260|c}} | |
||
{{#set: Has date of publication = {{# |
{{#set: Has date of publication = {{#rreplace:{{Select|260|c}}|/^[pc]{{!}}[.]$/|}} |
||
}} |
}} |
||
}} |
}} |
||
Linha 62: | Linha 62: | ||
}} |
}} |
||
{{#if: {{Select|300|a}} | |
{{#if: {{Select|300|a}} | |
||
{{#set: Has extent = {{# |
{{#set: Has extent = {{#rreplace:{{Select|300|a}}|/[ ]+([:;]){{!}},$/|}} |
||
}} |
}} |
||
}} |
}} |
||
Linha 88: | Linha 88: | ||
}} |
}} |
||
{{#if: {{Exist|856}} | |
{{#if: {{Exist|856}} | |
||
{{#arraymap:{{#show:{{FULLPAGENAME}}#856|?Field data|format=plainlist|link=none|headers=hide|mainlabel=-|valuesep=§}}|§|@|{{# |
{{#arraymap:{{#show:{{FULLPAGENAME}}#856|?Field data|format=plainlist|link=none|headers=hide|mainlabel=-|valuesep=§}}|§|@|{{#rmatch:@|/Imagem/|{{#set:Has cover art={{#rmatch:{{Field data trim|@}}|/^(.*?)\s/|$1}}}} | {{#set:Has uniform resource locator={{#rmatch:{{Field data trim|@}}|/^(.*?)\s/|$1}}}} }} }} |
||
}} |
}} |
||
</div></includeonly> |
</div></includeonly> |