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

Learn how to create your own sandbox here.

Click 'Edit' which will open the Visual Editor (if you are not using IE) and you can start playing in the sandbox.

Insert a table, add or delete rows and columns, and see how the code changes a table. Test different kinds of formatting, insert pictures or a gallery, make a numbered or bullet list, add some links or anything you want!

When finished you can save your edits to see how it looks and appears on Activity Feed, or you can cancel and nothing will be saved. (However uploaded images will appear in the image archive.)


Don't be afraid to edit...Your sandbox is to help you get started!
Below you can copy some of the example code and play around with it in your own sandbox!

Common CodeEdit

Add BordersEdit

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

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.

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.

Add HeadersEdit

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

Example == HeaderEdit

Example === HeaderEdit

Example ==== HeaderEdit

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

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.

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

Add TablesEdit

{| border="0" 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

Add a Table of ContentsEdit

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

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}}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.