Difference between revisions of "Template:Featured article"

From Lesswrongwiki
Jump to: navigation, search
m
m (apparently preview works on the template itself...)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="right:10px; display:none;" class="metadata topicon" id="featured-star"><div><a href="<nowiki>/wiki/Category:Featured_articles</nowiki>" title="This is a featured article. Click here for more information."><img alt="Featured article" src="/mediawiki/images/6/60/LinkFA-star.png" width="14" height="14" /></a></div></div><includeonly>[[Category:Featured articles]]</includeonly>
+
<div style="right:10px; display:none;" class="metadata topicon" id="featured-star"><div>[[image:LinkFA-star.png|14px|link=:Category:Featured_articles|alt=Featured article|This is a featured article. Click here for more information.]]</div></div><includeonly>[[Category:Featured articles]]</includeonly>
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 08:55, 26 June 2009

Template documentation (for the above template, sometimes hidden or invisible)

This template adds the page in the Category:Featured articles.

It also places the icon LinkFA-star.png to the top right of the article. The alt text on the icon isn't displayed properly, because imagemap extension isn't installed, and the image tag has bugs. For more information, see Wikipedia:Wikipedia:Images_linking_to_articles.

The design is identical to that on Wikipedia, apart from the incorrect behavior of the alt text.