Vorlage:Icons/doc: Unterschied zwischen den Versionen
Aus DragonballWiki
Weitere Optionen
Inhalt gelöscht Inhalt hinzugefügt
| Zeile 3: | Zeile 3: | ||
;Dependencies: |
;Dependencies: |
||
:* Uses [[Template:Icons/SubIcon]] |
:* Uses [[Template:Icons/SubIcon]] |
||
:* Uses [[Template:Icons/styles.css]] |
|||
:* Uses javascript from our [[MediaWiki:Common.js]] |
:* Uses javascript from our [[MediaWiki:Common.js]] |
||
<source lang="javascript"> |
<source lang="javascript"> |
||
Version vom 5. März 2026, 12:48 Uhr
- 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:Icons/SubIcon
- Uses Template:Icons/styles.css
- Uses javascript from our MediaWiki:Common.js
/* Adds icons to page header bottom border
*/
$(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;
}