Forum:How do I tell users that an article is a featured article?

In Wikipedia, they use stars to show that the article is featured. How do I show that the article is featured? I won't be using stars, I'll be using a checkmark symbol.

Pikachurin - Talk 18:54, 31 January 2009 (UTC)


 * Wikipedia uses wikipedia:Template:Featured article to add the star. It seems to rely on CSS to put the icon in the right place. I don't know if the CSS class they use is standard to MediaWiki or not. --Azkar 19:08, 31 January 2009 (UTC)

Doesn't exist
The template doesn't exist in my wiki

computersecurity.wikia.com

Pikachurin - Talk 19:22, 31 January 2009 (UTC)


 * You'll need to create a template. I linked Wikipedia's so you could see how they did what they did. --Azkar 19:25, 31 January 2009 (UTC)

Template protected
The template is protected, so I can't see the source code. Clicking on "View source" only display's the webpage's source, not the template's.

Pikachurin - Talk 19:44, 31 January 2009 (UTC)


 * Strange .. I see the template's source when I click the "view source" button. Try here: --Azkar 19:47, 31 January 2009 (UTC)
 * That's the code, you'd need to upload that picture from Wikipedia and change the link. &mdash; [[Image:BalisticSig.png]] 20:11, 31 January 2009 (UTC)

Doesn't work
The code doesn't work.

Pikachurin - Talk 23:13, 31 January 2009 (UTC)
 * You might wanna try taking away the "class" and "id" because some wikicode are specific to wikis that have added the code to their script. &mdash; [[Image:BalisticSig.png]] 23:24, 31 January 2009 (UTC)


 * I think a better way to deal with this would be to find the proper CSS rules on Wikipedia. It might be in mediawiki:common.css and/or in mediawiki:monobook.css. I've done it when i wanted a few things... — TulipVorlax 00:49, 1 February 2009 (UTC)


 * Here: http://en.wikipedia.org/wiki/MediaWiki:Common.css

Pikachurin - Talk 01:05, 1 February 2009 (UTC)

From wikipedia:MediaWiki:Monobook.css:

div.topicon { position: absolute; z-index: 100; top: 10px; display: block !important; }

If you add that to one of your css pages, and use the other stuff from the template code, it should work. --Azkar 04:57, 1 February 2009 (UTC)

Error
I get:

Error: at least one area specification must be given

— Pikachurin - Talk 16:29, 1 February 2009 (UTC)

Removed class and id, works but the star doesn't appear

— Pikachurin - Talk 16:31, 1 February 2009 (UTC)


 * you need to use an image which is on the wiki -- Sixorish 16:32, 1 February 2009 (UTC)
 * uh, the classes/ids are needed for it to display properly. I think it works now, not even gonna try test it on a main namespace article because wikia's awesome WYSIWYG editor is retarded, even moreso that they set it as default even for skins which don't support it. -- Sixorish 16:51, 1 February 2009 (UTC)


 * I dont use the WYSIWYG anywhere on Wikia. — TulipVorlax 17:57, 1 February 2009 (UTC)


 * I wouldn't either if the new wikis didn't seem to rely on it when editing main namespace articles (but oddly enough not templates), (1/2) (or maybe this isn't the WYSIWYG? not sure, never tried it tbh) -- whatever it is, it doesn't work in the old skins like cologneblue (which I personally would use over monaco anyday) and sits there displaying the progress .gif forever, but this is going off-topic -- Sixorish 18:16, 1 February 2009 (UTC)

Fix
Okay, I've gotten it to work on this wiki look at this, dismiss the sitenotice and you'll see it.

Add this to your MediaWiki:Monobook.css and create Template:Featued Article with


 * Note c/p straight from the page don't click edit and then copy &mdash; [[Image:BalisticSig.png]] 18:29, 1 February 2009 (UTC)


 * The method he's using now works fine, the issue was that he had inline and that doesn't work -- Sixorish 19:00, 1 February 2009 (UTC)