PvXwiki
m (Created page with 'The ability of any user to edit articles is the backbone of any wiki. This guide explains the more basic aspects of editing the wiki. == General Stuff == *Note the 'Show Preview…')
 
mNo edit summary
Line 1: Line 1:
  +
{{TOCright}}
  +
 
The ability of any user to edit articles is the backbone of any wiki. This guide explains the more basic aspects of editing the wiki.
 
The ability of any user to edit articles is the backbone of any wiki. This guide explains the more basic aspects of editing the wiki.
   
 
== General Stuff ==
 
== General Stuff ==
*Note the 'Show Preview' button at the bottom of any edit screen. It's right next to 'Save Page'. It's also your friend. By using it, you can avoid making several jillion teeny tiny edits to a page that you then reverse because you don't like how they turned out. It also avoids clogging up [[Special:Recentchanges]], which is nice to anyone watching recent changes.
+
*Use the 'Show Preview' button at the bottom of any edit screen. It's right next to 'Save Page'. By using it, you can avoid making several tiny edits before showing it to everyone else. It also avoids clogging up [[Special:Recentchanges]].
*Use the 'minor edit' button whenever making small edits. This also helps not clog up recent changes because it can be set not to show minor edits. Edits to your userpage should pretty much always be minor. Most edits to talkpages should be minor as well. Use your judgment. If it's not important, it's a minor edit.
+
*Use the 'minor edit' button whenever making small edits. This also helps not clog up recent changes because it can be set not to show minor edits. Edits to your user pages should always be minor. Most edits to talk pages should be minor as well. Use your judgment.
 
*Whenever you are making a comment on a talk page, ALWAYS [[PvX:SIGN|sign your comments]] by typing four tildes (<nowiki>~~~~</nowiki>).
 
*Whenever you are making a comment on a talk page, ALWAYS [[PvX:SIGN|sign your comments]] by typing four tildes (<nowiki>~~~~</nowiki>).
   
Line 10: Line 12:
   
 
=== Internal Links ===
 
=== Internal Links ===
Internal links are easy to accomplish. They allow you to point to any page within the wiki - even if it doesn't exist. In their simplest form, an internal link simply surrounds the name of the desired page with square brackets. Example:
+
Internal links take you to any other place within PvX, it is achieved by putting a set of square brackets around the place you want to link to. Example:
 
The text <nowiki>[[Main Page]]</nowiki> displays this: [[Main Page]]
 
The text <nowiki>[[Main Page]]</nowiki> displays this: [[Main Page]]
 
A broken link (linking to a page that does not exist) shows up [[like this]].
 
A broken link (linking to a page that does not exist) shows up [[like this]].
Line 16: Line 18:
 
The text <nowiki>[[User:Wizardboy777]]</nowiki> shows up like this: [[User:Wizardboy777]]
 
The text <nowiki>[[User:Wizardboy777]]</nowiki> shows up like this: [[User:Wizardboy777]]
 
However, the text <nowiki>[[User:Wizardboy777|Wizardboy777]]</nowiki> shows up like this: [[User:Wizardboy777|Wizardboy777]]
 
However, the text <nowiki>[[User:Wizardboy777|Wizardboy777]]</nowiki> shows up like this: [[User:Wizardboy777|Wizardboy777]]
That bar ( '|' ) is found above the enter key on a standard American qwerty keyboard - hold shift and press the forward slash.
 
 
Whatever text appears after the bar is what the link will display.
 
Whatever text appears after the bar is what the link will display.
   
Line 26: Line 27:
   
 
=== Inter-wiki Links ===
 
=== Inter-wiki Links ===
It is often necessary to link to pages on [[gw:Main Page|GuildWiki]]. To facilitate this process, PvXwiki has implemented inter-wiki links. These are very similar to internal links. The only difference is that you must include a 'gw:' in front of the page name. Example:
+
It is often necessary to link to pages on [[gw:Main Page|GuildWikia]] or [[gww:Main Page|GWWiki]]. To facilitate this process, PvXwiki has implemented inter-wiki links. These are very similar to internal links. The only difference is that you must include a 'gw:' or 'gww:' in front of the page name. Example:
 
The text <nowiki>[[gw:Main Page]]</nowiki> displays like this: [[gw:Main Page]]
 
The text <nowiki>[[gw:Main Page]]</nowiki> displays like this: [[gw:Main Page]]
 
Notice that the link is a slightly different color. Also, it will not be red if the page does not exist.
 
Notice that the link is a slightly different color. Also, it will not be red if the page does not exist.
Line 32: Line 33:
 
<nowiki>[[gw:Main Page|Guildwiki]]</nowiki> displays like this: [[gw:Main Page|Guildwiki]]
 
<nowiki>[[gw:Main Page|Guildwiki]]</nowiki> displays like this: [[gw:Main Page|Guildwiki]]
 
Also, <nowiki>[[gw:Main Page|]]</nowiki> (note the bar at the end) displays as [[gw:Main Page|Main Page]]
 
Also, <nowiki>[[gw:Main Page|]]</nowiki> (note the bar at the end) displays as [[gw:Main Page|Main Page]]
You can also link to GuildWars Wiki in the same way. This is done by using 'gww:' as opposed to 'gw:'.
 
   
 
== Text Formatting ==
 
== Text Formatting ==
Line 48: Line 48:
 
*Typing <nowiki><br></nowiki> will also result in a somewhat-smaller line break.
 
*Typing <nowiki><br></nowiki> will also result in a somewhat-smaller line break.
 
*Typing <nowiki>{{clear}}</nowiki> will also result in a small line break.
 
*Typing <nowiki>{{clear}}</nowiki> will also result in a small line break.
*Examples:
 
   
 
Whenever using indents or bulleted/numbered lists, a line break will automatically be put in.
 
This is a line of text.
 
 
This is a line of text after hitting enter twice.<br>This is a line of text after typing <nowiki><br></nowiki>{{clear}}This is a line of text after typing <nowiki>{{clear}}</nowiki>
 
 
 
Also, whenever using indents or bulleted/numbered lists, a line break will automatically be put in.
 
   
 
=== Bulleting and numbered lists ===
 
=== Bulleting and numbered lists ===
Line 63: Line 56:
 
*This is the second part of a bulleted list.
 
*This is the second part of a bulleted list.
 
*This can go on forever
 
*This can go on forever
*And ever
 
*And ever
 
*And ever
 
*And ever
 
*And ever
 
*And ever
 
   
 
And numbers:
 
And numbers:
Line 76: Line 63:
   
 
Also, you can create smaller bullets (or numbers) within a bulleted or numbered list simply by typing two (or more) of the respective character. Examples:
 
Also, you can create smaller bullets (or numbers) within a bulleted or numbered list simply by typing two (or more) of the respective character. Examples:
  +
*Part 1 of list
*Hello.
 
  +
*Part 2 of list
*Hi again.
 
  +
**Part 1 of sub-list
**Hi.
 
  +
**Part 2 of sub-list
**I am awesome.
 
  +
*Part 3 of list
***I win.
 
****I win more.
 
**And I win again.
 
*Loser.
 
**<nowiki>:P</nowiki>
 
   
 
Numbers:
 
Numbers:
  +
#Part 1 of list
#Hello.
 
  +
#Part 2 of list
#Hi again.
 
  +
##Part 1 of sub-list
##Hi.
 
  +
##Part 2 of sub-list
##I am awesome.
 
  +
#Part 3 of list
###I win.
 
####I win more.
 
##And I win again.
 
#Loser.
 
##<nowiki>:P</nowiki>
 
   
 
=== Indents ===
 
=== Indents ===
'''Indenting''' (sometimes referred to as '''Tabbing''') text can be important. Indents are easy to accomplish - simply put a colon (:) at the beginning of the line. Multiple colons make a bigger indent. Example:
+
'''Indenting''' (sometimes referred to as '''tabbing''') text can be important. Indents are easy to accomplish - simply put a colon (:) at the beginning of the line. Multiple colons make a bigger indent. Example:
   
 
Comment #1
 
Comment #1
Line 130: Line 109:
 
</pre>
 
</pre>
   
Also, if you put a space in front of something to indent it, it appears in a grayish box with a dotted border, like some of my examples above did.
+
Also, if you put a space in front of something to indent it, it appears in a grayish box with a dotted border, like some of the above examples.
 
See? It's magic. But note, lines of text in these will not 'wrap around'.
 
See? It's magic. But note, lines of text in these will not 'wrap around'.
If the text is too long for the box, it just stretches out into oblivion like this: jdbgvkjdfvbdiuvdkvbdvjsdhvbjkvbdsjkvbdsjvksdbvjksdvbsdjkvbsdkvsdcbsdjvkbdvjkdbsvjkdsvbjkdvbdsjkvbsdjkvbsdjkvbdvjkbdsjkvbdkjvbdsj,vbdsvjksdbvjkdsbvksdjvbksdjvbjksdvbsdklvbsdilvbsdkjvbsdjklvbdskjlvbsdklvbdsvlkbsdvbklsdjkvbjsdvbklsdvbdsjklvbjsdkvkbjsdklvbsdjklvsdbjkvbsdkljvbksdvbdjksvbsdjklvbksdvbjsdbjvjdksvbdsivbuvbkjkbvdjs
 
   
 
=== Font options ===
 
=== Font options ===
 
Font size and color can be easily customized using simple html tags. To change either of these, you must first open a <nowiki><font> tag. Type <font (don't add the closing > yet) in front of whatever text you wish to modfiy. Then you can change the color and size. After that, put a </font> tag after the block of text to be modified. Examples:</nowiki>
 
Font size and color can be easily customized using simple html tags. To change either of these, you must first open a <nowiki><font> tag. Type <font (don't add the closing > yet) in front of whatever text you wish to modfiy. Then you can change the color and size. After that, put a </font> tag after the block of text to be modified. Examples:</nowiki>
*Size:
+
*'''Size''':
 
   
 
<nowiki><font size=20>THIS IS SIZE 20</font></nowiki> displays <font size=20>THIS IS SIZE 20</font>
 
<nowiki><font size=20>THIS IS SIZE 20</font></nowiki> displays <font size=20>THIS IS SIZE 20</font>
Line 145: Line 122:
   
 
<nowiki><font size=1>This is size 1</font></nowiki> displays <font size=1>This is size 1</font>
 
<nowiki><font size=1>This is size 1</font></nowiki> displays <font size=1>This is size 1</font>
*Color:
+
*'''Color''':
   
 
<nowiki><font color=red>This is red font,</font> but this is black</nowiki> - displays <font color=red>This is red font,</font> but this is black
 
<nowiki><font color=red>This is red font,</font> but this is black</nowiki> - displays <font color=red>This is red font,</font> but this is black
*You can even combine them:
+
*'''You can even combine them''':
   
 
<nowiki><font size=5 color=blue>This is big blue font, <font size=10>but this is bigger</font></font></nowiki> displays:
 
<nowiki><font size=5 color=blue>This is big blue font, <font size=10>but this is bigger</font></font></nowiki> displays:
Line 168: Line 145:
 
Inserting a template normally is all well and good, but some templates aren't that simple. Certain templates, such as the <nowiki>{{Untested-trial}}</nowiki> template and the userbox template, also accept variables and there are others that you won't want to update whenever the template changes. Examples:
 
Inserting a template normally is all well and good, but some templates aren't that simple. Certain templates, such as the <nowiki>{{Untested-trial}}</nowiki> template and the userbox template, also accept variables and there are others that you won't want to update whenever the template changes. Examples:
   
*<nowiki>{{mini skill bar}}</nowiki> simply displays this boring thing: {{mini skill bar}}
+
*<nowiki>{{mini skill bar}}</nowiki> simply displays this thing: {{mini skill bar}}
*It has no skills in it! Useless, huh?
 
 
*In order to get skills, you must pass variables to it. In this case, skill names.
 
*In order to get skills, you must pass variables to it. In this case, skill names.
*<nowiki>{{mini skill bar|Sever Artery|Gash|Final Thrust|Frenzy|Healing Signet|Mending|Healing Breeze|Resurrect}}</nowiki> displays something much more complex - the typical nooby mending whammo bar. {{mini skill bar|Sever Artery|Gash|Final Thrust|Frenzy|Healing Signet|Mending|Healing Breeze|Resurrect}}
+
*<nowiki>{{mini skill bar|Jagged Bones|Animate Bone Minions|Death Nova|Masochism|Optional|Protective Spirit|Aegis|Signet of Lost Souls}}</nowiki> and the template will display the build {{mini skill bar|Jagged Bones|Animate Bone Minions|Death Nova|Masochism|Optional|Protective Spirit|Aegis|Signet of Lost Souls}}
  +
*Note that writing 'Optional' displays a blank skill.
 
Sometimes, especially with signatures, you actually want the code in the to appear on the page instead of the template. In those cases, you put subst: at the beginning of the template. Example:
 
 
*<nowiki>{{User:Wizardboy777/Sig}}</nowiki> displays my signature: {{User:Wizardboy777/Sig}}
 
*Howver, if you look at the page, you just see that template; you can't see the code actually creating the signature. That's why I use the following:
 
*<nowiki>{{subst:User:Wizardboy777/Sig}}</nowiki> also displays my signature: '''[[User:Wizardboy777|<span style="color:#CD2626;">&not; Wizårdbõÿ777</span>]]'''<small>([[PvXwiki:Administrators|<span style="color:darkcyan;">sysop</span>]])</small>
 
*Looks exactly the same, right? Wrong. Hit the edit button and look at this section. The code inside my signature template is actually appearing on this page.
 
   
 
=== Useful Templates ===
 
=== Useful Templates ===
Line 186: Line 156:
 
*<nowiki>{{Untested-Testing|Type 1|Type 2|etc}}</nowiki> - Same as the trial tag, except people are now allowed to rate the build.
 
*<nowiki>{{Untested-Testing|Type 1|Type 2|etc}}</nowiki> - Same as the trial tag, except people are now allowed to rate the build.
 
*<nowiki>{{Great-build|Type 1|Type 2|etc}}</nowiki> - A build that has been vetted and has over a 4.75 average.
 
*<nowiki>{{Great-build|Type 1|Type 2|etc}}</nowiki> - A build that has been vetted and has over a 4.75 average.
*<nowiki>{{Trash-build|current time}}</nowiki> - A build that has received an overall rating of less than 3.75. Insert the time parameter by typing five tildes (<nowiki>~~~~~</nowiki>).
+
*<nowiki>{{Trash-build|~~~~~}}</nowiki> - A build that has received an overall rating of less than 3.75 (the 5 tildes displace the time of post).

Revision as of 23:59, 31 January 2010

The ability of any user to edit articles is the backbone of any wiki. This guide explains the more basic aspects of editing the wiki.

General Stuff

  • Use the 'Show Preview' button at the bottom of any edit screen. It's right next to 'Save Page'. By using it, you can avoid making several tiny edits before showing it to everyone else. It also avoids clogging up Special:Recentchanges.
  • Use the 'minor edit' button whenever making small edits. This also helps not clog up recent changes because it can be set not to show minor edits. Edits to your user pages should always be minor. Most edits to talk pages should be minor as well. Use your judgment.
  • Whenever you are making a comment on a talk page, ALWAYS sign your comments by typing four tildes (~~~~).

Links

Linking is an important aspect of editing a wiki. It allows you to point to other pages easily.

Internal Links

Internal links take you to any other place within PvX, it is achieved by putting a set of square brackets around the place you want to link to. Example:

The text [[Main Page]] displays this: Main Page
A broken link (linking to a page that does not exist) shows up like this.

If you wish to create a link to one page that displays different text (for example, you want to link to your userpage but don't want 'User:' to show up in the text):

The text [[User:Wizardboy777]] shows up like this: User:Wizardboy777
However, the text [[User:Wizardboy777|Wizardboy777]] shows up like this: Wizardboy777
Whatever text appears after the bar is what the link will display.

External Links

External links link to any specific URL. Simply typing in a URL will create a link (eg - http://www.google.com). However, this doesn't look nice. To create a link with different text, look at the following example:

The text [http://www.google.com Google] displays: Google
Note that, unlike internal links, there is only one square bracket here.

Note, however, that the only way to check that an external link is valid is by testing it yourself.

Inter-wiki Links

It is often necessary to link to pages on GuildWikia or GWWiki. To facilitate this process, PvXwiki has implemented inter-wiki links. These are very similar to internal links. The only difference is that you must include a 'gw:' or 'gww:' in front of the page name. Example:

The text [[gw:Main Page]] displays like this: gw:Main Page
Notice that the link is a slightly different color. Also, it will not be red if the page does not exist.
Another thing to notice is that the 'gw:' still appears in front. There's an easy way to fix this.
[[gw:Main Page|Guildwiki]] displays like this: Guildwiki
Also, [[gw:Main Page|]] (note the bar at the end) displays as Main Page

Text Formatting

Sometimes, in order to accentuate a point, it is necessary to format text in certain ways.

Italics and Bold

Italicizing and bolding (or even both) is easy to accomplish on a wiki. In order to italicize, simply suround the desired text with two apostrophes (''). To bold, surround the desired text with three apostrophes. To do both, use five. Example:
''Example'' displays Example
'''Example''' displays Example
'''''Example''''' displays Example

Line Breaks

You may notice that if you just hit 'enter' and start typing on the next line that you don't actually end up with a line break in the actual text. There are several ways to accomplish line breaks.

  • Hitting enter twice will result in a line break. However, this break is often somewhat larger than desired. This is more of a between-paragraphs kind of thing.
  • Typing <br> will also result in a somewhat-smaller line break.
  • Typing {{clear}} will also result in a small line break.

Whenever using indents or bulleted/numbered lists, a line break will automatically be put in.

Bulleting and numbered lists

Accomplishing lists with bullets or numbers is made easy by the wiki. To do a bulleted list, simply start each line with an asterisk (*). To do a numbered list, start each line with a number sign (#). Examples:

  • This is the first part of a bulleted list.
  • This is the second part of a bulleted list.
  • This can go on forever

And numbers:

  1. This is the first part of a numbered list.
  2. This is the second part of a numbered list.
  3. This can also go on forever.

Also, you can create smaller bullets (or numbers) within a bulleted or numbered list simply by typing two (or more) of the respective character. Examples:

  • Part 1 of list
  • Part 2 of list
    • Part 1 of sub-list
    • Part 2 of sub-list
  • Part 3 of list

Numbers:

  1. Part 1 of list
  2. Part 2 of list
    1. Part 1 of sub-list
    2. Part 2 of sub-list
  3. Part 3 of list

Indents

Indenting (sometimes referred to as tabbing) text can be important. Indents are easy to accomplish - simply put a colon (:) at the beginning of the line. Multiple colons make a bigger indent. Example:

Comment #1

Comment #2
Comment #3
Comment #4
Comment #5
Response to Comment #3
Response to comment to Comment #3
Response to Comment #1

Comment #6 (new subject)

How it looks in the edit window:

Comment #1 
:Comment #2 
::Comment #3 
:::Comment #4 
::::Comment #5 

:::Response to Comment #3 
::::Response to comment to Comment #3 

:Response to Comment #1

Comment #6 (new subject)

Also, if you put a space in front of something to indent it, it appears in a grayish box with a dotted border, like some of the above examples.

See? It's magic. But note, lines of text in these will not 'wrap around'.

Font options

Font size and color can be easily customized using simple html tags. To change either of these, you must first open a <font> tag. Type <font (don't add the closing > yet) in front of whatever text you wish to modfiy. Then you can change the color and size. After that, put a </font> tag after the block of text to be modified. Examples:

  • Size:
<font size=20>THIS IS SIZE 20</font> displays THIS IS SIZE 20


<font size=5>This is size 5</font> displays this is size 5
<font size=1>This is size 1</font> displays This is size 1
  • Color:
<font color=red>This is red font,</font> but this is black - displays This is red font, but this is black
  • You can even combine them:
<font size=5 color=blue>This is big blue font, <font size=10>but this is bigger</font></font> displays:


This is big blue font, but this is bigger

There is also an easier way to create big and small text. Simply use <small>, </small>, <big>, and </big> tags. However, this gives you less precise control over the size.

Another thing you can do is create subtext and suptext. Use the <sub> and <sup> tags. Examples:

The equation y = x<sup>2</sup> is a basic parabola. will display The equation y = x2 is a basic parabola.

H<sub>2</sub>O is the chemical formula for water. will display: H2O is the chemical formula for water.

Templates

Templates are very useful. They allow you to insert even an extremely large amount of code with a very small amount. {{clear}} is a template that you have already used. Templates are kind of like internal links. The main difference is that you use curly brackets ({{ and }}) instead of square brackets. Using a template inserts its code into the page, and if that template is updated, any pages the template is on will also be changed.

Template Syntax

Inserting a template normally is all well and good, but some templates aren't that simple. Certain templates, such as the {{Untested-trial}} template and the userbox template, also accept variables and there are others that you won't want to update whenever the template changes. Examples:

  • {{mini skill bar}} simply displays this thing:
Optional Optional Optional Optional Optional Optional Optional Optional
  • In order to get skills, you must pass variables to it. In this case, skill names.
  • {{mini skill bar|Jagged Bones|Animate Bone Minions|Death Nova|Masochism|Optional|Protective Spirit|Aegis|Signet of Lost Souls}} and the template will display the build
Jagged Bones Animate Bone Minions Death Nova Masochism Optional Protective Spirit Aegis Signet of Lost Souls
  • Note that writing 'Optional' displays a blank skill.

Useful Templates

  • {{clear}} - adds a line break
  • {{build-stub}} - tags a build as a stub, or incomplete build article
  • {{Untested-Trial|Type 1|Type 2|etc}} - Tags a build for trial, the pahse in which it receives the most community input. The type variables are the types of play it is designed for use in - general PvE, random arenas, alliance battles, etc.
  • {{Untested-Testing|Type 1|Type 2|etc}} - Same as the trial tag, except people are now allowed to rate the build.
  • {{Great-build|Type 1|Type 2|etc}} - A build that has been vetted and has over a 4.75 average.
  • {{Trash-build|~~~~~}} - A build that has received an overall rating of less than 3.75 (the 5 tildes displace the time of post).