12,486
edits
Changes
ADVERTISEMENT
From Diablo Wiki
m
For It only works for simple links that does not contain any odd characters like "?", "=", or "&", you can use the [[Template:wl|Wiki Link template]] like this:
no edit summary
====Linking to Categoriesand Templates====
Linking to [[Help:Category|categories]] can be helpful, since the search option will not generally display a category page even if that's the most useful page for their desired information. It's also helpful for newer wiki users who may not know to scroll to the bottom of a page to find the automated category links.
* [[Help:Category|Category help page]]
====InterWiki Links====
Links between the main {{wl|[http://www.diablowiki.net/ Diablo Wiki]}} and other DiabloWikis like {{wl|[http://diablo2.diablowiki.net/ Diablo 2 Wiki]}} can use a shortcut called "[[Template:Iw|InterWiki]]". It's a [[Help:Template|template]] that makes it quick and easy to make a link across wikis.
You can use it like this:
<blockquote><pre>
{{iw|Article_Name Article Name]}}
</pre></blockquote>
Will display like this: {{iw|Article_Name Article Name}} (mind you, this article does not exist).
The first time the article name is written, underscores '''MUST''' be used. The second time does not need to be the exact article name as you can write it in plural or singular, or perhaps a completely different word.
The former way works exactly like any external link (read more about that later), for the link title, URL or a little bracketed link. The latter works just like Category Links, with a ":" in front, and with the possibility to change title with a pipe ("|").
All about [[Help:Image| uploading, adding and organising]] images in the wiki.
===External Links===
Writing the following:
<blockquote><pre>
[http://www.diii.net/ Diii.net with custom title]<br>
</pre></blockquote>
Will display like this: [http://www.diii.net/ Diii.net with custom title]
====External Links Without Icon====
It's possible to remove the little external link icon from links, and this is mostly used when linking within the Diablo community, such as links to the other Diablo wikiWiki, or to <span class="plainlinks"> [http://www.diii.net/ Diii.net]</span>. This works similar to the "InterWiki" link explained above, but will work with '''ANY''' web link.
<blockquote><pre>
{{wl|[http://www.diii.net/ Title]}}<br>
</pre></blockquote>
Will display like this: {{wl|[http://www.diii.net/ Title]}}
==Images==
To insert an image, just add the following code, that you can see is very similar to other wiki links: <nowiki>[[ImageFile:filename.jpg]]</nowiki>. Make sure you don't forget to write the file extension. The valid image files for {{WikiTitle}} are:
* .gif
* .jpg
* .png
Images will automatically be justificated to the left side on a page, but it's easy to change this with variables, to make boxes around images and to change their size. Read more about images on the '''[[Help:Image|Image Help page]]'''. ===Images as Links===An image can be used to link elsewhere than its own image page. To do this, simply add a variable to the image like this:<blockquote><pre>[[File:Diablo_III_Logo.jpg|link=http://www.diablowiki.net/]]</pre></blockquote>Will display like this: [[File:Diablo_III_Logo.jpg|100px|link=http://www.diablowiki.net/]] The size attribute is used here to avoid blowing the image up to a massive size. To learn more about how to use and format images, see the '''[[Help:Image|Image Help page]]'''.