Template talk:FA: Difference between revisions
DarkInsanity (talk | contribs) No edit summary |
DarkInsanity (talk | contribs) mNo edit summary |
||
Line 27: | Line 27: | ||
:Done. I think I meant to do a LinkedImage thing also, but the shrinked image came out a bit odd-looking. Thanks for uploading a good size! {{User:Wayoshi/sig}} 19:00, 2 December 2007 (EST) | :Done. I think I meant to do a LinkedImage thing also, but the shrinked image came out a bit odd-looking. Thanks for uploading a good size! {{User:Wayoshi/sig}} 19:00, 2 December 2007 (EST) | ||
::Yeah, I'm kind of surprised it's not used more often. Seems like it'd be pretty useful. Actually, it is pretty useful. It's just not used often. More. ...yep. -- [[User:DarkInsanity|DarkInsanity]] ''([[User_talk:DarkInsanity|talk]])'' | ::Yeah, I'm kind of surprised it's not used more often. Seems like it'd be pretty useful. Actually, it is pretty useful. It's just not used often. More. ...yep. -- [[User:DarkInsanity|DarkInsanity]] ''([[User_talk:DarkInsanity|talk]])'' 22:17, 2 December 2007 (EST) |
Revision as of 17:23, December 3, 2007
Making the FA Star link to the Featured Articles page
So I was looking at a few of the Featured Articles, and I noticed the little star indicator up there in the title. I figured out what this meant because I already knew I was looking at a Featured Articles, however, I was thinking, how is the average viewer supposed to know what the star means? I figure the best way would be a link to the Featured Articles page, but I don't think we want any text added. So I was wondering if you guys wanted to change the star image in the FA template to a LinkedImage pointing the Featured Articles page?
I checked and the LinkedImages extension is already installed, so it could be easily implemented by changing the current code to this:
<div id="title-Featured" class="plainlinks firstHeading" style="font-size:188%; padding-top:2.2em; padding-bottom:0.09em; float:right; position:absolute; right:0.5em; top:0em; white-space:nowrap"><table style="float:right; padding:0px"><div class="right" id="right"><linkedimage> wikipage=MarioWiki:Featured_Articles tooltip=MarioWiki Featured Article img_src=Image:Star.PNG img_width=23px img_height=23px </div><includeonly>[[Category:Featured Articles]]</includeonly>
The only problem is when the star image gets resized by LinkedImages it doesn't look nearly as good as when it gets resized by the wiki's normal methods. An easy way to fix this would be to create a 23x23px star image and use that directly, so it does not need to be resized. This I've taken the liberty of creating, and uploaded it here. So the final code would look like this:
<div id="title-Featured" class="plainlinks firstHeading" style="font-size:188%; padding-top:2.2em; padding-bottom:0.09em; float:right; position:absolute; right:0.5em; top:0em; white-space:nowrap"><table style="float:right; padding:0px"><div class="right" id="right"><linkedimage> wikipage=MarioWiki:Featured_Articles tooltip=MarioWiki Featured Article img_src=Image:Star_23x23.PNG </div><includeonly>[[Category:Featured Articles]]</includeonly>
A nice looking star in the title, that brings you to the MarioWiki:Featured Articles page when you click, and says "MarioWiki Featured Article" in the tooltip when you hover over it with the mouse.
What do you guys think? -- DarkInsanity (talk) 12:18, 2 December 2007 (EST)
- Done. I think I meant to do a LinkedImage thing also, but the shrinked image came out a bit odd-looking. Thanks for uploading a good size! Wa TC@Y 19:00, 2 December 2007 (EST)
- Yeah, I'm kind of surprised it's not used more often. Seems like it'd be pretty useful. Actually, it is pretty useful. It's just not used often. More. ...yep. -- DarkInsanity (talk) 22:17, 2 December 2007 (EST)