Main Page/Featured: Difference between revisions

From Halopedia, the Halo wiki

(Whoever made that template, thank you very much.)
Line 138: Line 138:
==How to add an item==
==How to add an item==
To add an item you need to use the following code.
To add an item you need to use the following code.
<code><nowiki>
<option>
<option>
{{FeaturedArticle|Name|File:|Description}}
{{FeaturedArticle|Name|File:|Description}}
</option>
</option>
</nowiki></code>


And replace the following words with the file name
And replace the following words with the file name
*Name = The name of the article
*Name = The name of the article
*File: = The file name goes here, this needs the "File:" part.
*File: = The file name goes here, this needs the "File:" part.
*Description = The article description goes here.
*Description = The article description goes here.
<pre>
<option>
{{FeaturedArticle|Name|File:|Description}}
</option>
</pre>


[[Category:Main Page|Featured]]</noinclude>
[[Category:Main Page|Featured]]</noinclude>