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 |
||
Linha 1: | Linha 1: | ||
<includeonly> |
<includeonly> |
||
===== Open Library ===== |
|||
https://covers.openlibrary.org/b/isbn/{{#replace:{{{1|}}}|-}}-M.jpg |
https://covers.openlibrary.org/b/isbn/{{#replace:{{{1|}}}|-}}-M.jpg |
||
Linha 8: | Linha 8: | ||
<code><nowiki>$u https://covers.openlibrary.org/b/isbn/</nowiki>{{#replace:{{{1|}}}|-}}<nowiki>-M.jpg $yImagem</nowiki></code> |
<code><nowiki>$u https://covers.openlibrary.org/b/isbn/</nowiki>{{#replace:{{{1|}}}|-}}<nowiki>-M.jpg $yImagem</nowiki></code> |
||
---- |
---- |
||
===== 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 20: | Linha 20: | ||
|data=awsurl=$.{{#replace:{{{1|}}}|-}}}}{{#iferror:{{#external_value:awsurl}}|| |
|data=awsurl=$.{{#replace:{{{1|}}}|-}}}}{{#iferror:{{#external_value:awsurl}}|| |
||
---- |
---- |
||
===== Amazon ===== |
|||
{{#external_value:awsurl}} |
{{#external_value:awsurl}} |
||
Linha 30: | Linha 30: | ||
|format=json |
|format=json |
||
|use jsonpath |
|use jsonpath |
||
|data=gburl=$.{{#replace:{{{1|}}}|-}}}} |
|data=gburl=$.{{#replace:{{{1|}}}|-}}}} |
||
{{#iferror:{{#external_value:gburl}}|| |
|||
---- |
---- |
||
===== Google Books ===== |
|||
{{#external_value:gburl}}.jpeg |
{{#external_value:gburl}}.jpeg |
||