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!
== Template-protected edit request on 8 March 2022 == {{tper|ans=yes}} <div class="thumb tright"><div class="thumbinner">{{#invoke:InfoboxImage/sandbox|InfoboxImage |image=Mustela erminea upright.jpg |upright=0.5|class=nopageimage}}</div></div> Please apply the changes made to the module in [[Module:InfoboxImage/sandbox]] ({{Compare pages|{{SUBJECTPAGENAME}}|{{SUBJECTPAGENAME}}/sandbox|diff}}), which adds the option for a "class" parameter that allows upper templates to set an [[Help:Images#Syntax|HTML class]] for the infobox image (particularly the newly-introduced [[mw:Extension:PageImages#Can I exclude certain page images?|"notpageimage" class]], which removes the image from the list of page images). Testcase of working usage of the parameter is shown at the right side (you may need to use the browser's element inspector to verify that the class exists). <span style="background:#ffff55">'''''[[User:Chlod|Chlod]]'''''</span> <small style="font-size:calc(1em - 2pt)">([[User talk:Chlod|say hi!]])</small> 09:47, 8 March 2022 (UTC) :{{done}} -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 19:18, 13 March 2022 (UTC) :{{U|Chlod}} I think it would make more sense for this module to provide an API to add the class(es) of interest rather than to provide a class parameter that we'll have to chase the name down should the name ever change. (Or for any other reason.) [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 03:25, 14 March 2022 (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