Template:Infobox identifier/doc

From The Global Wiki
< Template:Infobox identifier
Revision as of 19:42, 25 April 2020 by en>Vanisaac (→‎Name is full: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

child or embed
set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">yes</syntaxhighlight> to embed
name
defaults to {{PAGENAMEBASE}}
image
e.g. <syntaxhighlight lang="text" class="" id="" style="" inline="1">identifier_logo.svg</syntaxhighlight>
image_size (deprecated)
size in px
image_upright
defaults to <syntaxhighlight lang="text" class="" id="" style="" inline="1">0.9</syntaxhighlight>
image_border
defaults to <syntaxhighlight lang="text" class="" id="" style="" inline="1">no</syntaxhighlight>
image_alt
see WP:ALT
image_caption
caption
subject
e.g. people, books
full_name
if |name= uses acronym or initialism
acronym or initialism
if |name= uses full name
organisation or organization
managing organisation
start_date
use {{start date}} or {{start date and age}}
number
number issued – should be cited in body of article
digits
number of digits
check_digit
check digit, if used
example
an example
website
use {{URL}}

Example

Name is acronym

ORCID
File:ORCID logo with tagline.svg
Full nameOpen Researcher and Contributor ID
OrganisationORCID, Inc.
Introduced16 October 2012; Script error: No such module "Time ago". (2012-10-16)
No. issued6,236,148
No. of digits16
Check digitMOD 11-2
ExampleScript error: No such module "URL".
WebsiteScript error: No such module "URL".
{{Infobox identifier
 |name         = ORCID
 |image        = ORCID logo with tagline.svg
 |image_border = no
 |upright      = 1.1
 |full_name    = Open Researcher and Contributor ID
 |organisation = ORCID, Inc.
 |start_date   = {{date and age|2012|10|16|df=y}}
 |number       = 6,236,148
 |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

International Standard Book Number
File:EAN-13-ISBN-13.svg
Example 13-digit ISBN
InitialismISBN
OrganisationInternational ISBN Agency
Introduced1970 (1970)
No. of digits13 (formerly 10)
Check digitWeighted sum
ExampleScript error: No such module "Catalog lookup link".
WebsiteScript error: No such module "URL".
{{Infobox identifier
 |name          = International {{nowr|Standard Book Number}}
 |image         = EAN-13-ISBN-13.svg
 |image_border  = no
 |image_caption = Example [[EAN-13|13-digit]] ISBN
 |initialism    = ISBN
 |organisation  = International ISBN Agency
 |start_date    = {{start date|1970}}
 |digits        = 13 (formerly 10)
 |check_digit   = Weighted sum
 |example       = {{ISBN|978-3-16-148410-0|plainlink=y}}
 |website       = {{URL|isbn-international.org}}
}}