Difference between revisions of "BattleMaster Wiki:Editing"

From BattleMaster Wiki
Jump to navigation Jump to search
(moved from Help:Link)
Line 5: Line 5:
 
If you are creating a new page, the [[Meta:Article example|example article]] is an excellent place to visit and copy.
 
If you are creating a new page, the [[Meta:Article example|example article]] is an excellent place to visit and copy.
  
==Wiki Syntax Howtos==
+
==Links==
* [[Help:Link|Link]]s
+
Links are perhaps the most important part of the BattleMaster wiki. There are two main type of links, internal links and external links. Internal links point to pages on the BattleMaster wiki; external links point to other pages on the internet.
 +
 
 +
__TOC__
 +
 
 +
===Internal Links===
 +
There are several ways to create internal links on the Battlemaster wiki. The simplist of which is to type:
 +
<pre>[[page name]]</pre>
 +
which will automatically create a link that looks like: [[page name]] (Red links point to nonexistant articles.)
 +
 
 +
Below are some more advanced techniques for controlling not only where the link points, but how it looks.
 +
 
 +
====Plural Links====
 +
<pre>[[Judge]]s are responsible for [[ban]]ning enemies of the [[realm]].</pre>
 +
[[Judge]]s are responsible for [[ban]]ning enemies of the [[realm]].
 +
 
 +
Links to: [[Judge]], [[Ban]], [[Realm]]
 +
 
 +
====Piped Links====
 +
<pre>[[battle|Combat]] occurs only at [[time|sunrise]] and [[time|sunset]].</pre>
 +
[[battle|Combat]] occurs only at [[time|sunrise]] and [[time|sunset]].
 +
 
 +
Links to: [[Battle]], [[Time]], [[Time]]
 +
 
 +
====Hide Namespace====
 +
<pre>Before contributing, read the [[Meta:Style guide|]].</pre>
 +
Before contributing, read the [[Meta:Style guide|Style guide]].
 +
 
 +
Links to: [[Meta:Style guide]]
 +
 
 +
====Section Links====
 +
<pre>You might even be [[death#executions|executed]].</pre>
 +
You might even be [[death#executions|executed]].
 +
 
 +
Links to: [[Death#executions]] i.e. the "Executions" section of the "Death" page
 +
 
 +
===External Links===
 +
The simplest form of external link is to simple type in the url for example:
 +
<pre>The BattleMaster Bugtracker is at: http://bugs.battlemaster.org/</pre>
 +
The BattleMaster Bugtracker is at: http://bugs.battlemaster.org/
 +
 
 +
As long as the url starts with <nowiki>http://</nowiki> it will be automatically converted to a link.
 +
 
 +
====Unnamed Links====
 +
External links use only one set of square brackets.
 +
<pre>[http://bugs.battlemaster.org/]</pre>
 +
[http://bugs.battlemaster.org/]
 +
 
 +
Note that these look funny. They should not be used without a good reason.
 +
 
 +
====Named Links====
 +
<pre>Do not exploit any bugs you find. Bugs should be reported
 +
on the [http://bugs.battlemaster.org/ Battlemaster Bugtracker].</pre>
 +
Do not exploit any bugs you find. Bugs should be reported
 +
on the [http://bugs.battlemaster.org/ Battlemaster Bugtracker].
 +
 
 +
====Email Links====
 +
<pre>[mailto://user@example.com Email John Doe]</pre>
 +
[mailto://user@example.com Email John Doe]
  
 
==External References==
 
==External References==

Revision as of 21:24, 21 July 2005

Style

Please follow the style guide.

Example

If you are creating a new page, the example article is an excellent place to visit and copy.

Links

Links are perhaps the most important part of the BattleMaster wiki. There are two main type of links, internal links and external links. Internal links point to pages on the BattleMaster wiki; external links point to other pages on the internet.

Internal Links

There are several ways to create internal links on the Battlemaster wiki. The simplist of which is to type:

[[page name]]

which will automatically create a link that looks like: page name (Red links point to nonexistant articles.)

Below are some more advanced techniques for controlling not only where the link points, but how it looks.

Plural Links

[[Judge]]s are responsible for [[ban]]ning enemies of the [[realm]].

Judges are responsible for banning enemies of the realm.

Links to: Judge, Ban, Realm

Piped Links

[[battle|Combat]] occurs only at [[time|sunrise]] and [[time|sunset]].

Combat occurs only at sunrise and sunset.

Links to: Battle, Time, Time

Hide Namespace

Before contributing, read the [[Meta:Style guide|]].

Before contributing, read the Style guide.

Links to: Meta:Style guide

Section Links

You might even be [[death#executions|executed]].

You might even be executed.

Links to: Death#executions i.e. the "Executions" section of the "Death" page

External Links

The simplest form of external link is to simple type in the url for example:

The BattleMaster Bugtracker is at: http://bugs.battlemaster.org/

The BattleMaster Bugtracker is at: http://bugs.battlemaster.org/

As long as the url starts with http:// it will be automatically converted to a link.

Unnamed Links

External links use only one set of square brackets.

[http://bugs.battlemaster.org/]

[1]

Note that these look funny. They should not be used without a good reason.

Named Links

Do not exploit any bugs you find. Bugs should be reported 
on the [http://bugs.battlemaster.org/ Battlemaster Bugtracker].

Do not exploit any bugs you find. Bugs should be reported on the Battlemaster Bugtracker.

Email Links

[mailto://user@example.com Email John Doe]

Email John Doe

External References

This article is a stub or placeholder. The BattleMaster Wiki is a collaborative effort, and you can help expand it by adding to this article.