Actions

Help

Editing Pages: Difference between revisions

From Populous Wiki

No edit summary
(Fixed reincarnated link)
 
(2 intermediate revisions by the same user not shown)
Line 36: Line 36:
!|Notes
!|Notes
|-
|-
|[http://populous.strategyplanet.gamespy.com] || <code><nowiki>[http://populous.strategyplanet.gamespy.com]</nowiki></code> || <nowiki>External link without description will be automatically shown as [#]. Make sure you include 'http://'</nowiki>.
|[http://popre.net] || <code><nowiki>[http://popre.net]</nowiki></code> || <nowiki>External link without description will be automatically shown as [#]. Make sure you include 'http://'</nowiki>.
|-
|-
|[http://populous.strategyplanet.gamespy.com Populous Reincarnated] || <code><nowiki>[http://populous.strategyplanet.gamespy.com Populous Reincarnated]</nowiki></code> ||
|[http://popre.net Populous Reincarnated] || <code><nowiki>[http://popre.net Populous Reincarnated]</nowiki></code> ||
|}
|}


Line 91: Line 91:


===Syntax Highlighting===
===Syntax Highlighting===
Colour coded AI Scripts can be displayed by typing unformatted text between the two syntax tags. It will automatically be coloured for you.
Colour coded AI Scripts can be displayed by typing unformatted text between the two source tags. It will automatically be coloured for you.


'''Languages'''
'''Languages'''
*popscript
*popscript
*rms
*(any other common language)
<br />
<br />
{| border="1" cellspacing="1" class="wikitable" style="background-color:#F9F9F9;"
{| border="1" cellspacing="1" class="wikitable" style="background-color:#F9F9F9;"
Line 101: Line 103:
! Source
! Source
|-
|-
| <syntax lang="popscript">
| <source lang="popscript">
//PopScript syntax
//PopScript syntax
//highlighting
//highlighting
Line 108: Line 110:
     SET $attacks 2
     SET $attacks 2
}
}
</syntax>
</source>
| <pre><nowiki><syntax lang="popscript">
| <pre><nowiki><source lang="popscript">
//PopScript syntax
//PopScript syntax
//highlighting
//highlighting
Line 116: Line 118:
     SET $attacks 2
     SET $attacks 2
}
}
</syntax></nowiki></pre>
</source></nowiki></pre>
|-
| <source lang="rms">
//Random Map Script syntax
//highlighting
Island:1,0,20,Rnd(1-800),40,5,86,25
Island:10,0,Rnd(5-10),Rnd(500-900),40,5,86,25
RSGen:0,6,6,40,5,86,25
Smooth:2
Wildies:1.1,40,5,86,25
</source>
| <pre><nowiki><source lang="rms">
//Random Map Script syntax
//highlighting
Island:1,0,20,Rnd(1-800),40,5,86,25
Island:10,0,Rnd(5-10),Rnd(500-900),40,5,86,25
RSGen:0,6,6,40,5,86,25
Smooth:2
Wildies:1.1,40,5,86,25
</source></nowiki></pre>
|}
|}


===Images===  
===Images===  

Latest revision as of 06:05, 5 August 2008

Editing pages is very simple to do. You must be logged in to edit, if you need help on loging in or signing up then read Getting Started. When you want to edit a page, make sure you're on the page and then click the Edit tab at the top. This should bring you to the editing page which provides a simple text editor and some shortkey buttons. Before you start editing make sure you have read the wiki formatting carefully do that you know how to format your page.

Creating a Page

There are three ways for creating a new page.

  1. Type the name of your new page in the search box and click Go. If the page does not exist then there sould be a link directing you to the page ready for editing.
  2. You can type the name of the page in the address bar. Use the address for this site and change the title to the name of your new page.
  3. Use the form below to create your new page.

<inputbox> type=create </inputbox>

Wiki Formatting

Some of the common formatting can be applied using the buttons at the top of editing page. For Example, Bold, Italic, Wiki Link, External Link, Level 2 Headline, Image. For more information about formatting text see Wiki Markup.

Interwiki links:

Example Source
Warrior [[Warrior]]
Warriors [[Warrior]]s
Useful Follower [[Warrior|Useful Follower]]

External links:

Example Source Notes
[1] [http://popre.net] External link without description will be automatically shown as [#]. Make sure you include 'http://'.
Populous Reincarnated [http://popre.net Populous Reincarnated]

Formatting

Example Source
Bold text '''Bold text'''
Italic text ''Italic text''
Mixed text '''''Mixed text'''''

Headings

Headings help people navigate through the page easier. If four or more headings are used in a page you will get a Contents box before the first heading on the page.

To use headings you use a certain amount of ('=')s. To do a standard heading use two '='. Then a sub heading would be three '=' and you can keep getting smaller.

==Heading 1==

Lists

  • * - 1st Level Bullet
    • ** - 2nd Level Bullet
  1. # - Numbered
  2. # - Lists

Other Formatting

Example Source
==No Format== <nowiki>/<nowiki>
Strike-through text <s>Strike-through text</s>
Superscript <sup>Superscript</sup>
Subscript text <sub>Subscript text</sub>
Small text <small>Small text</small>
<!-- Hidden Comment -->
Preserved text
<pre>Preserved text</pre>

Syntax Highlighting

Colour coded AI Scripts can be displayed by typing unformatted text between the two source tags. It will automatically be coloured for you.

Languages

  • popscript
  • rms
  • (any other common language)


Example Source
//PopScript syntax
//highlighting
EVERY 512
{
    SET $attacks 2
}
<source lang="popscript">
//PopScript syntax
//highlighting
EVERY 512
{
    SET $attacks 2
}
</source>
//Random Map Script syntax
//highlighting
Island:1,0,20,Rnd(1-800),40,5,86,25
Island:10,0,Rnd(5-10),Rnd(500-900),40,5,86,25
RSGen:0,6,6,40,5,86,25
Smooth:2
Wildies:1.1,40,5,86,25
<source lang="rms">
//Random Map Script syntax
//highlighting
Island:1,0,20,Rnd(1-800),40,5,86,25
Island:10,0,Rnd(5-10),Rnd(500-900),40,5,86,25
RSGen:0,6,6,40,5,86,25
Smooth:2
Wildies:1.1,40,5,86,25
</source>

Images

You can add a centred image by putting

[[Image:Firewarrior.png|left|thumb|100px|image caption]]

in the edited text. Save the page, then click the link to upload the image. For more information, see Picture tutorial.

Redirect Pages

Redirecting pages is good for when people search for pages. To help the search find more pages you can add pages that have a similar name for example Map Editing could be a redirect page to Map Making. If there are broken links that are meant to be pointing to a diffrent page it is better just to fix the link rather than make a redirect page. Just type Redirect and then the page name.

#redirect [[Help:Contents]]

Categories

Adding a category link to the page adds the page to that category list. Make sure templates that you have used on the page do not already link to a category you were going to write.

[[Category:Example]]

If you want to just create a link to the category page, stick a colon before the page name.

[[:Category:Example]]