NOTICE:
This is a component page used internally by the SCP Wiki. It is intended to be used and included on other pages.
This is an inline collapsible block module. Originally created by yuuki410 and adapted by hoah2333 for combining the code into the instruction page.
A cool example of
-
- _
inline-colmod.
Of course,
-
- _
the words can be separated on a new line.
Like this one.
It's useful when needs permission verification, such as the part which can only be accessed by relevant personnel in special containment procedure.
How To Use
Put the following code in where you need the inline-colmod:
[[div class="inline-colmod"]]
Text before collapsible block
[[include :scp-wiki:component:inline-colmod show=Text displayed before clicking | content=Text displayed after clicking]]
Text after collapsible block
[[/div]]
Note: you must put the [[include ...]] on a separate line.
Specially, if you want to use it continuously,
you need to add something between the two modules in order to separate them. Such as "~~~~" or "@@@@", or the code shows below. Each method makes a different effect.
[[div style="height: .8em"]]
[[/div]]
If you want to wrap lines at a special position
[[div class="inline-colmod"]]
Wrap at the start of line,
[[include :scp-wiki:component:inline-colmod show=show me the result, | content=@@@@
like this one,]]
wrap at the start of line.
[[/div]]
[[div class="inline-colmod"]]
Wrap at the end of line,
[[include :scp-wiki:component:inline-colmod show=show me the result, | content=like this one,
@@@@]]
wrap at the end of line.
[[/div]]