Template:Import style/doc
Aspetto
Chësta ie na plata de documentazion per Template:Import style. Tlo abines nfurmazions sun co adurvé categories y auter contenuto che ne ie nia pert dl template uriginel template page. |
This template uses Lua: |
Imports a style with TemplateStyles from a subpage.
Usage
[muda l codesc]- Import
{{import style|style1|style2|style3|⋯}}
- Use
class="is-style"
Catalogue
[muda l codesc]inputbox
: MediaWiki inputboxsticky
: Sticky table headers. position: sticky (apply to table header row)[lower-alpha 1]
Notes
[muda l codesc]- ↑ The class
is-sticky
only works with a single row. This also imports the classis-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 atbody
element, so there is nothead
; only sortable tables have athead
(due to the JS implementation).
For detailed info on creating sticky table headers see: