This is the
template sandbox page for
Template:Import style (
diff). See also the companion subpage for test cases. |
This template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Imports a style with TemplateStyles from a subpage.
{{import style|style1|style2|style3|⋯}}
class="is-style"
inputbox
: MediaWiki inputbox
sticky
: Sticky table headers. position: sticky (apply to table header row)
[a]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).
This is the
template sandbox page for
Template:Import style (
diff). See also the companion subpage for test cases. |
This template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Imports a style with TemplateStyles from a subpage.
{{import style|style1|style2|style3|⋯}}
class="is-style"
inputbox
: MediaWiki inputbox
sticky
: Sticky table headers. position: sticky (apply to table header row)
[a]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).