Search: Home | Atlas | Guides | Tests | Research | Techs | Skills | Index | Recent Changes | Preferences | Login

Wiki > Formatting

Other languages:
Wiki | Formatting | Policies | Translations | Spotlight | Suggestions | Attachments | Location Maps | Admins

Standard Wiki Formatting

  Separate paragraphs with

  a blank line.

Separate paragraphs with

a blank line.


  Use a manual line break <br> to write freeform lists, poetry and the like

You can use a
manual line break
to shape a paragraph
however you wish.

Manual line breaks
work fine
internal to the cells in a table


  Use tags to write text in <b>bold</b>, <i>italics</i>, or <tt>monospace</tt>.

Use tags to write text in bold, italics, or monospace.


 You can also use single quotes to make text '''bold''', ''italic'', or '''''both'''''.
You can also use single quotes to make text bold, italic, or both.
  Use tags for superscript and subscript: E=MC<sup>2</sup>, A<sub>1</sub> = A<sub>2</sub>. 
Use tags for superscript and subscript: E=MC2, A1 = A2.
  Indent text to cause it to appear in a monospaced font with spaces preserved.

  :Start a line with a colon to set it off as a block of quoted text.

Start a line with a colon to set it off as a block of quoted text.

Start a line with ';', and have a ':' following somewhere, to create a definition.
 ;A Term: To be defined 
A Term
to be defined




Horizontal Rule

use 4 dashes (----) to make a horizontal line






Links

   To add a link to another page, enclose the name of the page in double brackets.  [[Wiki/Formatting]] 
links back to this page. 

 Formatting links back to this page.

  To add a link, but change the link text, interpose a straight slash. It is safest 
to use spaces around the slash. Link back to [[Wiki/Formatting | this page]] like so. 

Link back to this page like so.


  [http://www.atitd.com  This is a link to the main ATITD page.]

This is a link to the main ATITD page.


Headings

  = Heading 1 =
  == Heading 2 ==
  === Heading 3 ===
  ==== Heading 4 ====

Heading 1

Heading 2

Heading 3

Heading 4

Lists

Start a line with a # to create a numbered list.

  # One

  # Two
  ## Two point one
  ## Two point two
  ### Two point two point one
  # Three

  1. One
  2. Two
    1. Two point one
    2. Two point two
      1. Two point two point one
  3. Three

Use a leading asterik to create a bulleted list.

  * Level one
  ** Level two
  *** Level three

Redirecting

It is possible to redirect a page to another page by having the first line be: #REDIRECT Page_to_Redirect_To OR #REDIRECT [[Page to Redirect To]]. ($REDIRECT will also work.) For example to redirect Grass to Basic Resources the page would be:

#REDIRECT Basic_Resources

OR

#REDIRECT [[Basic Resources]]

If you redirect from a top-level page that was made in error, please also put in a line reading $NOINDEX so there are not extra pages in the index. It's ok to make a page specifically to redirect (without a noindex) to make something easier to find in the index, but please do this sparingly, and do not create such indexing pages for your user or guild page.

Images

To insert an image into a page, create a link to the page and file name: [[Guides/Foliage$Anaxi.jpg]]

 (the file Anaxi.jpg, attached to the page Guides/Foliage)

Note that the file name IS case sensitive.

You are able to change the name used to link to the file - without changing the file - via the Edit Page Attachments link at the bottom of the page. So if you don't like your capitalization, or want to change "RandomGreenHerb#2.jpg" to some useful name, you can.

ATITD Wiki Custom formatting

Tables

Create tables by beginning and ending each line with "||" and separating each column with ||. Align text to the left or right in a cell to align it in the table.

  ||  Column 1  ||  Column 2  ||  Column 3  ||
  ||  Center    || Left       ||      Right ||
  ||      Right ||  Center    || Left       ||

Column 1 Column 2 Column 3
Center Left Right
Right Center Left

Tables may be automatically formatted with the $TABLE directive. Place "$TABLE <format>" directly before a table. The format consists of a list of letters, separated by spaces:

Table formats will be reapplied every time a page is saved or previewed.

For example, after submitting the following table:

  $TABLE l d r i c
  || 1 || 2 || 3 || 4 ||
  || foo ||bar||baz ||snrub||

The page will contain:

  $TABLE l r l c
  || 1    ||    3 ||          ||  4      ||
  || foo  ||  baz ||          ||  snrub  ||

The $TABLE directive itself is never displayed.

A table may be made borderless by placing a "$TABLE noborder" directive before it.

You can span multiple columns by not placing spaces between ||'s, e.g.:

 || ONE || TWO || THREE || FOUR ||
 || ONE || || THREE || FOUR || (note the space between ||s on column 2 makes an empty column appear)
 |||| ONE TWO || THREE || FOUR ||
 |||||| ONE TWO THREE || FOUR ||
 |||||||| ONE TWO THREE FOUR ||
 || ONE |||| TWO THREE || FOUR ||

ONE TWO THREE FOUR
ONE THREE FOUR
ONE TWO THREE FOUR
ONE TWO THREE FOUR
ONE TWO THREE FOUR
ONE TWO THREE FOUR

You cannot use this method with column formatting (e.g. $TABLE l r c l) as this alters the table to have spaces.

Subpages

Subpages provide a way to organize topics within the wiki. Subpages can allow a large topic to be split up into multiple pages without adding a very long prefix to each page.

This wiki's subpage implementation differs from the original UseModWiki one. (See UseMod:Subpage.)

A subpage is referred to as MainPage/SubPage. For example: [[VoK Megalopolis/Member List]]. By default, however, only the subpage name is displayed: [Member List]?.

Links without a main page reference, such as [[Joe User]] will be implicitly turned into a link to the appropriate subpage if there is only one page with that name. For example, if there is a subpage named "Users/Joe User", and no main page named "Joe User", the above link will be converted to [[Users/Joe User]] when the page is saved. If you explicitly want to link to a top-level page named "Joe User", write the link as [[/Joe User]].

You may link to a subpage under the current page like this: [[./Subpage]].

You may also have a multiple levels of subpages, such as [[Scratch/Foo/Bar]].

Subpages should be used in the following circumstances:

Topics of general interest should not be placed in subpages. For example, Flax, The Test Of Festivals, and [Alchemy Formulas]? should all be top-level pages.

Automatic Timezone Conversion

You can specify dates in such a way that they will be displayed in both UTC and the user's local timezone.

The date should be of the form {YYYY/MM/DD HH:MM UTC}. For example,

{2003/11/10 01:30 UTC}

will yield:

2003/11/10 01:30 UTC
.

If the user has javascript turned off, then the UTC data as you entered it will be displayed unchanged.

Note: The code currently uses a <DIV>, but really should use a <SPAN>. However, the <SPAN> code didn't work in IE (go figure). I'll try to fix that. -- Mjr

Use getElementsByName (and use the name field) instead of getElementsByTagName, perhaps? -- Taral

Tech tree links

Note: the atitd.info tech tree no longer exists! You should instead use "[[Buildings/Flax_Gin|Flax gins]] are used to process [[Resources/Flax]] into [[Resources/Tow]]...".

Flax gins are used to process Flax into Tow...

If you see a page containing [[Building:foo]], [[B:foo]], [[Resource:bar]], or [[R:bar]], which were the interwiki-to-tech-tree forms, please change them accordingly.

Tale 1 wiki links

You can link to a page on the Tale 1 wiki using the Tale1: InterWiki link.

  A [[Tale1:The_History_Of_Egypt|Prehistory]] of Egypt
A Prehistory of Egypt

InterWiki Guild to Tale2 Links

ONLY if you are editing your Private guild Wiki, you can link back to this wiki with an interlink like so:

  Members should refer to [[Tale2:Wiki/Formatting]] for more instruction.
Members should refer to Formatting for more instruction.

This example makes little sense. Not only is the example link not the same as the demonstrated link, it doesn't link to a useful page. - S-P

External links

You can link to an external page like so:

   External site: [http://slashdot.org slashdot web site]
External Site: slashdot web site

   An unnamed link: http://slashdot.org
An unnamed link: http://www.slashdot.org

Maps

Add a map to a page with indicators marking specific spots with the "$MAP" directive. See the Location Maps topic for more information.

Automatic Indexing

Add a page to the Guides or Atlas sections by including an appropriate index statement in the page:
  $GUIDE Page
  $ATLAS Altars > Common

If two pages (Page1 and Page2) use the same $ATLAS value, they will appear as a second level indents with the page name. e.g. if two pages have $ATLAS Altars > Common, the Altas page will show:

 Altars
  * Common
  ** Page1
  ** Page2

Index contains a listing of all of the pages on the Wiki. To not include a page there, add a "$NOINDEX" line to it.

You can also create an automatic list of the subpages associated with any page, your personal user page for example. The syntax is:

 $INCLUDE Contents User/MarvL    (without any leading / )

Stylesheets

Pages under the Styles topic are assumed to contain a CSS stylesheet, rather than a normal wiki page. Users may elect to use one of these alternate stylesheets via their preferences page.

Home | Atlas | Guides | Tests | Research | Techs | Skills | Index | Recent Changes | Preferences | Login
You must log in to edit pages. | View other revisions
Last edited March 7, 2008 1:48 pm by Kaayru (diff)
Search: