FANDOM


Documentation (view - edit)

Origin
This template came from the Avatar Wiki.
Description
This template is used to place icons at the top-right of a page for visual identification and categorization, as well as provide navigation to associated pages.
Dependencies
/* Adds icons to page header bottom border
 * by: [[User:The 888th Avatar]]
 */
 
$(document).ready(function() {
	if (skin == "oasis" || skin == "wikia") {
		$('.WikiaPageHeader').append($('#icons'));
		$('#icons').css({'position' : 'absolute', 'right' : '0', 'bottom' : '-1.2em'});
	}
});
#icons {
    position:absolute;
    z-index:100;
    right:3px;
    top:10px;
    float: right;
}
Syntax
Type {{Icons}} somewhere, with parameters as explained further below.
Sample output
Indicate that an article is a Featured article:
{{Icons|FA}} gives... Awardstar
Indicate that the subject of an article is a Good Article:
{{Icons|GA}} gives... GoodArticle
Indicate that the subject of an article is a Best Article:
{{Icons|GA}} gives... BestArticle
Awardstar GoodArticle BestArticle
You can copy the example with all parameters together, and remove sections of the call code on the desired pages to make your own specific icon setting for the page.


Community content is available under CC-BY-SA unless otherwise noted.