Difference between revisions of "Help:Linking"

From AmtWiki
(Created page with "{{Help}} Linking things together on AmtWiki is an important task. As a living library of Amtgard history and culture, links make it easier to find out the who, what, where, w...")
 
(redirects, internal links in other namespaces)
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
To link to another AmtWiki page, you use double brackets on both sides of the text, like this:
 
To link to another AmtWiki page, you use double brackets on both sides of the text, like this:
  
<nowiki>[[Burning Lands]]</nowiki>
+
<tt><nowiki>[[Burning Lands]]</nowiki></tt>
  
 
which will look like [[Burning Lands]] after you save your edit.
 
which will look like [[Burning Lands]] after you save your edit.
Line 17: Line 17:
 
If you want to link to a page, but display different text for the link, you can do so by adding a pipe divider "|" after the link name, and the alternate link you want to be seen on the page you are editing. For example:
 
If you want to link to a page, but display different text for the link, you can do so by adding a pipe divider "|" after the link name, and the alternate link you want to be seen on the page you are editing. For example:
  
<nowiki>[[Jinken|That one Warlord]] and [[Brennon|That one Warlord]]</nowiki>
+
<tt><nowiki>[[JLee|That one Warlord]]</nowiki></tt> and <tt><nowiki>[[Brennon Viridian|That one Warlord]]</nowiki></tt>
  
 
will both show up as [[Potato Swoldemort|That one Warlord]], but both link to different pages.
 
will both show up as [[Potato Swoldemort|That one Warlord]], but both link to different pages.
Line 24: Line 24:
 
You can link to a certain section of a page underneath a specific header or subheader like so:
 
You can link to a certain section of a page underneath a specific header or subheader like so:
  
<nowiki>[[Target Page#Target Section|display text]]</nowiki>
+
<tt><nowiki>[[Target Page#Target Section|display text]]</nowiki><tt>
  
 
For example, if you wanted to link to a certain section of AmtWiki's [[:Special:LongPages|longest]] Amtgardian page:
 
For example, if you wanted to link to a certain section of AmtWiki's [[:Special:LongPages|longest]] Amtgardian page:
  
<nowiki>[[Wanderer#Belted_Family|Wanderer's belted family]]</nowiki>
+
<tt><nowiki>[[Wanderer#Belted_Family|Wanderer's belted family]]</nowiki></tt>
  
 
you could find out all about [[Wanderer#Belted_Family|Wanderer's belted family]].
 
you could find out all about [[Wanderer#Belted_Family|Wanderer's belted family]].
Line 35: Line 35:
 
If you need to make a link bold or italicized, simply put the appropriate wikitext outside of the link, like so:
 
If you need to make a link bold or italicized, simply put the appropriate wikitext outside of the link, like so:
  
<nowiki>'''[[The Most Powerful Weapon]]'''</nowiki>
+
<tt><nowiki>'''[[The Most Powerful Weapon]]'''</nowiki></tt>
  
 
which will appear as '''[[The Most Powerful Weapon]]'''.
 
which will appear as '''[[The Most Powerful Weapon]]'''.
 +
 +
===Linking to a [[Help:Categories|category]]===
 +
If you want to add a link to a category page, putting <tt><nowiki>[[Category:"Category Name"]]</nowiki></tt> will add the current page to the category. To place a instead, add a colon (:) in front of the word "category". To link to the category containing links to all types of garb,
 +
 +
<tt><nowiki>[[:Category:Garb]]</nowiki></tt>
 +
 +
will place the link [[:Category:Garb]] on the page.
 +
 +
===Linking to other namespaces===
 +
Adding an external link to a file, template, project, or talk page works in the same way as a normal internal link. The title of the page is placed between brackets like so:
 +
 +
<tt><nowiki>[[Template:Help]]</nowiki></tt>
 +
 +
which will link to the template that is used on this page.
 +
 +
==External Linking==
 +
 +
===How To Link===
 +
To add a link to something that is not a page on AmtWiki, you use single brackets on either side of the link, like this:
 +
 +
<tt><nowiki>[http://electricsamurai.com/]</nowiki></tt>
 +
 +
which will look like [http://electricsamurai.com/] after you save your edit.
 +
 +
===Adding Link Text===
 +
If you want your link to be a word or set of words, put a space after the link itself, then put what you want the link to say, like this:
 +
 +
<tt><nowiki>[http://www.swordknight.com/ Sword Knight Boot Camp]</nowiki></tt>
 +
 +
which will look like [http://www.swordknight.com/ Sword Knight Boot Camp] after you save your edit.
 +
 +
==Redirects==
 +
Redirects are used to move a user from one page to another. They are useful for common misspellings, unusual punctuation, or links to disambiguation pages. For example, [[Belted Line]], [[Belted Family]], and [[Beltline]] and redirect to [[Knightly family]]. When you click any of those links, you will be taken to the same page automatically.
 +
 +
To add a redirect link from Page A to Page B, add the following on the very first line of Page A:
 +
 +
<tt><nowiki>#REDIRECT [[Page B]]</nowiki></tt>
 +
 +
Once your edit it saved, both <nowiki>[[Page A]]</nowiki> and <nowiki>[[Page B]]</nowiki> will link to "Page B".
 +
 +
[[Category: Help]]

Latest revision as of 20:05, 14 April 2015

AmtWiki Help
Categories · Contents · Editing · Formatting · Group rights · Images · Linking · Page creation · Quick guide · Searching · Talk pages · Templates

Linking things together on AmtWiki is an important task. As a living library of Amtgard history and culture, links make it easier to find out the who, what, where, when, and how of Amtgard. This page gives instructions on how to properly link things on a page, from both internal and external locations.

Internal Linking

How to Link

To link to another AmtWiki page, you use double brackets on both sides of the text, like this:

[[Burning Lands]]

which will look like Burning Lands after you save your edit.

Make sure you are linking to the right page, since different links to "Dragon" could lead you to anything from monsters to awards to two-belted knights.

Changing the Link Text

If you want to link to a page, but display different text for the link, you can do so by adding a pipe divider "|" after the link name, and the alternate link you want to be seen on the page you are editing. For example:

[[JLee|That one Warlord]] and [[Brennon Viridian|That one Warlord]]

will both show up as That one Warlord, but both link to different pages.

Section Links

You can link to a certain section of a page underneath a specific header or subheader like so:

[[Target Page#Target Section|display text]]

For example, if you wanted to link to a certain section of AmtWiki's longest Amtgardian page:

[[Wanderer#Belted_Family|Wanderer's belted family]]

you could find out all about Wanderer's belted family.

Formatting Links

If you need to make a link bold or italicized, simply put the appropriate wikitext outside of the link, like so:

'''[[The Most Powerful Weapon]]'''

which will appear as The Most Powerful Weapon.

Linking to a category

If you want to add a link to a category page, putting [[Category:"Category Name"]] will add the current page to the category. To place a instead, add a colon (:) in front of the word "category". To link to the category containing links to all types of garb,

[[:Category:Garb]]

will place the link Category:Garb on the page.

Linking to other namespaces

Adding an external link to a file, template, project, or talk page works in the same way as a normal internal link. The title of the page is placed between brackets like so:

[[Template:Help]]

which will link to the template that is used on this page.

External Linking

How To Link

To add a link to something that is not a page on AmtWiki, you use single brackets on either side of the link, like this:

[http://electricsamurai.com/]

which will look like [1] after you save your edit.

Adding Link Text

If you want your link to be a word or set of words, put a space after the link itself, then put what you want the link to say, like this:

[http://www.swordknight.com/ Sword Knight Boot Camp]

which will look like Sword Knight Boot Camp after you save your edit.

Redirects

Redirects are used to move a user from one page to another. They are useful for common misspellings, unusual punctuation, or links to disambiguation pages. For example, Belted Line, Belted Family, and Beltline and redirect to Knightly family. When you click any of those links, you will be taken to the same page automatically.

To add a redirect link from Page A to Page B, add the following on the very first line of Page A:

#REDIRECT [[Page B]]

Once your edit it saved, both [[Page A]] and [[Page B]] will link to "Page B".