BIKI Spoiler – Extension
Category: MediaWiki Extension
Lou Montana (talk | contribs) m (Fix date) |
Lou Montana (talk | contribs) m (Add example) |
||
| Line 24: | Line 24: | ||
* 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 | |||
| Line 51: | Line 52: | ||
| <syntaxhighlight lang="html"><spoiler text="Show the hidden message">abc</spoiler></syntaxhighlight> | | <syntaxhighlight lang="html"><spoiler text="Show the hidden message">abc</spoiler></syntaxhighlight> | ||
| <spoiler text="Show the hidden message">abc</spoiler> | | <spoiler text="Show the hidden message">abc</spoiler> | ||
|- | |||
| <syntaxhighlight lang="html+handlebars"> | |||
* abc | |||
* def <spoiler>ghi</spoiler> | |||
* jkl | |||
</syntaxhighlight> | |||
| | |||
* abc | |||
* def <spoiler>ghi</spoiler> | |||
* jkl | |||
|} | |} | ||
[[Category: MediaWiki Extension]] | [[Category: MediaWiki Extension]] | ||
Revision as of 20:08, 30 June 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
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 |
|