Code Library

Colored text (short)

Intended for a couple words or a sentence.

##Red| This is red text##

Colored text (long)

Intended for long paragraphs or whole pages.

[[span style="color:white"]]
[[/span]]

Collapsible Text

[[collapsible show="+ show text" hide="-  show text"]]
TEXT
[[/collapsible]]

Multiple Collapsibles

[[include :snippets:colalt |oddtop=[|show=+ show|hide=- hide]]
It can be folded.
[[include :snippets:colalt |eventop=[|hide=- hide]]
As many times as you want…
[[include :snippets:colalt |evenend=[|show=+ show|nohide=true]]
[[include :snippets:colalt |oddend=[|nohide=true]]

Tabs

[[tabview]]
[[tab TITLE 1]]
TEXT 1
[[/tab]]
[[tab TITLE 2]]
TEXT 2
[[/tab]]
[[tab TITLE 3]]
TEXT 3
[[/tab]]
[[/tabview]]

Panel box for Text

[[div class="content-panel standalone series"]]
TEXT
[[/div]]

Colored Text Box

[[div style="border: 2px solid black; background-color: orange;"]]
[[/div]]

Table of Contents (left)

[[f<toc]]

Condensed text with scrollbar

[[div class="floatbox right centertable" style="max-height: 42rem; overflow-y: scroll;"]]
= [[span class="st"]]TITLE[[/span]]
TEXT
[[/div]]

Button Link

[[div style="-moz-border-radius:5px; -webkit-border-radius: 5px; background-image: url(http://themes.wikidot.com/local--files/rainbow-base/button_2.png); background-repeat: repeat-x; background-color:#F4F4F4; border: 1px solid #dddddd; height: 35px; text-align:center; width:100px;"]]

[[[LINK]]]

[[/div]]

Custom new page module

Switch out Sandbox for your desired category.

[[module NewPage category="sandboxes" button="Create Sandbox"]]

lists the user who is viewing the page. I think.

[[module ListUsers users="."]]
Hello,%%title%%
[[/module]]

Font

[[div style="font-family: 'cursive';"]] 
Text
[[/div]]

Colored Link

Replace the # with the web address of the page. Replace "Show Link Text" with the whatever text you want to be seen. And replace "FCF5E5" with whatever color hex you desire.

[[a style="color: #FCF5E5" href="#"]]Show Link Text[[/a]]

List page by category

[[module ListPages order="created_at" limit="20" category="component"]]
[[div style="line-height: 1.5"]]
* %%title_linked%%
[[/div]]
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License