Difference between revisions of "Template:Featured article"

From Lesswrongwiki
Jump to: navigation, search
m
m (it finally worked; now for some final touches...)
Line 1: Line 1:
<div style="right:10px; display:none;" class="metadata topicon" id="featured-star"><div>[[image:LinkFA-star.png|14px|Featured article]]</div></div><includeonly>[[Category:Featured articles]]</includeonly>
+
<div style="right:10px; display:none;" class="metadata topicon" id="featured-star"><div>[[image:LinkFA-star.png|none|14px|link=[[:Category:Featured_articles]]|alt="Featured article"]]</div></div><includeonly>[[Category:Featured articles]]</includeonly>
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 08:47, 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.