[edit] Template documentation
- Description
- This template is used to place icons at the top-right of a page for visual identification and categorisation, as well as provide navigation to associated pages.
- Dependencies
-
- Uses Template:SubIcon
- Uses javascript from our MediaWiki:Common.js
/* 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'});
}
});
- If using Monobook, uses a CSS id "icons" from our MediaWiki:Common.css:
#icons {
position:absolute;
z-index:100;
right:3px;
top:10px;
float: right;
}