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

From blackwiki
Jump to navigation Jump to search
imported>Trappist the monk
(+do not modify mbox;)
 
(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. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
<includeonly>{{esoteric}}</includeonly>
+
<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 ==
 
== About this template ==
Line 52: Line 57:
 
| [[PubMed Identifier|PMID]] || pmid || value || || || none || {{tl|PMID}}
 
| [[PubMed Identifier|PMID]] || pmid || value || || || none || {{tl|PMID}}
 
|-
 
|-
| [[Request for Comments|RFC]] || rfc || value || || || none || {{tl|IETF-RFC}}
+
| [[Request for Comments|RFC]] || rfc || value || || || none || {{tl|IETF RFC}}
 
|-
 
|-
 
| [[Social Science Research Network|SSRN]] || ssrn || value || || || none || {{tl|SSRN}}
 
| [[Social Science Research Network|SSRN]] || ssrn || value || || || none || {{tl|SSRN}}
Line 63: Line 68:
 
* {{tl|cite journal}} uses PMC in the '''url''' parameter; this needs to be synchronized.
 
* {{tl|cite journal}} uses PMC in the '''url''' parameter; this needs to be synchronized.
  
<includeonly>
+
<includeonly>{{sandbox other||
[[Category:Citation templates| ]]
+
[[Category:Citation templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 16:22, 21 November 2019


About this 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 ASIN, ISBN, and JSTOR are rendered in references, producing a consistent look throughout the encyclopedia.

Stand-alone templates

Most of the fields have stand-alone templates for other uses.

Usage

Each identifier is invoked by use of |identifier= to define the type and one or more input parameters:

Identifier |identifier= |input1= |input2= |input3= error check Stand-alone
arXiv arxiv value none {{Arxiv}}
ASIN asin value top-level domain; defaults to com; do not include leading dot; valid values: co.jp, co.uk, ca, cn, fr, de, it or es none {{ASIN}}
Bibcode bibcode value none {{Bibcode}}
doi doi value date the DOI is broken if true, then error category is suppressed ensure doi begins with 10. if not an error shows and the page is placed in Category:Pages with DOI errors {{doi}}
hdl hdl value none {{hdl}}
ISBN isbn value none {{ISBN}}
ISMN ismn value none {{ISMN}}
ISSN issn value none {{ISSN}}
JFM jfm value none {{JFM}}
JSTOR jstor value none {{JSTOR}}
LCCN lccn value none {{LCCN}}
MR mr value none {{MR}}
OCLC oclc value none {{OCLC}}
OL ol value none {{OL}}
OSTI osti value none {{OSTI}}
PMC pmc value none {{PMC}}
PMID pmid value none {{PMID}}
RFC rfc value none {{IETF RFC}}
SSRN ssrn value none {{SSRN}}
Zbl zbl value none {{Zbl}}

Notes

  • Changes should be synchronized between this template and the stand-alone templates.
  • {{cite journal}} uses PMC in the url parameter; this needs to be synchronized.