Template:Infobox book: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Add blank space after preceded and followed in order to separate non-italic year markup from title markup; tested in sandbox, should not have unintended side effects (but might; editors are endlessly creative in working around bugs) |
Fix category name (neither one exists yet). Test for existence of ISBN in wikidata so that ISBNT is not called with a blank ISBN. I take no position on whether putting Wikidata ISBNs in articles is good or bad, but people are doing it, so it should work right. |
||
Line 100: | Line 100: | ||
| data30 = {{#if:{{{isbn|{{{ISBN|}}}}}} |
| data30 = {{#if:{{{isbn|{{{ISBN|}}}}}} |
||
| {{#ifeq:{{{isbn|{{{ISBN|}}}}}}|FETCH_WIKIDATA |
| {{#ifeq:{{{isbn|{{{ISBN|}}}}}}|FETCH_WIKIDATA |
||
| {{#invoke:ISBNT|link|{{#property:P212}}}}[[Category:Pages using |
| {{#if:{{#property:P212}}|{{#invoke:ISBNT|link|{{#property:P212}}}}[[Category:Pages using ISBN values obtained from wikidata]]}} |
||
| {{ISBNT|1={{{isbn|{{{ISBN}}}}}}}} {{{isbn_note|{{{ISBN_note|}}}}}} |
| {{ISBNT|1={{{isbn|{{{ISBN}}}}}}}} {{{isbn_note|{{{ISBN_note|}}}}}} |
||
}} |
}} |