Difference between revisions of "Template:ISBN missing/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m ("{{t1" --> "{{tl")
imported>John of Reading
m (→‎How to fix the problem flagged by this template: Typo fixing, replaced: paramter → parameter (2))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 +
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
{{COinS safe|n}}
 
{{COinS safe|n}}
 
{{Nosubst}}<includeonly>{{template shortcut|ISBN?}}</includeonly>
 
{{Nosubst}}<includeonly>{{template shortcut|ISBN?}}</includeonly>
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
 
 
{{Tl|ISBN missing}} is an inline cleanup template for flagging a reference that is missing the [[International Standard Book Number|International Standard Book Number (ISBN)]] of the source document.
 
{{Tl|ISBN missing}} is an inline cleanup template for flagging a reference that is missing the [[International Standard Book Number|International Standard Book Number (ISBN)]] of the source document.
  
 
==Usage==
 
==Usage==
{{Tld|ISBN missing|date&#61;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
+
{{tlc|ISBN missing|date&#61;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
  
 
*With a reference formatted via a [[Help:Citation Style 1#Templates|Citation Style 1 template]] ({{Tlx|Cite web}}, {{Tlx|Cite book}}, {{Tlx|Citation}}, etc.):
 
*With a reference formatted via a [[Help:Citation Style 1#Templates|Citation Style 1 template]] ({{Tlx|Cite web}}, {{Tlx|Cite book}}, {{Tlx|Citation}}, etc.):
:#Place {{Tld|ISBN missing|date&#61;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} outside the citation template
+
:#Place {{tlc|ISBN missing|date&#61;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} outside the citation template
 
:#{{warnsign|Do not place it in the {{para|isbn}} parameter of a Citation Style 1 template.  The inclusion of text other than the digits of an ISBN in {{para|isbn}} corrupts the citation's [[WP:COinS|COinS]] metadata and the citation's link to [[Special:BookSources]].}}
 
:#{{warnsign|Do not place it in the {{para|isbn}} parameter of a Citation Style 1 template.  The inclusion of text other than the digits of an ISBN in {{para|isbn}} corrupts the citation's [[WP:COinS|COinS]] metadata and the citation's link to [[Special:BookSources]].}}
*With a free-form reference, just append {{Tld|ISBN missing|date&#61;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} to the end of the citation.
+
*With a free-form reference, just append {{tlc|ISBN missing|date&#61;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} to the end of the citation.
  
 
==How to fix the problem flagged by this template==
 
==How to fix the problem flagged by this template==
Line 18: Line 18:
  
 
*'''Determine the ISBN, add it to the reference, then remove the <nowiki>{{ISBN missing}}</nowiki> template'''
 
*'''Determine the ISBN, add it to the reference, then remove the <nowiki>{{ISBN missing}}</nowiki> template'''
:For a reference formatted via a [[Help:Citation Style 1#Templates|Citation Style 1 template]], use its ISBN paramter:
+
:For a reference formatted via a [[Help:Citation Style 1#Templates|Citation Style 1 template]], use its ISBN parameter:
 
::{{para|isbn|<var>X-XXXX-XXXX-X</var>}}
 
::{{para|isbn|<var>X-XXXX-XXXX-X</var>}}
 
:For a free-form reference:
 
:For a free-form reference:
Line 26: Line 26:
 
*'''If you are certain that the source document does not have an ISBN, add a {{tl|No ISBN}} template to the reference, then remove the <nowiki>{{ISBN missing}}</nowiki> template'''
 
*'''If you are certain that the source document does not have an ISBN, add a {{tl|No ISBN}} template to the reference, then remove the <nowiki>{{ISBN missing}}</nowiki> template'''
 
:For a reference formatted via a [[Help:Citation Style 1#Templates|Citation Style 1 template]]:
 
:For a reference formatted via a [[Help:Citation Style 1#Templates|Citation Style 1 template]]:
::1. Use its ISBN paramter to state explicitly that the ISBN does not exist:
+
::1. Use its ISBN parameter to state explicitly that the ISBN does not exist:
 
:::{{para|isbn|<nowiki><!-- ISBN unspecified --></nowiki>}} (''you must use HTML'' <code><nowiki><!--  --></nowiki></code> ''comment tags to hide the message from the citation processing software'')
 
:::{{para|isbn|<nowiki><!-- ISBN unspecified --></nowiki>}} (''you must use HTML'' <code><nowiki><!--  --></nowiki></code> ''comment tags to hide the message from the citation processing software'')
 
::2. Place {{Tlx|No ISBN}} outside the citation template
 
::2. Place {{Tlx|No ISBN}} outside the citation template
Line 40: Line 40:
 
*{{tl|Listed Invalid ISBN}}
 
*{{tl|Listed Invalid ISBN}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
<!-- ADD CATEGORIES BELOW THIS LINE -->
+
<!-- Categories below this line; interwikis at Wikidata -->
 
[[Category:Inline citation cleanup templates]]
 
[[Category:Inline citation cleanup templates]]
 
[[Category:International Standard Book Number templates]]
 
[[Category:International Standard Book Number templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 16:43, 18 December 2020

{{ISBN missing}} is an inline cleanup template for flagging a reference that is missing the International Standard Book Number (ISBN) of the source document.

Usage

{{ISBN missing|date=March 2026}}

  1. Place {{ISBN missing|date=March 2026}} outside the citation template
  2. Template:Warnsign
  • With a free-form reference, just append {{ISBN missing|date=March 2026}} to the end of the citation.

How to fix the problem flagged by this template

Do not remove the {{ISBN missing}} template without fixing the problem in one of the following ways:

  • Determine the ISBN, add it to the reference, then remove the {{ISBN missing}} template
For a reference formatted via a Citation Style 1 template, use its ISBN parameter:
|isbn=X-XXXX-XXXX-X
For a free-form reference:
  1. Add the ISBN as appropriate to the citation, or...
  2. Better yet, convert the citation to a Citation Style 1 template.
  • If you are certain that the source document does not have an ISBN, add a {{No ISBN}} template to the reference, then remove the {{ISBN missing}} template
For a reference formatted via a Citation Style 1 template:
1. Use its ISBN parameter to state explicitly that the ISBN does not exist:
|isbn=<!-- ISBN unspecified --> (you must use HTML <!-- --> comment tags to hide the message from the citation processing software)
2. Place {{No ISBN}} outside the citation template
For free-form reference, just add {{No ISBN}} to the end of the citation.

If you remove the {{ISBN missing}} template without fixing the problem in one of the above ways, someone else will come along later and flag the reference with {{ISBN missing}} again!

See also