Template:Infobox identifier/doc: Difference between revisions

Content deleted Content added
Susko3 (talk | contribs)
Document image_style
 
(15 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 : Defaultsdefaults to {{tlx|PAGENAMEBASE}}
; image : Logo or other image
; image: e.g. {{code|identifier_logo.svg}}
; image_caption : Caption
; image_size {{nobold|(deprecated)}}: Ifsize requiredin px
; image_upright: defaults to {{code|0.9}}
; image_alt : see [[WP:ALT]]
; image_border : Defaultdefaults {{code|yes}}, but can beto {{code|no}} to prevent showing border around image
; image_alt : see [[WP:ALT]]
; subject : What does the identifier identify? e.g. people, books.
; image_class: CSS class applied to image and caption, can be {{code|skin-invert}} to invert the image in dark mode
; full_name : If {{Para|name}} uses acronym
; image_style: CSS style applied to the image and caption
; acronym : If {{Para|name}} uses full name
; image_caption : Captioncaption
; number : Number issued - should be cited in body of article
; subject : What does the identifier identify? e.g. people, books.
; start_date : Use {{Tl|Start date}}
{{column}}
; organisation : Managing organisation
; full_name : Ifif {{Parapara|name}} uses acronym or initialism
; digits : Number of digits (or "Variable")
; acronym {{nobold|or}} initialism: Ifif {{Parapara|name}} uses full name
; check_digit : Type of [[Check digit]], if used
; organisation {{nobold|or}} organization: Managingmanaging organisation
; example : An example
; start_date: use {{tlx|start date}} or {{tlx|start date and age}}
; website : Use {{tl|URL}}
; number : Numbernumber issued - should be cited in body of article
; digits : Numbernumber of digits (or "Variable")
; check_digit : Type of [[Checkcheck digit]], if used
; example : Anan example
; website : Useuse {{tltlx|URL}}
{{columns-end}}
 
== Example ==
Line 53 ⟶ 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}}
}}</syntaxhighlight>{{-}}
}}</pre>
 
=== 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 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}}
}}<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 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>