Template:ISBNT: Difference between revisions
From Vigyanwiki
Template>Matthiaspaul (removed stray linefeed) |
Template>Matthiaspaul (improved error messages by going to generic error template. Added error message for no parameter.) |
||
Line 1: | Line 1: | ||
<includeonly>{{Catalog lookup link|{{{id|{{{1|}}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|link-prefix=[Special:BookSources/|item-prefix={{!}}|item-postfix=]|list-leadout={{{leadout|}}}}}{{#if:{{trim|{{{1|}}}}}|{{#invoke:check isxn|check_isbn|{{{1|}}}|error | {{#if:{{{1|<noinclude>$</noinclude>}}}|<includeonly>{{Catalog lookup link|{{{id|{{{1|}}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|link-prefix=[Special:BookSources/|item-prefix={{!}}|item-postfix=]|list-leadout={{{leadout|}}}}}{{#if:{{trim|{{{1|}}}}}|{{#invoke:check isxn|check_isbn|{{{1|}}}|{{error|Parameter error in {{tl|ISBNT}}: Invalid [[ISBN]].}}{{main other|[[Category:Pages with ISBN errors]]}}}}{{#if:{{trim|{{{2|}}}}}|{{#invoke:check isxn|check_isbn|{{{2|}}}|{{error|Parameter error in {{tl|ISBNT}}: Invalid [[ISBN]].}}{{main other|[[Category:Pages with ISBN errors]]}}}}{{#if:{{trim|{{{3|}}}}}|{{#invoke:check isxn|check_isbn|{{{3|}}}|{{error|Parameter error in {{tl|ISBNT}}: Invalid [[ISBN]].}}{{main other|[[Category:Pages with ISBN errors]]}}}}{{#if:{{trim|{{{4|}}}}}|{{#invoke:check isxn|check_isbn|{{{4|}}}|{{error|Parameter error in {{tl|ISBNT}}: Invalid [[ISBN]].}}{{main other|[[Category:Pages with ISBN errors]]}}}}{{#if:{{trim|{{{5|}}}}}|{{#invoke:check isxn|check_isbn|{{{5|}}}|{{error|Parameter error in {{tl|ISBNT}}: Invalid [[ISBN]].}}{{main other|[[Category:Pages with ISBN errors]]}}}}{{#if:{{trim|{{{6|}}}}}|{{#invoke:check isxn|check_isbn|{{{6|}}}|{{error|Parameter error in {{tl|ISBNT}}: Invalid [[ISBN]].}}{{main other|[[Category:Pages with ISBN errors]]}}}}{{#if:{{trim|{{{7|}}}}}|{{#invoke:check isxn|check_isbn|{{{7|}}}|{{error|Parameter error in {{tl|ISBNT}}: Invalid [[ISBN]].}}{{main other|[[Category:Pages with ISBN errors]]}}}}{{#if:{{trim|{{{8|}}}}}|{{#invoke:check isxn|check_isbn|{{{8|}}}|{{error|Parameter error in {{tl|ISBNT}}: Invalid [[ISBN]].}}{{main other|[[Category:Pages with ISBN errors]]}}}}{{#if:{{trim|{{{9|}}}}}|{{#invoke:check isxn|check_isbn|{{{9|}}}|{{error|Parameter error in {{tl|ISBNT}}: Invalid [[ISBN]].}}{{main other|[[Category:Pages with ISBN errors]]}}}}}}}}}}}}}}}}}}}}}}</includeonly>|{{error|Parameter error in {{tl|ISBNT}}: No [[ISBN]] given.}}}}<noinclude>{{documentation}}<!-- Add categories and interwiki lines to the /doc subpage, not here! --></noinclude> |
Revision as of 02:46, 27 August 2017
Template documentation
[create]