Ugrás a tartalomhoz

Sablon:Import style

A Wikipédiából, a szabad enciklopédiából
A lap aktuális változatát látod, az utolsó szerkesztést Bean49Bot (vitalap | szerkesztései) végezte 2024. március 2., 18:05-kor. Ezen a webcímen mindig ezt a változatot fogod látni. (Bot: Új oldal, enwiki-lap helyi másolata)
(eltér) ← Régebbi változat | Aktuális változat (eltér) | Újabb változat→ (eltér)
Használati útmutató

Imports a style with TemplateStyles from a subpage.

Használata

[szerkesztés]
Import
{{import style|style1|style2|style3|⋯}}
Use
class="is-style"

Catalogue

[szerkesztés]
  • inputbox: MediaWiki inputbox
  • sticky: Sticky table headers. position: sticky (apply to table header row)[a]

Jegyzetek

[szerkesztés]
  1. The class is-sticky only works with a single row. This also imports the class is-sticky-head, which can be applied to the table itself, and makes all of its header (thead element) sticky. However, MediaWiki by default places the entire table in a tbody element, so there is no thead; only sortable tables have a thead (due to the JS implementation).

For detailed info on creating sticky table headers see: