BIKI Spoiler – Extension

From Bohemia Interactive Community
Revision as of 20:08, 30 June 2023 by Lou Montana (talk | contribs) (Add example)
Jump to navigation Jump to search
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
  • 2023-06-19: "v1" (0.50)
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

Examples
Code Result
<spoiler/>
<spoiler></spoiler>
<spoiler>abc</spoiler>

abc

<spoiler text="Show the hidden message">abc</spoiler>

abc

* abc
* def <spoiler>ghi</spoiler>
* jkl
  • abc
  • def

    ghi

  • jkl