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 29: Line 29:
 
== Parameters ==
 
== Parameters ==
 
{{columns-start|num=2}}
 
{{columns-start|num=2}}
 +
; child {{nobold|or}} embed: set to {{code|yes}} to embed
 
; name: defaults to {{tlx|PAGENAMEBASE}}
 
; name: defaults to {{tlx|PAGENAMEBASE}}
; image: e.g. {{code|identifier logo.svg}}
+
; image: e.g. {{code|identifier_logo.svg}}
 +
; image_size {{nobold|(deprecated)}}: size in px
 +
; image_upright: defaults to {{code|0.9}}
 +
; image_border: defaults to {{code|no}}
 +
; image_alt: see [[WP:ALT]]
 
; image_caption: caption
 
; image_caption: caption
; image_size: defaults to {{code|<nowiki>upright=1.1</nowiki>}}
 
; image_alt: see [[WP:ALT]]
 
; image_border: defaults to {{code|no}}
 
 
; subject: e.g. people, books
 
; subject: e.g. people, books
; full_name: if {{para|name}} uses acronym
 
 
{{column}}
 
{{column}}
; acronym: if {{para|name}} uses full name
+
; full_name: if {{para|name}} uses acronym or initialism
 +
; acronym {{nobold|or}} initialism: if {{para|name}} uses full name
 +
; organisation {{nobold|or}} organization: managing organisation
 +
; start_date: use {{tlx|start date}} or {{tlx|start date and age}}
 
; number: number issued – should be cited in body of article
 
; number: number issued – should be cited in body of article
; start_date: use {{tlx|start date}}
 
; organisation: managing organisation
 
 
; digits: number of digits
 
; digits: number of digits
 
; check_digit: [[check digit]], if used
 
; check_digit: [[check digit]], if used

Revision as of 20:18, 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

child or embed
set to yes to embed
name
defaults to {{PAGENAMEBASE}}
image
e.g. identifier_logo.svg
image_size (deprecated)
size in px
image_upright
defaults to 0.9
image_border
defaults to no
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
{{{image_alt}}}
Full nameOpen Researcher and Contributor ID
OrganisationORCID, Inc.
Introduced
  1. REDIRECT Template:Start date and age
No. issued6,236,148
No. of digits16
Check digitMOD 11-2
ExampleTemplate:URL
WebsiteTemplate: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 Template:Nowr
{{{image_alt}}}
Example 13-digit ISBN
InitialismISBN
OrganisationInternational ISBN Agency
Introduced1970 (1970)
No. of digits13 (formerly 10)
Check digitWeighted sum
Example978-3-16-148410-0
WebsiteTemplate: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}}
}}