Template:Infobox identifier/doc: Difference between revisions

Content deleted Content added
Susko3 (talk | contribs)
Document image_style
 
(13 intermediate revisions by 10 users not shown)
Line 1:
{{Documentation subpage}}
{{Lua|Module:Infobox|Module:InfoboxImage}}
 
== Usage ==
Line 7 ⟶ 8:
=== Blank ===
 
<syntaxhighlight lang="wikitext">
<pre><nowiki>
{{Infobox identifier
| name =
Line 15 ⟶ 16:
| image_alt =
| image_border =
| image_class =
| image_style =
| full_name =
| acronym =
Line 25 ⟶ 28:
| website = <!-- {{URL|example.org}} -->
}}
</syntaxhighlight>
</nowiki></pre>
 
== Parameters ==
{{columns-start|num=2}}
; child {{nobold|or}} embed: set to {{code|yes}} to embed
; name: defaults to {{tlx|PAGENAMEBASE}}
; image: e.g. {{code|identifier logoidentifier_logo.svg}}
; image_size {{nobold|(deprecated)}}: size in px
; image_caption: caption
; image_sizeimage_upright: defaults to {{code|<nowiki>upright=10.1</nowiki>9}}
; image_alt: see [[WP:ALT]]
; image_border: defaults to {{code|no}}
; image_alt: see [[WP:ALT]]
; image_class: CSS class applied to image and caption, can be {{code|skin-invert}} to invert the image in dark mode
; image_style: CSS style applied to the image and caption
; image_caption: caption
; subject: e.g. people, books
; full_name: if {{para|name}} uses acronym
{{column}}
; acronymfull_name: if {{para|name}} uses fullacronym nameor 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
; start_date: use {{tlx|start date}}
; organisation: managing organisation
; digits: number of digits
; check_digit: [[check digit]], if used
Line 55 ⟶ 62:
|image = ORCID logo with tagline.svg
|image_border = no
|upright = 1.1
|full_name = Open Researcher {{nowr|and Contributor ID}}
|number = > 1,500,000
|start_date = {{start date|2012|10|16|df=y}}
|organisation = ORCID, Inc.
|start_date = {{start date and age|2012|10|16|df=y}}
|number = > 16,500236,000148
|digits = 16
|check_digit = MOD 11-2
|example = {{URL|http[https://orcid.org/0000-0001-5882-6823| 0000-0001-5882-6823}}]
|website = {{URL|orcid.org}}
}}<syntaxhighlight lang="wikitext">
}}
 
<pre>
{{Infobox identifier
|name = ORCID
|image = ORCID logo with tagline.svg
|image_border = no
|upright = 1.1
|full_name = Open Researcher {{nowr|and Contributor ID}}
|number = > 1,500,000
|start_date = {{start date|2012|10|16|df=y}}
|organisation = ORCID, Inc.
|start_date = {{start date and age|2012|10|16|df=y}}
|number = > 16,500236,000148
|digits = 16
|check_digit = MOD 11-2
|example = {{URL|http[https://orcid.org/0000-0001-5882-6823| 0000-0001-5882-6823}}]
|website = {{URL|orcid.org}}
}}</presyntaxhighlight>{{-}}
 
=== Name is full ===
{{Infobox identifier
|name = ISBNInternational {{nowr|Standard Book Number}}
|image = EAN-13-ISBN-13.svg
|image_border = no
|image_caption = 13-digit ISBN, as represented byExample [[EAN-13|13-digit]] ISBN
|image_class = notheme
|full_name = International Standard {{nowr|Book Number}}
|image_style = background-color: #f8f9fa;
|acronym = ISBN
|start_dateinitialism = {{start date|1970}}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}}
}}<syntaxhighlight lang="wikitext">
}}
 
<pre>
{{Infobox identifier
|name = ISBNInternational {{nowr|Standard Book Number}}
|image = EAN-13-ISBN-13.svg
|image_border = no
|image_caption = 13-digit ISBN, as represented byExample [[EAN-13|13-digit]] ISBN
|image_class = notheme
|full_name = International Standard {{nowr|Book Number}}
|image_style = background-color: #f8f9fa;
|acronym = ISBN
|acronym initialism = ISBN
|organisation = International ISBN Agency
|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}}
}}</presyntaxhighlight>{{-}}
 
<includeonly>{{Sandbox other||
 
<includeonly>
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
[[Category:Computing infobox templates]]
[[Category:Embeddable templates]]
}}</includeonly>