Difference between revisions of "Template:Iw"
ADVERTISEMENT
From Diablo Wiki
Line 1: | Line 1: | ||
− | <span class="plainlinks">[http://diablo2.diablowiki.net/{{{1}}}]</span><noinclude> | + | <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. |
− | |||
+ | '''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>). | ||
− | + | Use like this: | |
− | + | <nowiki>{{iw|Main_Page Main Page]}}</nowiki> | |
− | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 18:52, 16 January 2009
This "InterWiki" template is used to create links directly to http://diablo2.diablowiki.net/ 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:
{{iw|Main_Page Main Page]}}