BIKI Spoiler – Extension
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add example) |
Lou Montana (talk | contribs) (Add back-to-top link feature + example) |
||
Line 25: | Line 25: | ||
* Turns <syntaxhighlight lang="html" inline><spoiler></syntaxhighlight> in spoiler buttons | * Turns <syntaxhighlight lang="html" inline><spoiler></syntaxhighlight> in spoiler buttons | ||
* Dynamic Show/Hide / Display/Conceal actions | * Dynamic Show/Hide / Display/Conceal actions | ||
* "Back to spoiler's top" link when the spoiler is of a certain height | |||
Line 62: | Line 63: | ||
* def <spoiler>ghi</spoiler> | * def <spoiler>ghi</spoiler> | ||
* jkl | * jkl | ||
|- | |||
| <syntaxhighlight lang="html+handlebars"> | |||
# abc | |||
# def <spoiler> | |||
# ghi | |||
# jkl | |||
</spoiler> | |||
# mno | |||
</syntaxhighlight> | |||
| | |||
# abc | |||
# def <spoiler> | |||
# ghi | |||
# jkl | |||
</spoiler> | |||
# mno | |||
|- | |||
| <syntaxhighlight lang="html+handlebars"> | |||
<spoiler>*long text*</spoiler> | |||
</syntaxhighlight> | |||
| | |||
<spoiler> | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
* many lines | |||
</spoiler> | |||
|} | |} | ||
[[Category: MediaWiki Extension]] | [[Category: MediaWiki Extension]] |
Latest revision as of 01:11, 4 July 2023
BIKI Spoiler | |
---|---|
Description | Provides a spoiler button (based on previously used JSpoiler syntax) |
Author | Lou Montana |
Project Start | 2023-06-19: Project start |
Release Date |
|
Version | 0.50 |
This extension manages <spoiler>
tags in spoiler buttons.
Features
- Turns
<spoiler>
in spoiler buttons - Dynamic Show/Hide / Display/Conceal actions
- "Back to spoiler's top" link when the spoiler is of a certain height
Installation
- Unzip the directory to wiki
/extensions /BIKISpoiler - Add
wfLoadExtension( 'BIKISpoiler' );
to LocalSettings.php
Usage
Code | Result |
---|---|
<spoiler/>
|
|
<spoiler></spoiler>
|
|
<spoiler>abc</spoiler>
|
abc |
<spoiler text="Show the hidden message">abc</spoiler>
|
abc |
| |
| |
|