Site Templates and Codes

Adding a New Figment

To add a link to a figment in any of your pages, simply copy this code and change the "figment name" to the name of your figment. After saving your page, when you click this link, you will be given the option to create the page, if it doesn't exist already.

[[[figments: figment name]]]

Adding a New World

To add a link to a world in any of your pages, simply copy this code and change the "world name" to the name of your world. After saving your page, when you click this link, you will be given the option to create the page, if it doesn't exist already.

[[[worlds: world name]]]

Adding a New Story

To add a link to a story in any of your pages, simply copy this code and change the "story name" to the name of your story. After saving your page, when you click this link, you will be given the option to create the page, if it doesn't exist already.

[[[stories: story name]]]

Adding a Race/Creature

To add a link to a race/creature in any of your pages, simply copy this code and change the "race/creature name" to the name of your race/creature. After saving your page, when you click this link, you will be given the option to create the page, if it doesn't exist already.

[[[species: race/creature name]]]

Author's Page Template

Just in case you erase something you shouldn't, here is the full code for the Author's Page Template. Simply copy and paste to start all over again.

Figment Page Template

Just in case you erase something you shouldn't, here is the full code for the Figment Page Template. Simply copy and paste to start all over again.

World Page Template

Just in case you erase something you shouldn't, here is the full code for the World Page Template. Simply copy and paste to start all over again.

Story Page Template

Just in case you erase something you shouldn't, here is the full code for the Story Page Template. Simply copy and paste to start all over again.

Race/Creature Page Template

Just in case you erase something you shouldn't, here is the full code for the Race/Creature Page Template. Simply copy and paste to start all over again.

Collapsible Blocks

Add this code to make blocks of text that can be hidden or expanded. This can be used for spoilers!

[[collapsible show="Read" hide="Hide" folded="yes"]]
TEXT TEXT TEXT TEXT 
[[/collapsible]]

Comment Boxes

Add this to your pages to allow other users to leave comments.

[[module Comments title="TITLEHERE" hide="true" ]]

Table of Contents (TOC)

To create a list of every heading, with a link to that heading, put a table of contents tag on its own line.

[[toc]]
[[f>toc]] - right-float table of contents
[[f<toc]] - left-float table of contents

If you want a particular heading NOT to appear in the table of contents, append the pluses with an asterisk, like this:

+ This section appears in the TOC
+* And this one does not
++* Neither does this one

Tab View

Tab view is a container that creates some clickable tabs that allow to switch between content to show.

NOTE: TabView breaks Table Of Contents (TOC), anchor links and back button

* you can't link to anchors inside of a tab
* TOC won't link properly to any header inside of a tab
* if you click a link from within a tab and go back, you will be always shown the first tab

To generate a tabview, the following syntax can be used:

[[tabview]]
[[tab Title of Tab No. 1]]
Content of Tab No. 1.
[[/tab]]
[[tab Title of Tab No. 2]]
Content of Tab No. 2.
[[/tab]]
[[tab Title of Tab No. 3]]
Content of Tab No. 3.
[[/tab]]
[[/tabview]]

This will produce the following tabset:

Content of Tab No. 1.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License