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

De Wikincat
Ir para navegação Ir para pesquisar
imported>Jaideraf
(centralizando regexes)
Sem resumo de edição
 
(7 revisões intermediárias por 2 usuários 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}}
{{#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}}}} }}
| {{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|}} }} }} }}
{{#ifeq: {{Field data string|245|1|1|}} | # || {{DEFAULTSORT:{{ucfirst:{{#sub:{{Regex|fieldBeautify|{{Regex|rmSlashAndDot|{{Select|245|a,b}} }} }}|{{Field data string|245|1|1|}} }} }} }}
}}
}}
}}
}}
Linha 73: Linha 73:
|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 85: Linha 85:
|propsep=§
|propsep=§
|sep=§
|sep=§
}}|§|@@@@|{{#set: Has contributor = {{Regex|fieldBeautify|{{Field data trim|@@@@|rmsubfield=4e}}}} }}|}}
}}|§|@@@@|{{#set: Has contributor = {{Regex|fieldBeautify|{{Field data trim|@@@@|rmsubfield=4e}} }} }}|}}
}}
}}
{{#if: {{Exist|856}} |
{{#if: {{Exist|856}} |
{{#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}}}} }} }}
{{#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 13h44min de 15 de setembro de 2024