Difference between revisions of "NetHackWiki:Sandbox"

From NetHackWiki
Jump to navigation Jump to search
Line 4: Line 4:
 
| description = This is a featured article. Click here for more information.
 
| description = This is a featured article. Click here for more information.
 
| id          = featured-star
 
| id          = featured-star
}}
+
}}{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Featured articles]]}}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Featured articles]]}}
 
 
<noinclude>This template places a small star in the top right corner of an article to indicate that it is a [[NetHackWiki:Featured articles|featured article on NetHackWiki]]. It also adds the article to [[:Category:Featured articles]].
 
<noinclude>This template places a small star in the top right corner of an article to indicate that it is a [[NetHackWiki:Featured articles|featured article on NetHackWiki]]. It also adds the article to [[:Category:Featured articles]].
  

Revision as of 19:53, 10 May 2012

This template places a small star in the top right corner of an article to indicate that it is a featured article on NetHackWiki. It also adds the article to Category:Featured articles.

This template should be placed at the bottom of the article before defaultsort, categories and interwikis.

The code behind this template was taken from http://en.wikipedia.org/wiki/Template:Featured_article. It has been modified slightly to work with NetHackWiki.

NetHackWiki:Featured_articles explains how to feature an article.