Difference between revisions of "Template:Iw"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
m (Protected "Template:Iw" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)) [cascading])
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks">[http://diablo2.diablowiki.net/{{{1}}}]</span></includeonly><noinclude>This "InterWiki" [[template]] is used to create links directly to {{wl|http://diablo2.diablowiki.net/ Diablo2.DiabloWiki.net}} without an external link icon or manually adding url. It adds a "<nowiki><span class="plainlinks"></nowiki>" around the InterWiki link.
+
<includeonly><span class="plainlinks">[http://diablo2.diablowiki.net/{{{1}}}]</span></includeonly><noinclude>This "InterWiki" [[template]] is used to create links directly to <span class="plainlinks">[http://diablo2.diablowiki.net/ Diablo2.DiabloWiki.net]</span> without an external link icon or manually adding url. It adds a "<nowiki><span class="plainlinks"></nowiki>" around the InterWiki link.
  
  
Line 6: Line 6:
 
* The url can't have any spaces in it, like a normal wiki link does. Replace with underscores.
 
* 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>).
 
* This template works fine with links within a page (<nowiki>{{iw|Article_name#Section InterWiki Link Title}}</nowiki>).
 +
  
 
Use like this.
 
Use like this.
 
  <nowiki>Click here {{iw|Runewords_Weapons to see all of the weapon runewords}}.</nowiki>
 
  <nowiki>Click here {{iw|Runewords_Weapons to see all of the weapon runewords}}.</nowiki>
 +
 
Yields:
 
Yields:
Click here {{iw|Runewords_Weapons to see all of the weapon runewords}}.
+
Click here {{iw|Runewords_Weapons to see all of the weapon runewords}}.
 +
 
 +
 
 +
'''Interwiki Templates:'''
 +
* [[Template:Iw]] - Links English DiabloWiki articles.
 +
* [[Template:Iw2]] - Links English Diablo 2 Wiki articles.
 +
 
  
Example:
 
  
 +
[[Category:Formatting templates]]
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 18:37, 4 December 2012

This "InterWiki" template is used to create links directly to Diablo2.DiabloWiki.net 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.

Click here {{iw|Runewords_Weapons to see all of the weapon runewords}}.

Yields:

Click here to see all of the weapon runewords.


Interwiki Templates: