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

De Wikincat
Ir para navegação Ir para pesquisar
(centralizando regexes)
Sem resumo de edição
(13 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 47: Linha 47:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|<br><span itemprop="about">[{{canonicalurl:Template:SubjectSearch|searchString={{urlencode:{{Field data trim|@@@@|subject=yes}}}} {{Field data trim|@@@@|subject=yes}}}}]</span>|}}}}}}{{#if:{{Exist|100}}{{Exist|110}}{{Exist|111}}{{Exist|130}}|{{#vardefine:mainAccessPoint|true}}}}{{#if:{{Exist|700}}{{Exist|710}}{{Exist|711}}{{Exist|730}}|{{#vardefine:addedAccessPoint|true}}}}{{#if:{{#var:mainAccessPoint}}{{#var:addedAccessPoint}}|<br>'''Responsabilidade'''}}{{#if:{{#var:mainAccessPoint}}|<br>{{#arraymap:{{#ask:[[{{FULLPAGENAME}}#100]] OR [[{{FULLPAGENAME}}#110]] OR [[{{FULLPAGENAME}}#111]] OR [[{{FULLPAGENAME}}#130]]
}}|§|@@@@|<br><span itemprop="about">[{{canonicalurl:Template:SubjectSearch|searchString={{urlencode:{{Field data trim|@@@@|subject=yes}}}} {{Field data trim|@@@@|subject=yes}}}}]</span>|}}}}}}{{#if:{{Exist|100}}{{Exist|110}}{{Exist|111}}{{Exist|130}}{{Exist|700}}{{Exist|710}}{{Exist|711}}{{Exist|730}}|<br>'''Responsabilidade'''}}{{#if:{{Exist|100}}{{Exist|110}}{{Exist|111}}{{Exist|130}}|<br>{{#arraymap:{{#ask:[[{{FULLPAGENAME}}#100]] OR [[{{FULLPAGENAME}}#110]] OR [[{{FULLPAGENAME}}#111]] OR [[{{FULLPAGENAME}}#130]]
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 54: Linha 54:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|<span itemprop="author">[{{canonicalurl:Template:AgentSearch|searchString={{urlencode:{{Regex|fieldBeautify|{{Field data trim|@@@@|rmsubfield=4e}}}}}} {{Regex|fieldBeautify|{{Field data trim|@@@@|subject=yes|rmsubfield=4e}}}}}}]</span>|<br>}}}}{{#if:{{#var:addedAccessPoint}}|<br>{{#arraymap:{{#ask:[[{{FULLPAGENAME}}#700]] OR [[{{FULLPAGENAME}}#710]] OR [[{{FULLPAGENAME}}#711]] OR [[{{FULLPAGENAME}}#730]]
}}|§|@@@@|<span itemprop="author">[{{canonicalurl:Template:AgentSearch|searchString={{urlencode:{{Regex|fieldBeautify|{{Field data trim|@@@@|rmsubfield=04e}}}}}} {{Regex|fieldBeautify|{{Field data trim|@@@@|subject=yes|rmsubfield=04e}}}}}}]</span>|<br>}}}}{{#if:{{Exist|700}}{{Exist|710}}{{Exist|711}}{{Exist|730}}|<br>{{#arraymap:{{#ask:[[{{FULLPAGENAME}}#700]] OR [[{{FULLPAGENAME}}#710]] OR [[{{FULLPAGENAME}}#711]] OR [[{{FULLPAGENAME}}#730]]
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 63: Linha 63:
|propsep=§
|propsep=§
|sep=§
|sep=§
}}|§|@@@@|<span itemprop="contributor">[{{canonicalurl:Template:AgentSearch|searchString={{urlencode:{{Regex|fieldBeautify|{{Field data trim|@@@@|rmsubfield=4e}}}}}} {{Regex|fieldBeautify|{{Field data trim|@@@@|subject=yes|rmsubfield=4e}}}}}}]</span>|<br>}}}}</span>{{#switch:{{Field data string|008|35|3|property=Control field data}}
}}|§|@@@@|<span itemprop="contributor">[{{canonicalurl:Template:AgentSearch|searchString={{urlencode:{{Regex|fieldBeautify|{{Field data trim|@@@@|rmsubfield=04e}}}}}} {{Regex|fieldBeautify|{{Field data trim|@@@@|subject=yes|rmsubfield=04e}}}}}}]</span>|<br>}}}}</span>{{#switch:{{Field data string|008|35|3|property=Control field data}}
|por = <br>'''Idioma'''<br><span itemprop="inLanguage" content="pt-BR">Português</span>
|por = <br>'''Idioma'''<br><span itemprop="inLanguage" content="pt-BR">Português</span>
|eng = <br>'''Idioma'''<br><span itemprop="inLanguage" content="pt-BR">Inglês</span>
|eng = <br>'''Idioma'''<br><span itemprop="inLanguage" content="pt-BR">Inglês</span>
Linha 73: Linha 73:
|    =
|    =
|#default = <br>'''Idioma'''<br><span itemprop="inLanguage">{{Field data string|008|35|3|property=Control field data}}</span>
|#default = <br>'''Idioma'''<br><span itemprop="inLanguage">{{Field data string|008|35|3|property=Control field data}}</span>
}}{{#if:{{Exist|020}}|<br>'''ISBN'''<br>{{#arraymap:{{#show:{{FULLPAGENAME}}#020|?Field data|format=plainlist|link=none|headers=hide|mainlabel=-|valuesep=§}}|§|@|<span itemprop="isbn">{{Hyphenate|ISBN|{{#regex:@|/(\d{9,13}X?)/}}}}</span> {{#regex:{{#regex:@|/\$q (.*)/}}|/(\$q\s)(.*)/|($2)}}|<br>}}
}}{{#if:{{Exist|020}}|<br>'''ISBN'''<br>{{#arraymap:{{#show:{{FULLPAGENAME}}#020|?Field data|format=plainlist|link=none|headers=hide|mainlabel=-|valuesep=§}}|§|@|<span itemprop="isbn">{{Hyphenate|ISBN|{{Regex|isbn|@}}}}</span> {{Regex|isbnQualifier|@}}|<br>}}
}} }}
}} }}
{{InfoCard|content={{#if: {{Exist|856}} | {{#arraymap:{{#show:{{FULLPAGENAME}}#856|?Field data|format=plainlist|link=none|headers=hide|mainlabel=-|valuesep=§}}|§|@|{{#if:{{#regex:@|/Imagem/}}|<img src="{{#regex:{{Field data trim|@}}|/^(.*)\s/}}" alt="Imagem da capa" itemprop="image"> | <u>'''[{{Field data trim|1=@}}]</u>''' }}|<br>}} }} }}
{{InfoCard|content={{#if: {{Exist|856}} | {{#arraymap:{{#show:{{FULLPAGENAME}}#856|?Field data|format=plainlist|link=none|headers=hide|mainlabel=-|valuesep=§}}|§|@|{{#rmatch:@|/Imagem/|<html><img src="</html>{{#show: {{FULLPAGENAME}}|?Has cover art#nowiki}}<html>" alt="Capa" width="180"></html>| <u>'''<html><a target="_blank" href="</html>{{#tag:nowiki|{{#rmatch:@|/\$u\s(.*)?$/|$1}}}}<html>"></html>[[File:Gnome-go-down.svg|link=|Clique no link ao lado para acessar]] {{Field data trim|1=@|rmsubfield=u}}<html></a></html></u>'''}}|<br>}} }} }}
}}{{#switch: {{Exist|520}}
}}{{#switch: {{Exist|520}}
| yes = <span itemprop="description">{{Select|520|a}}</span>
| yes = <span itemprop="description">{{Select|520|a}}</span>

Edição das 09h51min de 30 de outubro de 2024

Título principal

Idioma