Content deleted Content added
→Hiding pen in printouts or to non-logged in users?: thanks, will try |
|||
Line 80:
::Anyway, you probably also can add it directly as a class on the image (what would be {{para|class|noprint}}), rather than adding a surrounding span. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 06:36, 12 March 2022 (UTC)
:::Thanks, although this is way over my head. Searching led me to [[Wikipedia:Catalogue of CSS classes]] which suggests using metadata rather than noprint but I can't find any examples of that so will ignore it. I believe you are saying that the optimum procedure would be to invent some class for print.css and use that. Unless someone sufficiently clueful, and with sufficient time, does that soon I propose sticking with the self-explanatory noprint. I won't do it right now because it would mess up the testcases, but I will try <code>|class=noprint</code> as an extra parameter inside the <code><nowiki>[[File:....]]</nowiki></code>. Groan, I suppose I'll then have to test it. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 08:42, 12 March 2022 (UTC)
::::Lucky you. ;) [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 18:05, 12 March 2022 (UTC)
|