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]].
 
  
 
This template should be placed at the bottom of the article before defaultsort, categories and interwikis.
 
This template should be placed at the bottom of the article before defaultsort, categories and interwikis.
Line 12: Line 11:
  
 
[[NetHackWiki:Featured_articles]] explains how to feature an article.
 
[[NetHackWiki:Featured_articles]] explains how to feature an article.
 
 
[[Category:Top icon templates|{{PAGENAME}}]]
 
[[Category:Top icon templates|{{PAGENAME}}]]
 
[[Category:Featured article templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Featured article templates|{{PAGENAME}}]]</noinclude>

Revision as of 19:54, 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.