Difference between revisions of "Help:Link"

From BattleMaster Wiki
Jump to navigation Jump to search
(In the spirit of long articles, I moved this to the Help:Editing page)
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:
 
<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]
 

Revision as of 21:22, 21 July 2005