The Diablo 2 Wiki
The Diablo 2 Wiki archive is available for anyone looking for information on Diablo 2. All information here is pre-D2R but contains a lot of useful information that is still relevant. Updated sections for new D2R features can be found on the PureDiablo Diablo 2 section

Template:Iw: Difference between revisions

Template page
No edit summary
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<span class="plainlinks">[http://www.diablowiki.net/{{{1}}}]</span><noinclude>
<includeonly><span class="plainlinks">[http://www.purediablo.com/d2wiki/{{{1}}}]</span></includeonly><noinclude>This "InterWiki" [[template]] is used to create links directly to <span class="plainlinks">[http://www.purediablo.com/d2wiki Diablo 2 Wiki]</span> without an external link icon or manually adding url. It adds a "<nowiki><span class="plainlinks"></nowiki>" around the InterWiki link.


This template is for making links directly to DiabloWiki.net without adding url.


'''PLEASE OBSERVE'''
* You need to enter the destination name first, use a space and then the link title.
* The url can't have any spaces in it, like a normal wiki link does. Replace with underscores.
* This template works fine with links within a page (<nowiki>{{iw|Article_name#Section InterWiki Link Title}}</nowiki>).


'''WARNING!'''
Use like this:
 
<nowiki>{{iw|Main_Page Main Page]}}</nowiki>
You must write <nowiki>{{iw|Main_Page Main Page}}</nowiki>/<nowiki>{{iw|Diablo Diablo}}</nowiki>! This is the same for both articles with or without spaces.


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 02:07, 28 November 2022

This "InterWiki" template is used to create links directly to Diablo 2 Wiki without an external link icon or manually adding url. It adds a "<span class="plainlinks">" around the InterWiki link.


PLEASE OBSERVE

  • You need to enter the destination name first, use a space and then the link title.
  • The url can't have any spaces in it, like a normal wiki link does. Replace with underscores.
  • This template works fine with links within a page ({{iw|Article_name#Section InterWiki Link Title}}).

Use like this:

{{iw|Main_Page Main Page]}}