Template:Infobox book: Difference between revisions
From Vigyanwiki
Template>Jonesey95 (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)) |
Template>Jonesey95 (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|}}}}}} | ||
}} | }} | ||
Revision as of 16:21, 28 January 2019
Lua error in Module:TNT at line 182: Missing Commons dataset I18n/Module:TNT.tab.