|
Log in / create account · | |||||||||
Help:LinksFrom Travian v2 Wiki (S2-S6), the encyclopedia anybody can editThere are two basic kinds of links in a wiki. Internal links, and External links. Both kinds are very straight forward.
[edit] Internal Links[edit] BasicsAn internal link can be added by using the third button from left. Clicking this button will automatically add "[[Link title]]" to the page. Replace "Link Title" With the name of the page you wish to link to. To determine the exact text you need to link to, find out the page's URL, and remove "http://wiki.urbandead.com/index.php/". The following is an example for linking to the Wiki's main page, the URL of which is "http://wiki.urbandead.com/index.php/Main_Page": [[Main_Page]]
[[Main_Page]], [[main_Page]], [[Main Page]], and [[main Page]] all link to the main page, but [[Main_PAge]] does not (uppercase "A" causes an error).
[[Main_Page|This is a link]]
[[Main Page]]ness
[edit] Semi-AdvancedTo rapidly create a piped link that doesn't display the namespace, simply add the pipe at the end – the wiki will automatically fill in the rest for you. For example, say I wanted to link to Special:Disambiguation, but didn't wan't Special: to show up, I would simply type the following: [[Special:Disambiguation|]]
[[#Redirects]]
[[Help:Basic Formatting#Boldness and Italics]]
[edit] External LinksAn external link can be added by using the fourth button from left. Clicking this button will automatically add "[http://www.example.com link title]" to the page. Replace "http://www.example.com" With the URL you wish to link to, and, if you like, "Title" with the text you wish to be displayed. Or, if you perfer, remove "Title" altogether. This will produce a bracketed number, each one being higher than the last ([1],[2],[3], et cetra). These will automatically update if new links are added. Also, pasting a URL directly onto a page, without the brackets, will automatically provide an unformatted link. Examples: [http://en.wikipedia.org/wiki/Main_Page Wikipedia] [http://en.wikipedia.org/wiki/Main_Page] http://en.wikipedia.org/wiki/Main_Page
[edit] Special Links[edit] Linking to Categories, Images, EtcLets say you want to link to the "Category:Users" or "Image:Img_upld.gif" pages. You can't simply put "[[Category:User]]" or "[[Image:Img_upld.gif]]" onto a page. The former will place that page in the "User" category, and the second will display the "Img_upld.gif" image. This is an easy matter to get around. Simply add a ":" add the begining of the link, like so: [[:Category:User]] [[:Image:Img_upld.gif]]
[edit] RedirectsRedirects are very straight-forward. Anytime you want to redirect a user who visits one page to another (Main_page is an example), simply apply the following code to the page. #REDIRECT [[Page_To_Redirect_To]]
|
||||||||||
|
||||||||||