FANDOM


Welcome to the Township Wiki sandbox!

A sandbox page exists so that you can practice editing or formatting without changing any of the Wikis content. Feel free to try wiki editing out here first. (See Help:Editing for great editing tips.)

There are tutorials on the Central Wikia that will guide you through most of the things you can do. Wiki allows for rather complicated formatting and code. It can look overwhelming when you begin, but don't worry. Just start with the basics, enter some code and learn more as you go!

Your content contributions are important and help the Wiki grow.
The Township Wiki is a collaborative effort of players who help with formatting and other improvements.

~Best wishes and have fun coding from the Township Wiki administrator(s)!

Sandbox InformationEdit

The sandbox is for anyone to experiment with editing. Everyone can see and edit it like a normal page, but it's under your name and people will know that it is your sandbox.

In your own sandbox you can try all sorts of formatting, adding page links, creating tables, or playing around with any code you like which you can show off or use later to create templates on the wiki later. Sandboxes must be Wikia and Township related. You can read the rules on Wikipedia:Subpages)

The website address of your Sandbox will look like this:

township.wikia.com/wiki/User:USERNAME/Sandbox

If you are an unregistered user /USERNAME/ will be an IP-address instead.
It's recommend that you create a user name to register and log in before creating the page or else your IP address will be used instead.

Creating a SandboxEdit

Click on the link below to create a new sandbox page. You will get the message that the page doesn't exist if you didn't already create it. Create it by clicking the Create button in the top right.


Create my Sandbox!

In your sandbox you can try out any code, write anything you want at that page without disturbing anybody, and/or save it for later use.

If you go to your User Page you wont see a link or a tab to your Sandbox after you created it, but if you write

/Sandbox after 'User:' in the address bar you will get to your sandbox page.

You can add/edit a link on your userpage to have easy access to it.

Basic Code ExamplesEdit

1. Add BordersEdit

{| class="article-table" border="2" cellpadding="1" style="font-size: 14px; width: 90%; background-color: #e1e0b0;"
|Insert Text Here.
|}
This is an example of what the border looks like.

2. FormattingEdit

''ITALIC'' | Makes text italic
'''BOLD''' | Makes text bold
|style="white-space:nowrap;"| Keeps all text on same line.
|style="text-align:center;"| Centers text.
<div align="center">TEXT</div>| Another way to center text if above doesn't work.

3. Formatting ImagesEdit

[[File:EXAMPLE.png|alignment|thumb|size|link=PAGE|EXAMPLE TEXT]]
Example: [[File:EXAMPLE.png|center|thumb|100x100px|link=Houses|List of Houses]]
Note: Any formatting like size, or alignment, etc. can be added in any order.

4. Add HeadersEdit

== HEADERNAME ==
=== HEADERNAME ===
==== HEADERNAME ====
Note: Insert the name of your header where it says 'HEADERNAME'.

Example == HeaderEdit

Example === HeaderEdit

Example ==== HeaderEdit

5. Add Header TemplatesEdit

{{Header|Header = HEADERNAME}}
{{Header 2c|thumb|Header = HEADERNAME|Size = 100x100px|align="left"}}
{{Header 3c|Header = HEADERNAME|picture1 = PICTURE1.png|picture2 = PICTURE2.png|Size1 = 100x100px|size2 = 100x100px}}

Example Header

Missing picture

Example Header 2c

Missing picture

Example Header 3c

Missing picture

6. Add Collapsible HeadersEdit

<div class="mw-collapsible mw-expanded" style="width:100%">
=='''Expanded Collapsible Header'''==
<div class="mw-collapsible-content">
Insert text or content here.
</div></div>

<div class="mw-collapsible mw-collapsed" style="width:100%">
=='''Collapsed Collapsible Header'''==
<div class="mw-collapsible-content">
Insert text or content here.
</div></div>

Example: Collapsible Header [Expanded]Edit

This content is already shown and collapsed.

Example: Collapsible Header [Collapsed]Edit

This content is hidden until expanded.

7. Main Page HeaderEdit

{| style="border:3px solid #a79771; text-align:center; width:100%; border-radius: 15px 15px 0px 0px;"
|-
|style="background-color: #e9e0bf; font-family: 'Montserrat'; font-variant: small-caps; font-size:25px; border-radius: 10px 10px 0px 0px; color:#6d5339;" |'''{{{title}}}'''
|-
|}
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
Main Page Header Example

8. Add TablesEdit


{| border="2" cellpadding="1" cellspacing="1" class="article-table" style="width: 100%;" style="text-align:center;"
|-
! scope="col"|Text
! scope="col"|Text 2
|-
|
|
|}
Table Example Row 1 Header
Column 2 Row 2

9. Add a Table of ContentsEdit

__TOC__ - Add a table of contents to a page.
__NOTOC__ - Remove the table of contents from a page.

10. Add TemplatesEdit

{{Building Navbox}}
{{Decoration Navbox}}
{{Event Navbox}}
{{EventSales}}
{{Farming Navbox}}
{{HorizontalLine}}
{{Museum Navbox}}
{{Navbox_Museum}}
{[Other_Navbox}}
{{Navbox_Factories}}
{{Transport Navbox}}
{{Speed Up}}
{{Facts_about_animal}}
{{Facts_about_the_building}}
{{Zoo_book}}
{{Zoo Navbox}}
{{Welcome to add}}