Template:Citation/identifier/doc: Difference between revisions

From Regenerate Willamette Valley
+do not modify mbox;
 
m 1 revision imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
<includeonly>{{esoteric}}{{Mbox
| demospace = {{{demospace|}}}
| type = style
| image = [[File:Ambox important.svg|40px|alt=|link=]]
| text = Do not modify.  '''{{PAGENAME}}''' is preserved as an historical reference against which current Lua-based cs1{{!}}2 templates may be compared.
}}</includeonly>


== About this template ==
This subtemplate generates identifiers for its parent template.


[[Template:Citation/identifier]] is a helper template to Wikipedia's citation system.  This template ties in with other templates like [[Template:Citation/core]]. Specifically, it helps render how identifiers like [[Amazon Standard Identification Number|ASIN]], [[International Standard Book Number|ISBN]], and [[JSTOR]] are rendered in references, producing a consistent look throughout the encyclopedia.
<includeonly>
 
== Stand-alone templates ==
 
Most of the fields have stand-alone templates for other uses.
 
== Usage ==
 
Each identifier is invoked by use of {{para|identifier}} to define the type and one or more {{code|input}} parameters:
 
{| class="wikitable"
! Identifier !! {{para|identifier}} !! {{para|input1}} !! {{para|input2}} !! {{para|input3}} !! error check !! Stand-alone
|-
| [[arXiv]] || arxiv || value || || || none || {{tl|Arxiv}}
|-
| [[Amazon Standard Identification Number|ASIN]] || asin || value || [[top-level domain]]; defaults to <code>com</code>; do not include leading dot; valid values: <code>co.jp</code>, <code>co.uk</code>, <code>ca</code>, <code>cn</code>, <code>fr</code>, <code>de</code>, <code>it</code> or <code>es</code> || || none || {{tl|ASIN}}
|-
| [[Bibcode]] || bibcode || value || || || none || {{tl|Bibcode}}
|-
| [[Digital object identifier|doi]] || doi || value || date the DOI is broken || if {{code|true}}, then error category is suppressed || ensure doi begins with {{code|10.}} if not an error shows and the page is placed in [[:Category:Pages with DOI errors]] || {{tl|doi}}
|-
| [[Handle System|hdl]] || hdl || value || || || none || {{tl|hdl}}
|-
| [[International Standard Book Number|ISBN]] || isbn || value || || || none || {{tl|ISBN}}
|-
| [[International Standard Music Number|ISMN]] || ismn || value || || || none || {{tl|ISMN}}
|-
| [[International Standard Serial Number|ISSN]] || issn || value || || || none || {{tl|ISSN}}
|-
| [[Jahrbuch über die Fortschritte der Mathematik|JFM]] || jfm || value || || || none || {{tl|JFM}}
|-
| [[JSTOR]] || jstor || value || || || none || {{tl|JSTOR}}
|-
| [[Library of Congress Control Number|LCCN]] || lccn || value || || || none || {{tl|LCCN}}
|-
| [[Mathematical Reviews|MR]] || mr || value || || || none || {{tl|MR}}
|-
| [[OCLC]] || oclc || value || || || none || {{tl|OCLC}}
|-
| [[Open Library|OL]] || ol || value || || || none || {{tl|OL}}
|-
| [[Office of Scientific and Technical Information|OSTI]] || osti || value || || || none || {{tl|OSTI}}
|-
| [[PubMed Central|PMC]] || pmc || value || || || none || {{tl|PMC}}
|-
| [[PubMed Identifier|PMID]] || pmid || value || || || none || {{tl|PMID}}
|-
| [[Request for Comments|RFC]] || rfc || value || || || none || {{tl|IETF RFC}}
|-
| [[Social Science Research Network|SSRN]] || ssrn || value || || || none || {{tl|SSRN}}
|-
| [[Zentralblatt MATH|Zbl]] || zbl || value || || || none || {{tl|Zbl}}
|}
 
== Notes ==
* Changes should be synchronized between this template and the stand-alone templates.
* {{tl|cite journal}} uses PMC in the '''url''' parameter; this needs to be synchronized.
 
<includeonly>{{sandbox other||
[[Category:Citation templates]]
[[Category:Citation templates]]
}}</includeonly>
</includeonly>

Latest revision as of 23:11, 5 January 2025

{{#ifeq:doc|doc|Template:Notice}}

This subtemplate generates identifiers for its parent template.