Wikicode/Hiding content

From /tg/station 13 wiki
Jump to: navigation, search

If you would like to hide or collapse content on the wiki, please use the examples available on this page.


Add "mw-collapsed" to the class to have it start collapsed. See example 1 and 3.

Example 1: Table

{| class="mw-collapsible mw-collapsed wikitable"
! The header || remains visible
|-
| This content || is hidden
|-
| at first || load time
|}

The header remains visible
This content is hidden
at first load time

Example 2: Text

<div class="toccolours mw-collapsible" style="width:400px">
This text is collapsible. {{Lorem}}
</div>

This text is collapsible.

[Show/hide] Example 3: Section

Text

Text


== <span class="mw-customtoggle-0" style="font-size:small; display:inline-block; float:right;"><span class="mw-customtoggletext">[Show/hide]</span></span> Example 3: Section ==

<div id="mw-customcollapsible-0" class="mw-collapsible mw-collapsed">
Text
Text
</div>

Contribution guides
General Hosting a server, Setting up git, Downloading the source code, Guide to contributing to the game, From blank to commit, Game Resources category
Database (MySQL) Setting up the database, Working with the database, MySQL
Coding Understanding SS13 code, Getting started with Code, SS13 for experienced programmers, Binary flags‎
Mapping Guide to mapping, Map Merger
Spriting Guide to spriting
Wiki Guide to contributing to the wiki, Wikicode, Hiding content