Predefinição:GetBookCover: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição |
Sem resumo de edição Etiqueta: Revertido |
||
Linha 1: | Linha 1: | ||
<includeonly> |
<includeonly> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
====== ISBNdb ====== |
====== ISBNdb ====== |
||
https://images.isbndb.com/covers/{{#sub:{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}|-4|2}}/{{#sub:{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}|-2|2}}/{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}.jpg |
https://images.isbndb.com/covers/{{#sub:{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}|-4|2}}/{{#sub:{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}|-2|2}}/{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}.jpg |
||
Linha 15: | Linha 7: | ||
No MARC: <code>856</code> <code>42</code><br> |
No MARC: <code>856</code> <code>42</code><br> |
||
<code><nowiki>$u https://images.isbndb.com/covers/</nowiki>{{#sub:{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}|-4|2}}/{{#sub:{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}|-2|2}}/{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}.jpg $yImagem</code> |
<code><nowiki>$u https://images.isbndb.com/covers/</nowiki>{{#sub:{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}|-4|2}}/{{#sub:{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}|-2|2}}/{{#ifeq: {{#len:{{#replace:{{{1|}}}|-}}}} | 10 | {{#invoke:Converter|ISBN|{{#replace:{{{1|}}}|-}}}} | {{#replace:{{{1|}}}|-}} }}.jpg $yImagem</code> |
||
⚫ | |||
====== Coce server (Amazon, Google Books) ====== |
====== Coce server (Amazon, Google Books) ====== |
||
{{#get_web_data:url=https://capas.bu.ufsc.br/cover?id={{#replace:{{{1|}}}|-}}&provider=gb,aws |
{{#get_web_data:url=https://capas.bu.ufsc.br/cover?id={{#replace:{{{1|}}}|-}}&provider=gb,aws |
||
Linha 24: | Linha 17: | ||
No MARC: <code>856</code> <code>42</code><br> |
No MARC: <code>856</code> <code>42</code><br> |
||
<code><nowiki>$u https://</nowiki>{{#sub:{{#external_value:url}}|8}} $yImagem</code> |
<code><nowiki>$u https://</nowiki>{{#sub:{{#external_value:url}}|8}} $yImagem</code> |
||
---- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
</includeonly> |
</includeonly> |