Difference between revisions of "Template:Infobox identifier"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
[[Category:Infobox templates|Template:Remove first word]]
imported>Grapesoda22 |
imported>Jay D. Easy |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| − | | title | + | |child = {{lc:{{{child|{{{embed}}}}}}}} |
| + | |title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | ||
| − | | image | + | |image = {{#invoke:InfoboxImage|InfoboxImage|sizedefault=frameless |
| − | | caption | + | |image = {{{image|}}} |
| + | |size = {{{image_size|}}} | ||
| + | |upright = {{{image_upright|{{{upright|0.9}}}}}} | ||
| + | |border = {{{image_border|yes}}} | ||
| + | |alt = {{{image_alt}}}<!--end InfoboxImage-->}} | ||
| + | |caption = {{{image_caption|}}} | ||
| − | | labelstyle = width:6.5em; | + | |labelstyle = width:6.5em; |
| − | | label1 | + | |label1 = Subject |
| − | | data1 | + | | data1 = {{{subject|}}} |
| − | | label2 | + | |label2 = Full name |
| − | | data2 | + | | data2 = {{{full_name|}}} |
| − | | label3 | + | |label3 = {{#if:{{{initialism|}}}|Initialism|Acronym}} |
| − | + | | data3 = {{{initialism|{{{acronym|}}}}}} | |
| − | | label4 | + | |label4 = Introduced |
| − | | data4 | + | | data4 = {{{start_date|}}} |
| − | | label5 | + | |label5 = {{#if:{{{organization|}}}|Organization|Organisation}} |
| − | | data5 | + | | data5 = {{{organization|{{{organisation|}}}}}} |
| − | | label6 | + | |label6 = {{abbr|No.|Number}} issued |
| − | | data6 | + | | data6 = {{{number|}}} |
| − | | label7 | + | |label7 = {{abbr|No.|Number}} of digits |
| − | | data7 | + | | data7 = {{{digits|}}} |
| − | | label8 | + | |label8 = [[Check digit]] |
| − | | data8 | + | | data8 = {{{check_digit|}}} |
| − | | label9 | + | |label9 = Example |
| − | | data9 | + | | data9 = {{{example|}}} |
| − | | label10 | + | |label10 = Website |
| − | | data10 = {{{website|}}} | + | | data10 = {{{website|}}} |
| − | }}<noinclude>{{ | + | }}<noinclude> |
| + | {{documentation}} | ||
| + | </noinclude> | ||
Revision as of 19:53, 23 July 2019
[[Category:Infobox templates|Template:Remove first word]]
| 30px | This template uses Lua: |
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
yesto 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
| {{{image_alt}}} | |
| Full name | Open Researcher and Contributor ID |
|---|---|
| Introduced |
|
| Organisation | ORCID, Inc. |
| No. issued | 6,236,148 |
| No. of digits | 16 |
| Check digit | MOD 11-2 |
| Example | Template:URL |
| Website | Template: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
| {{{image_alt}}} Example 13-digit ISBN | |
| Initialism | ISBN |
|---|---|
| Introduced | 1970 |
| Organisation | International ISBN Agency |
| No. of digits | 13 (formerly 10) |
| Check digit | Weighted sum |
| Example | 978-3-16-148410-0 |
| Website | Template: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}}
}}
| The above documentation is transcluded from Template:Infobox identifier/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |