Content deleted Content added
Jay D. Easy (talk | contribs) →Name is acronym: fix |
Document image_style |
||
(16 intermediate revisions by 10 users not shown) | |||
Line 1:
{{Documentation subpage}}
{{Lua|Module:Infobox|Module:InfoboxImage}}
== Usage ==
Line 7 ⟶ 8:
=== Blank ===
<syntaxhighlight lang="wikitext">
{{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>
== 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_logo.svg}}
; image_size {{nobold|(deprecated)}}:
; image_upright: defaults to {{code|0.9}}
; image_border
; 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
{{column}}
; 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
; digits: number of digits
; check_digit: [[check digit]], if used
; example: an example
; website: use {{tlx|URL}}
{{columns-end}}
== Example ==
Line 53 ⟶ 62:
|image = ORCID logo with tagline.svg
|image_border = no
|upright = 1.1
|full_name = Open Researcher |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 =
|website = {{URL|orcid.org}}
}}<syntaxhighlight lang="wikitext">
{{Infobox identifier
|name = ORCID
|image = ORCID logo with tagline.svg
|image_border = no
|upright = 1.1
|full_name = Open Researcher |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 =
|website = {{URL|orcid.org}}
}}</syntaxhighlight>{{-}}
=== Name is full ===
{{Infobox identifier
|
|
|image_border = no
|image_caption = Example [[EAN-13|13-digit]] ISBN
|image_class = notheme
|image_style = background-color: #f8f9fa;
|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}}
}}<syntaxhighlight lang="wikitext">
{{Infobox identifier
|
|
|image_border = no
|image_caption = Example [[EAN-13|13-digit]] ISBN
|image_class = notheme
|image_style = background-color: #f8f9fa;
|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}}
}}</syntaxhighlight>{{-}}
<includeonly>{{Sandbox other||
[[Category:Computing infobox templates]]
[[Category:Embeddable templates]]
}}</includeonly>
|