Difference between revisions of "Template:Isbn"
From silvesti
| Line 3: | Line 3: | ||
|0|1 ={{#sub:{{#var:num}}|0|3}}- | |0|1 ={{#sub:{{#var:num}}|0|3}}- | ||
|#default =}} | |#default =}} | ||
| − | |10 ={{#vardefine:isbn|{{#var:num}}}}{{#ifeq:{{{link}}}|ASIN|[https://www.amazon.com/gp/product/{{#var:isbn}} | + | |10 ={{#vardefine:isbn|{{#var:num}}}}{{#ifeq:{{{link}}}|ASIN|[https://www.amazon.com/gp/product/{{#var:isbn}} |}}<abbr title="ISBN-10"> |
|#default =<abbr title="Not an ISBN"> | |#default =<abbr title="Not an ISBN"> | ||
}}{{#switch: {{#sub:{{#var:isbn}}|0|1}} | }}{{#switch: {{#sub:{{#var:isbn}}|0|1}} | ||
Latest revision as of 10:13, 8 April 2019