Sticky – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Use CSS class) |
Lou Montana (talk | contribs) m (Text replacement - "<tt>([^ =]+)<\/tt>" to "{{hl|$1}}") |
||
Line 7: | Line 7: | ||
|descr1= the sticky note content | |descr1= the sticky note content | ||
|param2= position | |param2= position | ||
|descr2= (Optional, default | |descr2= (Optional, default {{hl|top}}) can be {{hl|top}} or {{hl|bottom}}. | ||
|example1= <nowiki>{{Sticky}}</nowiki> | |example1= <nowiki>{{Sticky}}</nowiki> | ||
|result1= {{Sticky}} | |result1= {{Sticky}} |
Latest revision as of 10:33, 16 November 2021
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.
Code | Result |
---|---|
{{Sticky}} | -no content provided- |
{{Sticky|{{Feature|warning|Use '''on'''EventName in [[Config]]!}}}} | |
{{Sticky|Jump to [[#top|the top]] of the page|bottom}} | Jump to the top of the page
|