Important! Please read the announcement at http://myst.dustbird.net/uru-account.htm
Also! Please read the retirement announcement at http://myst.dustbird.net/uru-retirement.htm

Difference between revisions of "Notes On Using Wikis"

From UamWiki
 
Line 41: Line 41:
 
  Food is good!
 
  Food is good!
 
  Good for you!
 
  Good for you!
 +
 +
For formatted text, you can also use the <nowiki><source></nowiki> tag:
 +
<nowiki><source lang="python"></nowiki>
 +
import uam
 +
puzcolor = uam.GetAgeChronicle("PuzzleColour")
 +
if puzcolor=="green":
 +
    puzcolor = "red"
 +
    uam.SetAgeChronicle("PuzzleColour",puzcolor)
 +
<nowiki></source></nowiki>
 +
Which will look like:
 +
<source lang="python">
 +
import uam
 +
puzcolor = uam.GetAgeChronicle("PuzzleColour")
 +
if puzcolor=="green":
 +
    puzcolor = "red"
 +
    uam.SetAgeChronicle("PuzzleColour",puzcolor)
 +
</source>
 +
Another e.g.
 +
<nowiki><source lang="text"></nowiki>
 +
StartDateTime=0000000000
 +
DayLength=24
 +
MaxCapacity=10
 +
SequencePrefix=5102
 +
ReleaseVersion=0
 +
Page=mainroom,0
 +
<nowiki></source></nowiki>
 +
Which will look like:
 +
<source lang="text">
 +
StartDateTime=0000000000
 +
DayLength=24
 +
MaxCapacity=10
 +
SequencePrefix=5102
 +
ReleaseVersion=0
 +
Page=mainroom,0
 +
</source>
  
  

Latest revision as of 16:57, 2 January 2011

Unnumbered List

To make an unnumbered list, use a "*" out front:

*Item 1
*Item 2
*Item 3

Which will look like:

  • Item 1
  • Item 2
  • Item 3


Numbered List

A numbered list uses a "#" out front instead:

#Item 1
#Item 2
#Item 3

Whcih will look like:

  1. Item 1
  2. Item 2
  3. Item 3


To Insert An Image

If it has not already been uploaded, upload it using the "Upload file" link on the left of the page.

To just place it on a page, use:

[[File:DustinLowQuality.jpg]]

Which will look like this:
DustinLowQuality.jpg

To make it resized to a specific width, say 300 pixels:

[[File:DustinLowQuality.jpg|thumb|none|300px]]

Which will look like this:

DustinLowQuality.jpg


To Enter Code or Other Format-Sensitive Things

If you want your text to look how you type it, simply start each line with a space. The result:

Food is good!
Good for you!

For formatted text, you can also use the <source> tag:

<source lang="python">
import uam
puzcolor = uam.GetAgeChronicle("PuzzleColour")
if puzcolor=="green":
    puzcolor = "red"
    uam.SetAgeChronicle("PuzzleColour",puzcolor)
</source>

Which will look like:

import uam
puzcolor = uam.GetAgeChronicle("PuzzleColour")
if puzcolor=="green":
    puzcolor = "red"
    uam.SetAgeChronicle("PuzzleColour",puzcolor)

Another e.g.

<source lang="text">
StartDateTime=0000000000
DayLength=24
MaxCapacity=10
SequencePrefix=5102
ReleaseVersion=0
Page=mainroom,0
</source>

Which will look like:

StartDateTime=0000000000
DayLength=24
MaxCapacity=10
SequencePrefix=5102
ReleaseVersion=0
Page=mainroom,0


Linking To Other Pages / Creating Pages

Put the Page name between "[[" and "]]"

[[Creating Ages]]

Will look like: Creating Ages

If you have made a link to a page that does not exist yet, it will appear red, and you can create it by clicking on the red link. In this way, you can create new pages.