On November 27th, 2022, the 8,000th article was added to the SuccuWiki!

Template talk:Imbox: Difference between revisions

From SuccuWiki - The Wiki of the Succubi
Jump to navigation Jump to search
m (1 revision)
 
m (Replaced content with "Template talk:Imbox")
 
Line 1: Line 1:
{{Message box standardisation}}
Template talk:Imbox
 
{{User:MiszaBot/config
|maxarchivesize = 100K
|counter = 3
|minthreadsleft = 7
|algo = old(21d)
|archive = Template talk:Imbox/Archive %(counter)d
}}
{{autoarchivingnotice
|small=yes
|age=21
|bot=MiszaBot II
}}
{{archives
| auto = long
| search = yes
}}
{{clearright}}{{shortcut|WT:IMBOX}}
 
== Namespace detection ==
 
Since this template range is designed for Image pages and Image Talk pages, shouldn't it have somesort of namespace detection so if people try to use it on article talk pages it gives a message something like "Stop: this template is designed for Image and Image talk pages only!". [[User:Peachey88|Peachey88]] <sup>([[User_Talk:Peachey88|Talk Page]] | [[Special:Contributions/Peachey88|Contribs]])</sup> 07:05, 9 November 2008 (UTC)
 
:It is designed for Image pages, not for Image talk pages. For templates that could be used on both, use {{tl|mbox}}. —[[User:Ms2ger|Ms2ger]] ([[User talk:Ms2ger|talk]]) 10:28, 9 November 2008 (UTC)
 
::Ms2ger: Right, the {{tl|imbox}} should only be used on "Image:" pages and not on "Image talk:" pages. For any kind of talk pages we have the {{tl|tmbox}}. And right, if a message box should be used on two or more kinds of pages then you can use the {{tl|mbox}} that automatically changes style depending on namespace.
::Peachey88: I have been thinking about adding such a warning message to the imbox and the other mboxes. But I have hesitated for a number of reasons:
::# It adds some code complexity.
::# The style of the boxes already is a signal to most editors for what type of page they are supposed to be used.
::# Until recently I was not sure how I wanted such a message to look, and I have seen that people have been arguing a lot about the design of such messages.
::# When we build message boxes from the imbox we have been using the {{tl|image other}} template to make the boxes not categorise pages when they are shown/discussed on for instance talk pages and "Wikipedia:" pages. While doing that we often add a message saying: "This template should only be used on image pages." If you want to see examples of how that looks see many of the message boxes listed at [[Wikipedia:Template messages/Image namespace]]. Adding that message enclosed by the {{tl|image other}} template makes it clearer that the categorising will only be done in the other case, when the template actually is on an image page. See for instance the code of {{tl|Cc-by}} to see what I mean. Of course, that is not enough of a reason to not build the message into the {{tl|imbox}} itself.
::# It makes it harder to test and demonstrate the looks of the imbox, since the message will be visible in the template's documentation and on most test pages. That could of course be fixed by adding a parameter that turns off the message, but that adds even more code complexity. And such a parameter probably has to be described in the documentation too, thus adding documentation complexity too. :((
::# We allow users to use any kind of mbox on their user pages. That is, they have great style-freedom on their user pages. (Which I think is a good thing, since then they can experiment and learn there.) And many users do use for instance the ambox or imbox on their user page. If we add such error messages to the mboxes then the users can only use the rather dull {{tl|ombox}} on their user pages. Unless of course we add a parameter to the boxes to suppress the message, and we document it, and the users actually read that part of the documentation. Or we add even more code complexity by making it so the mboxes do not show the error message when on "User:" and "User talk:" pages...
::Anyway, now that we have used such messages for a time I have some conclusions about how I want such a message to look. Remember that the message will be visible on the templates' own pages, and when the templates are legitimately demonstrated in discussions on talk pages and when they are listed for instance at [[Wikipedia:Template messages/Image namespace]]. Thus I think the message should not be too strong. Also, too strong messages are rude, and can perhaps even be scary for new users. So I don't want the message to be bold or big or red, or contain words like "error" or "stop". Instead a simple message like this is enough:
:::This template should only be used on image pages.
::Also, I think the message should be placed beneath the message box, not inside it. Because when inside the box it isn't enough visible. If we place it inside then it has to be big and red to be seen, and then it destroys the look of the message box when it is legitimately demonstrated in discussions on talk pages and when listed on "Wikipedia:" pages.
::But I still hesitate to add such a message to the {{tl|imbox}} and the other mboxes. Sure, I would like such an error message, but it causes too much problems for too little gain. Instead adding it in the boxes we build causes much less problems, at the same time as we fix the categorising as I described above. (Even though that means that most message boxes probably won't have the error message.) So I think I am somewhere between "weak oppose" and "oppose", provided we make the message the way I explained. If the message is made stronger then I will "strongly oppose" it.
::--[[User:Davidgothberg|David Göthberg]] ([[User talk:Davidgothberg|talk]]) 20:32, 9 November 2008 (UTC)
:::I also dislike the idea of prescribing the use of the mboxes in this fashion.  As DG says, it is aggressive and possibly scary to have a warning message appear unexpectedly; the issue of it appearing in places where the imbox is ''legitimately'' used outside the Image: namespace makes it not particularly useful.  It's such a trivial 'mistake' to fix, and there are such tangible downsides to implementing it, that I don't think it's a good idea. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 17:21, 10 November 2008 (UTC)
 
== Category proposal ==
 
Please see [[Wikipedia:Village pump (proposals)#Message box categories]].  Thanks.  [[User:Dragons flight|Dragons flight]] ([[User talk:Dragons flight|talk]]) 06:59, 3 June 2009 (UTC)
 
== Broom image ==
 
{{tl|editprotected}}
Would it be possible to swap the png broom image [[:File:Imbox style.png]] [[File:Imbox style.png|40x40px]] to the svg version [[:File:Broom icon.svg]] [[File:Broom icon.svg|40x40px]]? A local version of [[:File:Broom icon.svg]] could always be uploaded (like the current png one) if possible vandalism is an issue. /[[Special:Contributions/129.215.149.98|129.215.149.98]] ([[User talk:129.215.149.98|talk]]) 13:40, 13 January 2010 (UTC)
:What is the advantage of the SVG version? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 16:46, 13 January 2010 (UTC)
::It's perfectly scalable if the image size is changed.  But since there's no option to alter the size without redefining the image, I'm not sure that that's an issue.  IIRC there's some compatibility reason why we use pngs; maybe background transparency? [[User:Happy-melon|<span style="color:forestgreen">'''Happy'''</span>]]‑[[User talk:Happy-melon|<span style="color:darkorange">'''melon'''</span>]] 17:04, 13 January 2010 (UTC)
:::IIRC, the idea was that the hand-tweaked png would be better quality/smaller size. (It's just 63 bytes smaller though, so I don't know if that's a good argument.) —[[User:Ms2ger|Ms2ger]] ([[User talk:Ms2ger|talk]]) 17:56, 13 January 2010 (UTC)
 
:The "Technical details" section in the documentation of this template explains it:
::''The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers.''
:And the image description page of [[:File:Imbox style.png]] also explains it:
::''This PNG version of this image has a special hand optimised transparent background so when used in the English Wikipedia {{tlf|imbox}} it looks right, even when viewed with older web browsers. See the [[File talk:Ambox content.png|talk page]] for more about that.''
:I have an old Internet Explorer that I use for compatibility testing, so I see that the PNG looks better. So we should not change to the SVG image, the PNG image is the better choice for the imbox.
:--[[User:Davidgothberg|David Göthberg]] ([[User talk:Davidgothberg|talk]]) 20:15, 13 January 2010 (UTC)
* Regarding PNG vs. SVG, I would just like to point out that MediaWiki uses [[librsvg]] to convert all SVG images to PNG for displaying for all browsers (including IE6). Librsrvg does a pretty good job of creating transpartent PNGs so I have my doubts there is a significant difference, but I don't have an old browser handy. For those intrested, I have created a side by side comparision at: [[:File talk:Imbox style.png]]. Cheers --[[User:Svgalbertian|Svgalbertian]] ([[User talk:Svgalbertian|talk]]) 15:30, 4 June 2010 (UTC)
:: The problem is not our PNGs, it is the capabilities of IE 6. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 15:48, 4 June 2010 (UTC)
:::What is the issue that effects IE6? I see absolutly no difference when I render the comparison http://en.wikipedia.org/wiki/File_talk:Imbox_style.png in IE6 using http://ipinfo.info/netrenderer/ --[[User:Svgalbertian|Svgalbertian]] ([[User talk:Svgalbertian|talk]]) 15:57, 4 June 2010 (UTC)
::::There is a slight difference, the background is rendered as a particular color in IE6, it is not transparent.  The modified PNG was tweaked to show the same color as the textbox.  The PNG has a background of #FBFBFB.  The SVG-rendered-as-PNG has a background of #FFFFFF.  That is the only difference.  In my opinion, I suggest that we stop explicitly codling the IE6 users.  IE6 usage at Wikimedia is down to 7.5% of page loads as of May 2010. [http://stats.wikimedia.org/archive/squid_reports/2010-05/SquidReportClients.htm] --[[User:ChrisRuvolo|ChrisRuvolo]] ([[User talk:ChrisRuvolo|t]]) 18:44, 4 June 2010 (UTC)
:::::Thanks Chris that explains it perfectly. I can see why these images were created, but the difference between {{colorbox|#FBFBFB}} and {{colorbox|#FFFFFF}} is so subtle I didn't notice it in IE6. I do not think going forward we need to impose such backwards compatibility, but for these existing images I have no preference.--[[User:Svgalbertian|Svgalbertian]] ([[User talk:Svgalbertian|talk]]) 19:09, 4 June 2010 (UTC)
 
== Editprotected to add alternative attribute ==
 
{{tl|editprotect}}
Please add blank [[alt attribute]] and link attribute, <code style="color:purple">|alt=|link=</code> to all file embedding syntax, such as [[:Image:Imbox speedy deletion.png]] and [[:Image:Imbox deletion.png]], as per [[WP:ALT# Blank alt text problem]] for image-disabled browser or [[screen reader]] users because those icons are purely decorative. Thx. -- [[User:Sameboat|Sameboat - 同舟]] ([[User talk:Sameboat|talk]]) 09:12, 14 April 2010 (UTC)
:{{Done}} where possible. Two cases were GPL images, of which i'm not sure what the licensing and attribution requirements are, but i'm guessing they will require the link to the description page. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 15:42, 14 April 2010 (UTC)
 
== Change Style Image ==
 
{{tlx|editprotected}}
<!-- Begin request -->
Could the style image be changed from
<pre>
[[Image:Imbox style.png|40x40px]]
</pre>
to
<pre>
[[Image:Edit-clear.svg|40x40px|link=|alt=]]
</pre>
 
so that it matches the image used in {{tl|ambox/core}}, {{tl|cmbox}}, {{tl|tmbox/core}} and {{tl|ombox/core}}. Thanks -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 07:06, 18 July 2010 (UTC)
<!-- End request -->
[[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 07:06, 18 July 2010 (UTC)
:{{done}}&nbsp;—&nbsp;[[User:Tivedshambo|<span style="color:#7F0000">'''&nbsp;Tivedshambo&nbsp;'''</span>]]&nbsp;([[User Talk:Tivedshambo|t]]/[[Special:Contributions/Tivedshambo|c]]) 07:22, 18 July 2010 (UTC)
 
== Classes ==
 
Please see centralised discussion at [[Wikipedia talk:Manual of Style/Article message boxes#Classes]]. <span class="vcard"><span class="fn">[[User:Pigsonthewing|Andy Mabbett]]</span> (<span class="nickname">Pigsonthewing</span>); [[User talk:Pigsonthewing|Talk to Andy]]; [[Special:Contributions/Pigsonthewing|Andy's edits]]</span> 10:22, 29 November 2011 (UTC)
 
== Add 'class' for restriction tags ==
 
{{edit protected|answered=yes}}
It would be appreciated if an appropriate class could be added for non copyright restrictions,
like those listed in {{tl|ir-Money}}, {{tl|ir-Mughshot}} etc... [[User:Sfan00 IMG|Sfan00 IMG]] ([[User talk:Sfan00 IMG|talk]]) 18:00, 29 September 2012 (UTC)
:Please descibe what ''exactly'' needs to be edited. <span style="font-family:'Trebuchet MS'"> — [[User:Edokter|<span style="color:#008"><i>E</i>dokter</span>]] ([[User talk:Edokter|<span style="color:#080">talk</span>]]) — </span> 21:20, 29 September 2012 (UTC)

Latest revision as of 11:13, 10 October 2012

Template talk:Imbox