Template talk:FA

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search

Making the FA Star link to the Featured Articles page[edit]

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 Yoshihead.png 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)

Using a modified version for own userpage[edit]

how i can modify it to change the star to this

Artwork of a ? Block from New Super Mario Bros.

and redirect to a link when clicked??? Larry.gifAndré, Do your homework !!! 15:14, 17 February 2008 (EST)

Look at my userpage and you'll know. Akfamilyhome 19:35, 16 March 2012 (EDT)


Leading section edit glitch[edit]

V1O75.png
I have this problem!

I'm using "Show [edit] for leading section" script on my user js, that star is just messes it up. I know that only me having this problem, but can we move that star a bit lower? (behind line?) SWFlashSWFlash.svg

Also why is there "plainlinks" class? Please delete it. SWFlashSWFlash.svg

Location[edit]

Why is the star located farther to the left than usual? Shouldn't it be in the far-right corner? Fawfulfury65

Category[edit]

Hi. Can this be categorized as an FA template?

'Shroom Spotlight Shokora (talk · edits) 05:55, 19 November 2012 (EST)

Image:[edit]

Should "Image:" be updated to "File:" on this template? --A sprite of a Flame Chomp from New Super Mario Bros. Wii.TheFlameChomp (talk) 21:01, 6 May 2017 (EDT)

Missing a category[edit]

I think this is missing Category:Featured article templates --Super Mario Fan 67 (TCS) 10:59, 17 May 2017 (EDT)