Sticky – Template

From Bohemia Interactive Community
Revision as of 16:37, 16 February 2021 by Lou Montana (talk | contribs) (Template creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Creates a sticky note - an information that sticks to the page, even after scrolling.

This template is used on these pages.

Usage

{{Sticky|content|position}}

  • content: the sticky note content
  • position: (Optional, default top) can be top or bottom.
Examples
Code Result
{{Sticky}} -no content provided-
{{Sticky|{{Feature|warning|Use '''on'''EventName in [[Config]]!}}}}
Use onEventName in Config!
{{Sticky|Jump to [[#top|the top]] of the page|bottom}}
Jump to the top of the page