Vorlage:Icons/doc: Unterschied zwischen den Versionen
Aus DragonballWiki
Weitere Optionen
Inhalt gelöscht Inhalt hinzugefügt
| (2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
{{Documentation}} |
|||
;Description |
;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. |
: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. |
||
| Zeile 14: | Zeile 15: | ||
} |
} |
||
}); |
}); |
||
</source> |
|||
:* If using Monobook, uses a CSS id "icons" from our [[MediaWiki:Common.css]]: |
|||
<source lang="CSS"> |
|||
#icons { |
|||
position:absolute; |
|||
z-index:100; |
|||
right:3px; |
|||
top:10px; |
|||
float: right; |
|||
} |
|||
</source> |
</source> |
||
Aktuelle Version vom 5. März 2026, 12:49 Uhr
Dies ist die Dokumentationsseite für 'Vorlage:Icons'.
Es enthält Nutzungsinformationen, Kategorien und andere Inhalte, die nicht Teil der Original Vorlage-Seite sind.
- 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 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'});
}
});