Sticky – Template

From Bohemia Interactive Community
Revision as of 10:33, 16 November 2021 by Lou Montana (talk | contribs) (Text replacement - "<tt>([^ =]+)<\/tt>" to "{{hl|$1}}")
(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