Difference between revisions of "Template:Featured"

From Hackerspace ACKspace
Jump to: navigation, search
(Created page with "{{#set:Featured=true}} Category:featured <noinclude> use this template to mark a page featured, so it will be displayed on the front page </noinclude>")
 
(added categorical link (hopefully, this doesn't break stuff))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:Featured=true}}
+
<includeonly>{{#set:Featured=true}}[[Category:featured]]</includeonly><noinclude>
[[Category:featured]]
+
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>
+
<pre>&lt;noinclude&gt;{{featured}}&lt;/noinclude&gt;</pre>
use this template to mark a page featured, so it will be displayed on the front page
+
including the '''noinclude''' tag, so the [[Main Page]] will not recursively include itself.
</noinclude>
+
 
 +
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:
 +
</noinclude>{{InfoBox
 +
|Title=Featured article
 +
|Text={{PAGENAME}} had been flagged as a [[:Category:Featured|featured article]] and will automatically appear on the [[Main Page]].
 +
|Clear=both
 +
|Background=#f7fff7
 +
}}

Latest revision as of 14:24, 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.