Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Tales from Chyria
Search
Editing
Module talk:InfoboxImage
(section)
From Tales from Chyria
Namespaces
Module
Discussion
More
More
Page actions
Read
Edit source
New topic
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Add |style for customising CSS style of the image == Useful for dark mode compatibility. It would allow setting <code>|class=notheme |style=background-color: #f8f9fa;</code> to add a white background to a image. [[Template:Infobox]] provides <code>|imageclass= |imagestyle=</code> but it also changes the class and style of the caption, which is not desired. Example with [[ISBN]]: {{Infobox identifier|name=Current best compromise:|image=EAN-13-ISBN-13.svg|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}}}} {{Infobox | child = {{lc:{{{child|{{{embed}}}}}}}} | title = Desired: | imagestyle = {{{image_style|}}} | image = {{#invoke:InfoboxImage|InfoboxImage|sizedefault=frameless |image = EAN-13-ISBN-13.svg |size = {{{image_size|}}} |upright = {{{image_upright|{{{upright|0.9}}}}}} |border = no |class = notheme infobox <!-- infobox class applies the white colour --> |alt = {{{image_alt}}}<!--end InfoboxImage-->}} | caption = Example [[EAN-13|13-digit]] ISBN | labelstyle = width:6.5em; | label1 = Subject | data1 = {{{subject|}}} | label2 = Full name | data2 = {{{full_name|}}} | label3 = Initialism | data3 = ISBN | label4 = [[ISO 15511|Identifier]] | data4 = {{{identifier|}}} | label5 = Organisation | data5 = International ISBN Agency | label6 = Introduced | data6 = {{start date|1970}} | label7 = {{abbr|No.|Number}} issued | data7 = {{{number|}}} | label8 = {{abbr|No.|Number}} of digits | data8 = 13 (formerly 10) | label9 = [[Check digit]] | data9 = Weighted sum | label10 = Example | data10 = {{ISBN|978-3-16-148410-0|plainlink=y}} | label11 = Website | data11 = {{URL|isbn-international.org}} | imageclass = {{{image_class|}}} }} [[User:Susko3|Susko3]] ([[User talk:Susko3|talk]]) 00:48, 26 November 2024 (UTC) :{{replyto|Susko3}} Why are you prototyping this here, and not at the appropriate [[WP:TESTCASES|sandbox and testcases]] pages? --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 07:51, 26 November 2024 (UTC) ::Also, style is not listed as an image parameter at [[Wikipedia:Extended image syntax]]. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 08:10, 26 November 2024 (UTC)
Summary:
Please note that all contributions to Tales from Chyria may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Chyria Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Wiki tools
Wiki tools
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs