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

From blackwiki
Jump to navigation Jump to search
imported>Jay D. Easy
imported>Jay D. Easy
Line 79: Line 79:
  
 
=== Name is full ===
 
=== Name is full ===
 
 
{{Infobox identifier
 
{{Infobox identifier
| name          = International Standard Book Number
+
|name          = ISBN
| image        = EAN-13-ISBN-13.svg
+
|image        = EAN-13-ISBN-13.svg
| image_caption = A 13-digit ISBN, 978-3-16-148410-0, as represented by an [[International Article Number (EAN)|EAN-13 bar code]]
+
|image_border  = no
| acronym      = ISBN
+
|image_caption = 13-digit ISBN, as represented by [[EAN-13]]
| start_date    = {{Start date | 1970}}
+
|full_name    = International Standard {{nowr|Book Number}}
| organisation  = International ISBN Agency
+
|acronym      = ISBN
| digits        = 13 (formerly 10)
+
|start_date    = {{start date|1970}}
| check_digit  = Weighted sum
+
|organisation  = International ISBN Agency
| example      = 978-3-16-148410-0
+
|digits        = 13 (formerly 10)
| website      = {{URL|www.isbn-international.org}}
+
|check_digit  = Weighted sum
 +
|example      = {{ISBN|978-3-16-148410-0|plainlink=y}}
 +
|website      = {{URL|isbn-international.org}}
 
}}
 
}}
  
{{Clear}}
+
<pre>
 
 
<pre><nowiki>
 
 
{{Infobox identifier
 
{{Infobox identifier
| name          = International Standard Book Number
+
|name          = ISBN
| image        = EAN-13-ISBN-13.svg
+
|image        = EAN-13-ISBN-13.svg
| image_caption = A 13-digit ISBN, 978-3-16-148410-0, as represented by an [[International Article Number (EAN)|EAN-13 bar code]]
+
|image_border  = no
| acronym      = ISBN
+
|image_caption = 13-digit ISBN, as represented by [[EAN-13]]
| start_date    = {{Start date | 1970}}
+
|full_name    = International Standard {{nowr|Book Number}}
| organisation  = International ISBN Agency
+
|acronym      = ISBN
| digits        = 13 (formerly 10)
+
|start_date    = {{start date|1970}}
| check_digit  = Weighted sum
+
|organisation  = International ISBN Agency
| example      = 978-3-16-148410-0
+
|digits        = 13 (formerly 10)
| website      = {{URL|www.isbn-international.org}}
+
|check_digit  = Weighted sum
}}
+
|example      = {{ISBN|978-3-16-148410-0|plainlink=y}}
</nowiki></pre>
+
|website      = {{URL|isbn-international.org}}
 
+
}}</pre>{{-}}
  
 
<includeonly>
 
<includeonly>
 
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
[[Category:Computing infobox templates]]
 
[[Category:Computing infobox templates]]
}}
+
}}</includeonly>
</includeonly>
 

Revision as of 19:21, 23 July 2019

Usage

Infobox for identifiers (ISBN, ORCID, etc.)

Blank

{{Infobox identifier
| name          = 
| image         = 
| image_size    = 
| image_caption = 
| image_alt     = 
| image_border  = 
| full_name     = 
| acronym       = 
| number        = 
| start_date    = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| organisation  = 
| digits        = 
| check_digit   = 
| example       = 
| website       = <!-- {{URL|example.org}} -->
}}

Parameters

name 
Defaults to PAGENAMEBASE
image 
Logo or other image
image_caption 
Caption
image_size 
If required
image_alt 
see WP:ALT
image_border 
Default yes, but can be no to prevent showing border around image
subject 
What does the identifier identify? e.g. people, books.
full_name 
If |name= uses acronym
acronym 
If |name= uses full name
number 
Number issued - should be cited in body of article
start_date 
Use {{Start date}}
organisation 
Managing organisation
digits 
Number of digits (or "Variable")
check_digit 
Type of Check digit, if used
example 
An example
website 
Use {{URL}}

Example

Name is acronym

ORCID
{{{image_alt}}}
Full nameOpen Researcher Template:Nowr
OrganisationORCID, Inc.
Introduced16 October 2012 (2012-10-16)
No. issued> 1,500,000
No. of digits16
Check digitMOD 11-2
ExampleTemplate:URL
WebsiteTemplate:URL
{{Infobox identifier
 |name         = ORCID
 |image        = ORCID logo with tagline.svg
 |image_border = no
 |full_name    = Open Researcher {{nowr|and Contributor ID}}
 |number       = > 1,500,000
 |start_date   = {{start date|2012|10|16|df=y}}
 |organisation = ORCID, Inc.
 |digits       = 16
 |check_digit  = MOD 11-2
 |example      = {{URL|http://orcid.org/0000-0001-5882-6823|0000-0001-5882-6823}}
 |website      = {{URL|orcid.org}}
}}

Name is full

ISBN
{{{image_alt}}}
13-digit ISBN, as represented by EAN-13
Full nameInternational Standard Template:Nowr
AcronymISBN
OrganisationInternational ISBN Agency
Introduced1970 (1970)
No. of digits13 (formerly 10)
Check digitWeighted sum
Example978-3-16-148410-0
WebsiteTemplate:URL
{{Infobox identifier
 |name          = ISBN
 |image         = EAN-13-ISBN-13.svg
 |image_border  = no
 |image_caption = 13-digit ISBN, as represented by [[EAN-13]]
 |full_name     = International Standard {{nowr|Book Number}}
 |acronym       = ISBN
 |start_date    = {{start date|1970}}
 |organisation  = International ISBN Agency
 |digits        = 13 (formerly 10)
 |check_digit   = Weighted sum
 |example       = {{ISBN|978-3-16-148410-0|plainlink=y}}
 |website       = {{URL|isbn-international.org}}
}}