Jump to content

Template:ISBN/doc

From Wikihoc

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if:|
         |{{#ifexist:Template:ISBN
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

{{#ifeq:Template:Editnotices|{{ safesubst:#if:

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:ISBN/doc}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:ISBN/doc}}

}}|}}

This template produces a simple, standardized link from a International Standard Book Number (ISBN). The ISBN is rendered using much of the same code that renders |{{SAFESUBST:#if:ISBN|ISBN=}} in Citation Style 1 and Citation Style 2 templates except that this template can be used to render multiple ISBNs.

Usage

This template accepts these parameters:

|{{SAFESUBST:#if:idn|idn=}} – a ISBN identifier; the |{{SAFESUBST:#if:idn|idn=}} parameter name is not required but is recommended for clarity when the template has multiple ISBNs
|{{SAFESUBST:#if:link|link=}} – accepts a single value no; for use when the 'ISBN' prefix in the rendering should not be linked
|{{SAFESUBST:#if:plainlink|plainlink=}} – accepts a single value yes; suppresses the 'ISBN' prefix in the rendering
|{{SAFESUBST:#if:leadout|leadout=}} – defines the conjunction between the last two identifiers in the rendered list; defaults to ,

The basic form is:

<syntaxhighlight lang="wikitext" inline="1">ISBN 0-7475-3269-9</syntaxhighlight> → ISBN 0-7475-3269-9

For multiple ISBNs:

<syntaxhighlight lang="wikitext" inline="1">ISBN 978-1-4133-0454-1, 978-1-4133-0454-1, 978-1-4133-0454-1</syntaxhighlight> → ISBN 978-1-4133-0454-1, 978-1-4133-0454-1, 978-1-4133-0454-1

To unlink the prefix:

<syntaxhighlight lang="wikitext" inline="1">ISBN 0-7475-3269-9</syntaxhighlight> → ISBN 0-7475-3269-9

To suppress the prefix:

<syntaxhighlight lang="wikitext" inline="1">0-7475-3269-9</syntaxhighlight> → 0-7475-3269-9

To use and between the last two identifiers in the rendered list:

<syntaxhighlight lang="wikitext" inline="1">ISBN 978-1-4133-0454-1, 978-1-4133-0454-1 and 978-1-4133-0454-1</syntaxhighlight> → ISBN 978-1-4133-0454-1, 978-1-4133-0454-1 and 978-1-4133-0454-1

When this template emits an error message for a valid (working) ISBN, use the accept-as-written markup ((..)) to suppress the error message.

<syntaxhighlight lang="wikitext" inline="1">ISBN 1-4133-0451-0 {{isbn}}: Check isbn value: checksum (help)</syntaxhighlight> → ISBN 1-4133-0451-0 {{isbn}}: Check isbn value: checksum (help)
<syntaxhighlight lang="wikitext" inline="1">ISBN 1-4133-0451-0 {{isbn}}: ignored ISBN errors (link)</syntaxhighlight> → ISBN 1-4133-0451-0 {{isbn}}: ignored ISBN errors (link)

Tracking categories

  • [[:Category:{{#ifeq:|Category|Ignored ISBN errors|Ignored ISBN errors }}|Category:{{#ifeq:|Category|Ignored ISBN errors|Ignored ISBN errors }}]]{{#if:{{safesubst:#switch: no
|no
|n
|f
|false
|off
|0        = 
|         = 
|¬        = 
|yes
|y
|t
|true
|on
|1        = yes
|#default = yes

}}| =1408|font-weight: bold; color: #DD0000;}}">( 1 )}} – {{ safesubst:#if: |{{ safesubst:#ifeq:{{{demo}}} |no

|<span
|<span

}} |{{ safesubst:#ifeq:Template|Template

|<span
|maintenance category for {{ISBN}} templates using the accept-as-written markup ((..)) to suppress an error message – shared with {{ISBN}}
  • [[:Category:{{#ifeq:|Category|Pages with ISBN errors|Pages with ISBN errors }}|Category:{{#ifeq:|Category|Pages with ISBN errors|Pages with ISBN errors }}]]{{#if:{{safesubst:#switch: no
|no
|n
|f
|false
|off
|0        = 
|         = 
|¬        = 
|yes
|y
|t
|true
|on
|1        = yes
|#default = yes

}}| =1408|font-weight: bold; color: #DD0000;}}">( 2 )}} – {{ safesubst:#if: |{{ safesubst:#ifeq:{{{demo}}} |no

|<span
|<span

}} |{{ safesubst:#ifeq:Template|Template

|<span
|error category for {{ISBN}} templates that show an error message

Because this template uses the same code as cs1|2 templates, {{ safesubst:#if: |{{ safesubst:#ifeq:{{{demo}}} |no

|<span
|<span

}} |{{ safesubst:#ifeq:Template|Template

|<span
|error and {{ safesubst:#if:

|{{ safesubst:#ifeq:{{{demo}}} |no

|<span
|<span

}} |{{ safesubst:#ifeq:Template|Template

|<span
|maintenance visibility is controlled the same way.  See Help:CS1 errors § Controlling error message display.

See also

|{{safesubst:#switch:#isbn | = __NOTOC__ | = __FORCETOC__

|

= __TOC__

| = __NOEDITSECTION__ | = __NEWSECTIONLINK__ | = __NONEWSECTIONLINK__ | = __NOGALLERY__ | = __HIDDENCAT__ | = __EXPECTUNUSEDCATEGORY__ | = __NOCONTENTCONVERT__ | = __NOCC__ | = __NOTITLECONVERT__ | = __NOTC__ | __START__ = __START__ | __END__ = __END__ | = __INDEX__ | = __NOINDEX__ | = __STATICREDIRECT__ | = __EXPECTUNUSEDTEMPLATE__ | __NOGLOBAL__ = __NOGLOBAL__ | __DISAMBIG__ = __DISAMBIG__ | __EXPECTED_UNCONNECTED_PAGE__ = __EXPECTED_UNCONNECTED_PAGE__ | __ARCHIVEDTALK__ = __EXPECTED_UNCONNECTED_PAGE__ | __NOTALK__ = __EXPECTED_UNCONNECTED_PAGE__ | __EXPECTWITHOUTSCANS__ = __EXPECTED_UNCONNECTED_PAGE__ | #REDIRECT = #REDIRECT | #default = {{[[:{{safesubst:#switch:#isbn | CURRENTYEAR = mw:Help:Magic words#Date and time | CURRENTMONTH = mw:Help:Magic words#Date and time | CURRENTMONTH1 = mw:Help:Magic words#Date and time | CURRENTMONTH2 = mw:Help:Magic words#Date and time | CURRENTMONTHNAME = mw:Help:Magic words#Date and time | CURRENTMONTHNAMEGEN = mw:Help:Magic words#Date and time | CURRENTMONTHABBREV = mw:Help:Magic words#Date and time | CURRENTDAY = mw:Help:Magic words#Date and time | CURRENTDAY2 = mw:Help:Magic words#Date and time | CURRENTDOW = mw:Help:Magic words#Date and time | CURRENTDAYNAME = mw:Help:Magic words#Date and time | CURRENTTIME = mw:Help:Magic words#Date and time | CURRENTHOUR = mw:Help:Magic words#Date and time | CURRENTWEEK = mw:Help:Magic words#Date and time | CURRENTTIMESTAMP = mw:Help:Magic words#Date and time | LOCALYEAR = mw:Help:Magic words#Date and time | LOCALMONTH = mw:Help:Magic words#Date and time | LOCALMONTH1 = mw:Help:Magic words#Date and time | LOCALMONTH2 = mw:Help:Magic words#Date and time | LOCALMONTHNAME = mw:Help:Magic words#Date and time | LOCALMONTHNAMEGEN = mw:Help:Magic words#Date and time | LOCALMONTHABBREV = mw:Help:Magic words#Date and time | LOCALDAY = mw:Help:Magic words#Date and time | LOCALDAY2 = mw:Help:Magic words#Date and time | LOCALDOW = mw:Help:Magic words#Date and time | LOCALDAYNAME = mw:Help:Magic words#Date and time | LOCALTIME = mw:Help:Magic words#Date and time | LOCALHOUR = mw:Help:Magic words#Date and time | LOCALWEEK = mw:Help:Magic words#Date and time | LOCALTIMESTAMP = mw:Help:Magic words#Date and time | SITENAME = mw:Help:Magic words#Technical metadata | SERVER = mw:Help:Magic words#Technical metadata | SERVERNAME = mw:Help:Magic words#Technical metadata | DIRMARK = mw:Help:Magic words#Technical metadata | DIRECTIONMARK = mw:Help:Magic words#Technical metadata | ARTICLEPATH = mw:Help:Magic words#Technical metadata | SCRIPTPATH = mw:Help:Magic words#Technical metadata | STYLEPATH = mw:Help:Magic words#Technical metadata | CURRENTVERSION = mw:Help:Magic words#Technical metadata | CONTENTLANGUAGE = mw:Help:Magic words#Technical metadata | CONTENTLANG = mw:Help:Magic words#Technical metadata | PAGEID = mw:Help:Magic words#Technical metadata | CASCADINGSOURCES = mw:Help:Magic words#Technical metadata | REVISIONID = mw:Help:Magic words#Technical metadata | REVISIONDAY = mw:Help:Magic words#Technical metadata | REVISIONDAY2 = mw:Help:Magic words#Technical metadata | REVISIONMONTH = mw:Help:Magic words#Technical metadata | REVISIONMONTH1 = mw:Help:Magic words#Technical metadata | REVISIONYEAR = mw:Help:Magic words#Technical metadata | REVISIONTIMESTAMP = mw:Help:Magic words#Technical metadata | REVISIONUSER = mw:Help:Magic words#Technical metadata | REVISIONSIZE = mw:Help:Magic words#Technical metadata | NOEXTERNALLANGLINKS = mw:Help:Magic words#EXPECTED_UNCONNECTED_PAGE | NUMBEROFPAGES = mw:Help:Magic words#Technical metadata | NUMBEROFARTICLES = mw:Help:Magic words#Technical metadata | NUMBEROFFILES = mw:Help:Magic words#Technical metadata | NUMBEROFEDITS = mw:Help:Magic words#Technical metadata | NUMBEROFVIEWS = mw:Help:Magic words#Technical metadata | NUMBEROFUSERS = mw:Help:Magic words#Technical metadata | NUMBEROFADMINS = mw:Help:Magic words#Technical metadata | NUMBEROFACTIVEUSERS = mw:Help:Magic words#EXPECTED_UNCONNECTED_PAGE | FULLPAGENAME = mw:Help:Magic words#Page names | PAGENAME = mw:Help:Magic words#Page names | BASEPAGENAME = mw:Help:Magic words#Page names | SUBPAGENAME = mw:Help:Magic words#Page names | SUBJECTPAGENAME = mw:Help:Magic words#Page names | ARTICLEPAGENAME = mw:Help:Magic words#Page names | TALKPAGENAME = mw:Help:Magic words#Page names | ROOTPAGENAME = mw:Help:Magic words#Page names | FULLPAGENAMEE = mw:Help:Magic words#Page names | PAGENAMEE = mw:Help:Magic words#Page names | BASEPAGENAMEE = mw:Help:Magic words#Page names | SUBPAGENAMEE = mw:Help:Magic words#Page names | SUBJECTPAGENAMEE = mw:Help:Magic words#Page names | ARTICLEPAGENAMEE = mw:Help:Magic words#Page names | TALKPAGENAMEE = mw:Help:Magic words#Page names | ROOTPAGENAMEE = mw:Help:Magic words#Page names | NAMESPACE = mw:Help:Magic words#NAMESPACE | NAMESPACENUMBER = mw:Help:Magic words#NAMESPACENUMBER | SUBJECTSPACE = mw:Help:Magic words#SUBJECTSPACE | ARTICLESPACE = mw:Help:Magic words#Namespaces | TALKSPACE = mw:Help:Magic words#TALKSPACE | NAMESPACEE = mw:Help:Magic words#Namespaces | SUBJECTSPACEE = mw:Help:Magic words#Namespaces | TALKSPACEE = mw:Help:Magic words#Namespaces | | = mw:Help:Magic words#Escaped characters | = = mw:Help:Magic words#Escaped characters | PROTECTIONLEVEL = mw:Help:Magic words#Technical metadata | DISPLAYTITLE = mw:Help:Magic words#DISPLAYTITLE | DEFAULTSORT = mw:Help:Magic words#DEFAULTSORT | PAGESINCATEGORY = mw:Help:Magic words#PAGESINCATEGORY | PAGESINCAT = mw:Help:Magic words#PAGESINCAT | NUMBERINGROUP = mw:Help:Magic words#NUMBERINGROUP | PAGESINNS = mw:Help:Magic words#PAGESINNS | PAGESINNAMESPACE = mw:Help:Magic words#PAGESINNAMESPACE | FULLPAGENAME = mw:Help:Magic words#Page names | PAGENAME = mw:Help:Magic words#Page names | BASEPAGENAME = mw:Help:Magic words#Page names | SUBPAGENAME = mw:Help:Magic words#Page names | SUBJECTPAGENAME = mw:Help:Magic words#Page names | ARTICLEPAGENAME = mw:Help:Magic words#Page names | TALKPAGENAME = mw:Help:Magic words#Page names | ROOTPAGENAME = mw:Help:Magic words#Page names | FULLPAGENAMEE = mw:Help:Magic words#Page names | PAGENAMEE = mw:Help:Magic words#Page names | BASEPAGENAMEE = mw:Help:Magic words#Page names | SUBPAGENAMEE = mw:Help:Magic words#Page names | SUBJECTPAGENAMEE = mw:Help:Magic words#Page names | ARTICLEPAGENAMEE = mw:Help:Magic words#Page names | TALKPAGENAMEE = mw:Help:Magic words#Page names | ROOTPAGENAMEE = mw:Help:Magic words#Page names | NAMESPACE = mw:Help:Magic words#Namespaces | NAMESPACENUMBER = mw:Help:Magic words#Namespaces | SUBJECTSPACE = mw:Help:Magic words#Namespaces | ARTICLESPACE = mw:Help:Magic words#Namespaces | TALKSPACE = mw:Help:Magic words#Namespaces | NAMESPACEE = mw:Help:Magic words#Namespaces | SUBJECTSPACEE = mw:Help:Magic words#Namespaces | TALKSPACEE = mw:Help:Magic words#Namespaces | PAGEID = mw:Help:Magic words#Technical metadata of another page | PAGESIZE = mw:Help:Magic words#Technical metadata of another page | PROTECTIONLEVEL = mw:Help:Magic words#Technical metadata of another page | CASCADINGSOURCES = mw:Help:Magic words#Technical metadata of another page | REVISIONID = mw:Help:Magic words#Technical metadata of another page | REVISIONDAY = mw:Help:Magic words#Technical metadata of another page | REVISIONDAY2 = mw:Help:Magic words#Technical metadata of another page | REVISIONMONTH = mw:Help:Magic words#Technical metadata of another page | REVISIONMONTH1 = mw:Help:Magic words#Technical metadata of another page | REVISIONYEAR = mw:Help:Magic words#Technical metadata of another page | REVISIONTIMESTAMP = mw:Help:Magic words#Technical metadata of another page | REVISIONUSER = mw:Help:Magic words#Technical metadata of another page | SHORTDESC = mw:Extension:Wikibase Client | USERLANGUAGE = mw:Help:Magic words#h-Localization_variables-Variables | #default = {{safesubst:#switch:

  1. isbn

| localurl = mw:Help:Magic words#localurl | localurle = mw:Help:Magic words#URL data | fullurl = mw:Help:Magic words#fullurl | fullurle = mw:Help:Magic words#URL data | canonicalurl = mw:Help:Magic words#canonicalurl | canonicalurle = mw:Help:Magic words#URL data | filepath = mw:Help:Magic words#filepath | urlencode = mw:Help:Magic words#urlencode | urldecode = mw:Help:Magic words#URL data | anchorencode = mw:Help:Magic words#anchorencode | noexternallanglinks = mw:Help:Magic words#From Extensions | ns = mw:Help:Magic words#Namespaces | nse = mw:Help:Magic words#Namespaces | formatnum = mw:Help:Magic words#formatnum | #dateformat = mw:Help:Magic words#dateformat | #formatdate = mw:Help:Magic words#formatdate | lc = mw:Help:Magic words#lc | lcfirst = mw:Help:Magic words#lcfirst | uc = mw:Help:Magic words#uc | ucfirst = mw:Help:Magic words#ucfirst | padleft = mw:Help:Magic words#padleft | padright = mw:Help:Magic words#padright | plural = mw:Help:Magic words#PLURAL | grammar = mw:Help:Magic words#GRAMMAR | gender = mw:Help:Magic words#GENDER | int = mw:Help:Magic words#INT | noexternallanglinks = mw:Extension:Wikibase Client | wbreponame = mw:Extension:Wikibase Client | pendingchangelevel = mw:Extension:FlaggedRevs | numberofwikis = mw:Extension:SiteMatrix | #language = mw:Help:Magic words#.23language | #interwikilink = mw:Help:Magic words#interwikilink | #interlanguagelink = mw:Help:Magic words#interlanguagelink | #isbn = mw:Help:Magic words#isbn | #special = mw:Help:Magic words#.23special | #speciale = mw:Help:Magic words#.23speciale | #tag = mw:Help:Magic words#.23tag | #expr = mw:Help:Extension:ParserFunctions#.23expr | #if = mw:Help:Extension:ParserFunctions#.23if | #ifeq = mw:Help:Extension:ParserFunctions#.23ifeq | #iferror = mw:Help:Extension:ParserFunctions#.23iferror | #ifexpr = mw:Help:Extension:ParserFunctions#.23ifexpr | #ifexist = mw:Help:Extension:ParserFunctions#.23ifexist | #rel2abs = mw:Help:Extension:ParserFunctions#.23rel2abs | #switch = mw:Help:Extension:ParserFunctions#.23switch | #time = mw:Help:Extension:ParserFunctions#.23time | #timel = mw:Help:Extension:ParserFunctions#.23timel | #titleparts = mw:Help:Extension:ParserFunctions#.23titleparts | #babel = mw:Extension:Babel#Usage | #categorytree = mw:Extension:CategoryTree#The {{#categorytree}} parser function | #commaseparatedlist = mw:Wikibase/Installation/Advanced_configuration#commaseparatedlist | #coordinates = mw:Extension:GeoData#Parser function | #invoke = mw:Extension:Scribunto#Usage | #lst = mw:Extension:Labeled Section Transclusion#How it works | #lsth = mw:Extension:Labeled Section Transclusion#How it works | #lstx = mw:Extension:Labeled Section Transclusion#How it works | noexternallanglinks = mw:Extension:Wikibase Client | noreplace = mw:Extension:Wikibase Client | pendingchangelevel = mw:Extension:FlaggedRevs | #property = d:Wikidata:How to use data on Wikimedia projects | #statements = d:Wikidata:How to use data on Wikimedia projects | #target = mw:Extension:MassMessage | #default = mw:Help:Magic words##isbn }} }}|#isbn]]:}} }} |Error: No magic word was provided. }} (not recommended; it has none of the helpful features above)

Template Data

{{#if:|{{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AISBN%7CISBN%7CISBN%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee a monthly parameter usage report] for {{#if:ISBN|Template:ISBN|this template}} in articles{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:ISBN|its|this}} TemplateData}}.

|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AISBN%7CISBN%7CISBN%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:ISBN|its|this}} TemplateData}}

|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AISBN%7CISBN%7CISBN%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report] for {{#if:ISBN|Template:ISBN|Template:ISBN}}{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:ISBN|its|this}} TemplateData}}.

|#default=[1]{{#ifeq:{{safesubst:#switch: y
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:ISBN|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch:

|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AISBN%7CISBN%7CISBN%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee a monthly parameter usage report] for {{#if:ISBN|Template:ISBN|this template}} in articles{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:ISBN|its|this}} TemplateData}}.

|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AISBN%7CISBN%7CISBN%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:ISBN|its|this}} TemplateData}}

|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AISBN%7CISBN%7CISBN%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report] for {{#if:ISBN|Template:ISBN|Template:ISBN}}{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:ISBN|its|this}} TemplateData}}.

|#default=[2]{{#ifeq:{{safesubst:#switch: y
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:ISBN|its|this}} TemplateData}} }}}}

TemplateData for ISBN

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{safesubst:#if:{{safesubst:#ifeq:doc|sandbox|1}}{{safesubst:#ifeq:doc|doc|1}}||

}} | other | #default = }} <templatedata> { "params": { "1": { "label": "ISBN #1", "description": "first ISBN to put in the list", "example": "0-674-01181-3", "type": "string", "required": true, "suggested": true }, "2": { "label": "ISBN #2", "description": "second ISBN to put in the list", "example": "0-674-04200-3", "type": "string", "suggested": true }, "3": { "label": "ISBN #3", "description": "third ISBN to put in the list", "example": "0-674-01169-3", "type": "string" }, "4": { "label": "ISBN #4", "description": "fourth ISBN to put in the list", "example": "0-674-01181-6", "type": "string" }, "5": { "label": "ISBN #5", "description": "fifth ISBN to put in the list", "example": "0-674-02181-5", "type": "string" }, "6": {}, "7": {}, "8": {}, "9": {}, "link": { "label": "Suppress link to article?", "description": "If 'no', does not produce a link before the list", "example": "no", "type": "string" }, "plainlink": { "label": "Suppress link to ISBN?", "description": "If 'yes', does not produce \"ISBN: \" before the list", "example": "yes", "type": "string" }, "leadout": { "label": "last list joiner text", "description": "Text between second-to-last and last book ISBN's", "example": "as well as", "type": "string" } }, "description": "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" } </templatedata>