Aller au contenu

Talɣa:ISBN/antam

Zɣ Wikipedia

Talɣa:High-risk Talɣa:Notice

Usage

[Snfl asagm]

Use this template to create a link (or list of links) to Special:BookSources for one or more International Standard Book Numbers with the usual "ISBN" prefix. The template supports 10- and 13-digit ISBNs (with or without hyphens).

{{ISBN|0-7475-3269-9}}

results in:

ISBN 0-7475-3269-9

And:

{{ISBN|978-1-4133-0454-1}}

results in:

ISBN 978-1-4133-0454-1

If more than one ISBN is given, the template will separate them using a comma:

{{ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1}}

results in:

ISBN 978-1-4133-0454-1, 978-1-4133-0454-1, 978-1-4133-0454-1

Alternatively the conjunction between the last two list items can be defined using the leadout= parameter:

{{ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|leadout=, and}}

results in:

ISBN 978-1-4133-0454-1, 978-1-4133-0454-1, and 978-1-4133-0454-1

If the leading "ISBN" should not be a link (for example because it is already linked in the article), the link can be suppressed using the link=no parameter:

{{ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|link=no}}

results in:

ISBN 978-1-4133-0454-1, 978-1-4133-0454-1, 978-1-4133-0454-1

If the leading "ISBN" link should not occur (for example in longer lists), it can be suppressed using the plainlink=yes parameter:

{{ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|plainlink=yes}}

results in:

978-1-4133-0454-1, 978-1-4133-0454-1, 978-1-4133-0454-1

(Alternatively the {{ISBNT}} template can be used.)

The plainlink and leadout parameter can be used at the same time:

{{ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|plainlink=yes|leadout=as well as}}

results in:

978-1-4133-0454-1, 978-1-4133-0454-1 as well as 978-1-4133-0454-1

Formatting

[Snfl asagm]

The template preserves the formatting of the input values, for example:

{{ISBN|978-1-4133-0454-1|978141330454-1|978 1-41330-454-1}}

results in:

ISBN 978-1-4133-0454-1, 978141330454-1, 978 1-41330-454-1

Error checking

[Snfl asagm]

This template uses Module:Check isxn to validate the ISBN. If the ISBN is not valid, this subtemplate will still generate the link, and it will add the article to Category:Pages with ISBN errors.

Since invalid ISBNs are sometimes used in publications, it is possible to disable the validity check for individual ISBNs given as parameters. In order to do so, add invalid?=yes (with ? replaced by the parameter number 1 to 9) to the template. In this case, the article will be added to Category:Pages with listed invalid ISBNs.

  • {{ISBN|1-4133-0451-0}}   produces ISBN 1-4133-0451-0 Parameter error in {{ISBN}}: checksum
  • {{ISBN|1-4133-0451-0|invalid1=yes}}   produces ISBN 1-4133-0451-0
  • {{ISBN}}   produces Talɣa:Error-small (the first unnamed parameter is required)
  • {{ISBN|979-0-2600-0043-8}}   produces ISBN 979-0-2600-0043-8 Parameter error in {{ISBN}}: invalid group id (979 with group id 0 should use {{ISMN}} instead)
  • {{ISBN|123456789}}   produces ISBN 123456789 Parameter error in {{ISBN}}: length (ISBN must be 10 or 13 digits)

Tracking categories

[Snfl asagm]

See also

[Snfl asagm]

Template Data

[Snfl asagm]

Use this template to create a link (or list of links) to Special:BookSources for one or more International Standard Book Numbers with the usual "ISBN" prefix

Paramètres du modèle[Modifier les données du modèle]

ParamètreDescriptionTypeÉtat
ISBN #11

first ISBN to put in the list

Exemple
0-674-01181-3
Chaîneobligatoire
ISBN #22

second ISBN to put in the list

Exemple
0-674-04200-3
Chaînesuggéré
ISBN #33

third ISBN to put in the list

Exemple
0-674-01169-3
Chaînefacultatif
ISBN #44

fourth ISBN to put in the list

Exemple
0-674-01181-6
Chaînefacultatif
ISBN #55

fifth ISBN to put in the list

Exemple
0-674-02181-5
Chaînefacultatif
66

aucune description

Inconnufacultatif
77

aucune description

Inconnufacultatif
88

aucune description

Inconnufacultatif
99

aucune description

Inconnufacultatif
Suppress link to article?link

If 'no', does not produce a link before the list

Exemple
no
Chaînefacultatif
Suppress link to ISBN?plainlink

If 'yes', does not produce "[[ISBN]]: " before the list

Exemple
yes
Chaînefacultatif
last list joiner textleadout

Text between second-to-last and last book ISBN's

Exemple
as well as
Chaînefacultatif
invalid1invalid1

aucune description

Inconnufacultatif
invalid2invalid2

aucune description

Inconnufacultatif
invalid3invalid3

aucune description

Inconnufacultatif
invalid4invalid4

aucune description

Inconnufacultatif
invalid5invalid5

aucune description

Inconnufacultatif
invalid6invalid6

aucune description

Inconnufacultatif
invalid7invalid7

aucune description

Inconnufacultatif
invalid8invalid8

aucune description

Inconnufacultatif
invalid9invalid9

aucune description

Inconnufacultatif