Difference between revisions of "Template:Citation/identifier/subst/doc"

From blackwiki
Jump to navigation Jump to search
imported>Wikid77
(created, as a typical documentation page for Template:Citation/identifier/subst, in family of wp:CS2 cite templates.)
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 9: Line 9:
 
== See also ==
 
== See also ==
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
  
</includeonly>
+
}}</includeonly>

Latest revision as of 03:50, 30 April 2020

The Template:Citation/identifier/subst is a wp:subst-compatible subtemplate of Template:Citation/identifier, used in wp:CS2 citation style to display id codes for documents (doi, bibcode, PMID, etc.) or books (ISBN, ISSN, etc.). Because the CS2 citation templates are designed to store hidden span-tags and COinS metadata, then subst'ing of the original templates does not generate basic wikitext, but rather the encoded "<span class=...>__</span>" and other internal tagged markup which is not found in basic hand-coded citations.

To use the template, put {subst:Citation/identifier/subst|identifier=xx|input1=...} wherever the template {Citation/identifier} would be used to generate a document-id link, such as: ISBN 123-45-67-890 Parameter error in {{ISBN}}: Invalid ISBN.

      Template:Only in print.

Usage

See also