Difference between revisions of "Help:Link"

From BattleMaster Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
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:
 
There are several ways to create internal links on the Battlemaster wiki. The simplist of which is to type:
 
<pre>[[page name]]</pre>
 
<pre>[[page name]]</pre>
Line 5: Line 10:
 
Below are some more advanced techniques for controlling not only where the link points, but how it looks.
 
Below are some more advanced techniques for controlling not only where the link points, but how it looks.
  
__TOC__
+
===Plural Links===
==Plural Links==
 
 
<pre>[[Judge]]s are responsible for [[ban]]ning enemies of the [[realm]].</pre>
 
<pre>[[Judge]]s are responsible for [[ban]]ning enemies of the [[realm]].</pre>
 
[[Judge]]s are responsible for [[ban]]ning enemies of the [[realm]].
 
[[Judge]]s are responsible for [[ban]]ning enemies of the [[realm]].
Line 12: Line 16:
 
Links to: [[Judge]], [[Ban]], [[Realm]]
 
Links to: [[Judge]], [[Ban]], [[Realm]]
  
==Piped Links==
+
===Piped Links===
 
<pre>[[battle|Combat]] occurs only at [[time|sunrise]] and [[time|sunset]].</pre>
 
<pre>[[battle|Combat]] occurs only at [[time|sunrise]] and [[time|sunset]].</pre>
 
[[battle|Combat]] occurs only at [[time|sunrise]] and [[time|sunset]].
 
[[battle|Combat]] occurs only at [[time|sunrise]] and [[time|sunset]].
Line 18: Line 22:
 
Links to: [[Battle]], [[Time]], [[Time]]
 
Links to: [[Battle]], [[Time]], [[Time]]
  
==Hide Namespace==
+
===Hide Namespace===
 
<pre>Before contributing, read the [[Meta:Style guide|]].</pre>
 
<pre>Before contributing, read the [[Meta:Style guide|]].</pre>
 
Before contributing, read the [[Meta:Style guide|Style guide]].
 
Before contributing, read the [[Meta:Style guide|Style guide]].
  
 
Links to: [[Meta:Style guide]]
 
Links to: [[Meta:Style guide]]
{{stub}}
+
 
 +
===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 http:// it will be automatically converted to a link.
 +
 
 +
===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].

Revision as of 21:02, 21 July 2005

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.

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.