Template talk:Roundy: Difference between revisions

 
(17 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{| align="left" style="{{roundy|10px}}; border: 2px solid #{{heartgold color dark}}; background: #{{heartgold color}}; margin-right: 5px; margin-bottom: 5px;"
{| align="left" style="{{roundy|10px}}; border: 2px solid #{{heartgold color dark}}; background: #{{heartgold color}};"
! colspan="2" style="{{roundy|5px|tl}} {{roundy|5px|tr}} background: #FFFFFF" | TOPLEFT AND TOPRIGHT ROUNDED
|-
|-
! colspan="2" style="{{roundy|5px|bl}} {{roundy|5px|br}} background: #FFFFFF" | BOTTOMLEFT AND BOTTOMRIGHT ROUNDED
!style="background:white;{{roundytl|5px}}"|{{template|roundytl}}
!style="background:white;{{roundytop|5px}}"|{{template|roundytop}}
!style="background:white;{{roundytr|5px}}"|{{template|roundytr}}
|-
|-
! style="{{roundy|5px|tl}} {{roundy|5px|br}} background: #FFFFFF" | TOPLEFT AND BOTTOMRIGHT ROUNDED
!style="background:white;{{roundyleft|5px}}"|{{template|roundyleft}}
! style="{{roundy|5px|tr}} {{roundy|5px|bl}} background: #FFFFFF" | BOTTOMLEFT AND TOPRIGHT ROUNDED
!style="background:white;border: 2px solid #{{heartgold color dark}};{{roundy|5px}}"|{{template|roundy}}
!style="background:white;{{roundyright|5px}}"|{{template|roundyright}}
|-
|-
! style="{{roundy|5px|tr}} {{roundy|5px|bl}} background: #FFFFFF" | BOTTOMLEFT AND TOPRIGHT ROUNDED
!style="background:white;{{roundybl|5px}}"|{{template|roundybl}}
! style="{{roundy|5px|tl}} {{roundy|5px|br}} background: #FFFFFF" | TOPLEFT AND BOTTOMRIGHT ROUNDED
!style="background:white;{{roundybottom|5px}}"|{{template|roundybottom}}
!style="background:white;{{roundybr|5px}}"|{{template|roundybr}}
|}
|}
<br clear="all" />
<br clear="all" />
== Addition ==
== Addition ==
<code><nowiki>
<code><nowiki>
Line 31: Line 35:
:::::The extra > isn't hurting anything, just a mistake when I was copy-pasting.
:::::The extra > isn't hurting anything, just a mistake when I was copy-pasting.
:::::And lastly, do you have a particular reason why you say border-radius should be first? From what I know about CSS in general, it should usually be last in line for this sort of code. --[[user:Jioruji_Derako|<font color="#237d00"> '''J'''ïörüjï '''Ð'''ērākō.'''>'''</font>]]<small>[[user talk:Jioruji Derako|<font color="#237d00">''.cнаt'''''^'''</font>]]</small> 05:48, 8 June 2010 (UTC)
:::::And lastly, do you have a particular reason why you say border-radius should be first? From what I know about CSS in general, it should usually be last in line for this sort of code. --[[user:Jioruji_Derako|<font color="#237d00"> '''J'''ïörüjï '''Ð'''ērākō.'''>'''</font>]]<small>[[user talk:Jioruji Derako|<font color="#237d00">''.cнаt'''''^'''</font>]]</small> 05:48, 8 June 2010 (UTC)
::::::Opera never supported -o-border-radius. Also generic border-radius property should go *after* vendor specific ones. — [[User:Tenno Seremel|Tenno Seremel]] 08:52, 21 July 2010 (UTC)
== Roundycorners are dead. ==
Hope you guys are happy. '''[[User:TTEchidna|<span style="color:#FF0000">''TTE''</span>]][[User talk:TTEchidna|chidna]]''' 01:52, 16 June 2010 (UTC)
:Oh stop pouting. They're not necessarily dead yet. That this template is partially to blame for the issues (never said it's the whole thing) is still a theory that's worth testing. If the roundy's were to blame....then we should try and find a way to do them without them causing issues, because I personally do like them roundy. --[[User:Archaic|Archaic]] 04:24, 16 June 2010 (UTC)
:No, I'm not happy. >:{ Although I don't believe we need to include the <code>-webkit-</code> prefix anymore as the newest versions of Safari and Chrome now support regular old <code>border-radius</code> (which I just discovered the other day), as does the latest version of Opera (no more need for <code>-o-border-radius</code>). Perhaps we could uncomment the regular and <code>-moz-</code> versions, leaving the rest hidden, and see what happens? [[User:Quagbert|Quagbert]] 14:03, 16 June 2010 (UTC)
==Roundycorners are back!==
Sorta.
We've split roundy into nine pieces. Currently, we have to fix a lot of the templates and pages whose coding is broken by this change. Should be done ASAP, if the servers cooperate. '''[[User:TTEchidna|<span style="color:#FF0000">''TTE''</span>]][[User talk:TTEchidna|chidna]]''' 08:27, 25 June 2010 (UTC)
== Internet Explorer ==
Is there a way to make roundy work for IE? [[User:Pikiwyn|<font color="#d0000d" face="boopee">'''''Pikiwyn'''''</font>]] [[User talk:Pikiwyn|<tt><sup>'''''<font color="black">talk</font>'''''</sup></tt>]] 00:56, 6 December 2010 (UTC)
:Not that I know of. IE currently does not support this. <span style="color:red">—<small>♥</small></span> <b>[[User:Jello|<span style="color:orange;">Jello</span>]][[User Talk:Jello|<span style="color:#3FA9D0;"><sup>talk</sup></span>]]</b> 01:02, 6 December 2010 (UTC)
::It works with IE 9 yessss! [[User:Pikiwyn|<font color="#d0000d" face="boopee">'''''Pikiwyn'''''</font>]] [[User talk:Pikiwyn|<tt><sup>'''''<font color="black">talk</font>'''''</sup></tt>]] 18:57, 17 January 2011 (UTC)
== It's time to remove the prefixes. ==
Please remove the prefixes (and the extra spaces); none of the prefixes are needed:
* iCab is dead. The versions now all use Safari's engine, and the really old versions that used their own engine have SSL errors.
* I am pretty sure Konqueror uses WebKit now.
* Opera never needed a prefix, and Opera Mini doesn't have support for rounded corners at all.
* Both versions of Safari and Chrome that needed the prefix have had no version cut off since then.
* Firefox 3.6 can't seem to load Bulbapedia properly, it whites out.
Why?
* The data usage increase is ridiculous. Some pages have their size reduced by more than 70% by removing prefixes. Every time the template is used, 135 bytes (365 in Roundytop) of unnecessary code is used, and the template is used a lot. Even with gzipped compression (the website appears to be gzipped with no compression), these large pages take up RAM, parsing time, and cache once decompressed.
* Bulbapedia doesn't look half bad with square corners.
* Bulbapedia isn't even consistent with the prefixes: MediaWiki only uses -webkit and -moz prefixes (which you could also use if you were insistent on those browsers), and the homepage CSS has only the unprefixed version
* This hasn't been updated in 8 years. Browsers have changed.
* No modern websites use more than -moz or -webkit, and frankly, very few that I've seen use those prefixes either. Not even Google.
* Most of the users viewing this page are tech savvy enough to keep their browser up to date.
I mentioned this a few times on Discord a while back, yet still nothing has been done about it. [[User:Easyaspi314|Easyaspi314]] ([[User talk:Easyaspi314|talk]]) 02:29, 16 April 2018 (UTC)
:Such an edit would cause significant stress to the server as well as potentially lengthy downtime. Ultimately when the page loads an additional 10 MB of images, scripts, styles, some thousand bytes make no significant impact. At the moment, the benefits (pages being a fraction of a percent smaller overall) don't outweigh the negative impacts of major technical issues. --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 03:24, 16 April 2018 (UTC)