Difference between revisions of "Template:Featured"

From Hackerspace ACKspace
Jump to: navigation, search
(fixed lost pre tag somewhere)
(grr)
Line 5: Line 5:
 
<noinclude>
 
<noinclude>
 
Use this template to mark a page featured, so it will be displayed on the front page. To make an article featured, add the following to the top of that page:
 
Use this template to mark a page featured, so it will be displayed on the front page. To make an article featured, add the following to the top of that page:
<pre><nowiki><noinclude>{{featured}}</noinclude></nowiki></pre>
+
<pre>&lt;noinclude&gt;{{featured}}&lt;/noinclude&gt;</pre>
 
including the '''noinclude''' tag, so the [[Main Page]] will not recursively include itself.
 
including the '''noinclude''' tag, so the [[Main Page]] will not recursively include itself.
  

Revision as of 14:20, 18 November 2014


Use this template to mark a page featured, so it will be displayed on the front page. To make an article featured, add the following to the top of that page:

<noinclude>{{featured}}</noinclude>

including the noinclude tag, so the Main Page will not recursively include itself.

After you add the tag at the top of the page, the page will be added to the front page and the following banner will appear inside the article:

Featured article
Featured had been flagged as a featured article and will automatically appear on the Main Page.