Difference between revisions of "Help:Linking"

From AmtWiki
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>[[Jinken|That one Warlord]]</nowiki></tt> and <tt><nowiki>[[Brennon|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]]'''.

Revision as of 01:18, 24 March 2015

AmtWiki Help
Searching · Page Creation · Editing · Formatting · Linking · Categories · Talk Pages · Templates · Images

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:

[[Jinken|That one Warlord]] and [[Brennon|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.

External Linking