Difference between revisions of "Template:Interwiki"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
m (Protected "Template:Interwiki" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
This template will be the main template for all types of links between Diablo2Wiki and DiabloWiki.
+
<includeonly>{{{half|<!--
  
To do:
+
#############THIS IS THE 'FULL' SECTION#############
  
* A regular article link to other wiki. Like "[[:Template:Wl|Wl]]", but more direct.
+
--><span style="font-size:100%;">The '''{{PAGENAME}} article''' is strongly related to Diablo, but the main bulk of information on this topic is ''specifically'' related to Diablo I or Diablo II. Due to the large amount of information that is unique to Diablo I and II versus Diablo III, we have separated them into two wikis. DiabloWiki contains lore, characters, locations as well as general Diablo information and is the main wiki, but a lot of Diablo I and Diablo II information is available in '''<span class="plainlinks">[http://diablo2.diablowiki.net/ Diablo2Wiki]</span>'''.
* A piece of content saying:
 
:"This is the location of an article located on DiabloWiki on this url: XXX
 
:If you were linked here by a link in the Diablo2Wiki, please update the link to correspond with the above link. You can use the ''Interwiki'' template to make it easier."
 
:Used for articles with no content on that wiki, that might be linked from some webpage article, or an "uneducated" wiki link.
 
* A string of content saying: "...and you can find more info in the XX wiki".
 
:Used for when SOME content is available in the article, but further reading requires a change of site.
 
  
 +
This is such a case, and you can find the full '''{{PAGENAME}} article''' on the following Diablo2Wiki page:
 +
* '''Diablo2.DiabloWiki.net/<span class="plainlinks">[http://diablo2.diablowiki.net/{{{title|{{PAGENAME}}}}} {{PAGENAME}}]</span>'''<br>
 +
<br>
 +
If you were linked here by a link in DiabloWiki or Diablo2Wiki, you can help out by changing the link to a direct link pointed at the corresponding article in Diablo2Wiki.<br>
 +
<br>
 +
If you have any further questions on this, check the [[Help]] section or feel free to contact <span class="plainlinks">[http://www.diablowiki.net/User:Leord Leord]</span>. Any inquiries are welcome.}}}<!--
  
  
 +
#############THIS IS THE 'HALF' SECTION#############
 +
 +
-->{{{full|This is just part of the material available on this topic. The <span class="plainlinks">[http://diablo2.diablowiki.net Diablo2Wiki]</span> {{PAGENAME}} article is available in the Diablo 2 wiki, which has a specific Diablo I and Diablo II focus. A lot of information unique to the first two Diablo games is available there. You can find it here:
 +
*'''Diablo2.DiabloWiki.net/<span class="plainlinks">[http://diablo2.diablowiki.net/{{{title|{{PAGENAME}}}}} {{PAGENAME}}]</span>'''.}}}</includeonly><noinclude>
 +
 +
 +
This template is used for when we are making an article primarily in the main DiabloWiki, and want to easily link it from Diablo2Wiki. Remember that you might still need to categorize the article you are linking through!
 +
 +
 +
'''WARNING:''' This template can not be used straight out with articles that contains spaces (such as [[Main Page]]) in their name! If an article contains spaces in their name, use the 'template' variable as described below.
 +
 +
 +
'''Simplified:'''
 +
''Make sure to include the space, or it will not work!''
 +
* Use <nowiki>{{Interwiki|half= }}</nowiki> for the shorter referral text.
 +
* Use <nowiki>{{Interwiki|full= }}</nowiki> for the full referral text.
 +
* Use <nowiki>{{Interwiki|half= |title=Inc_Gmr}}</nowiki> for the shorter referral text, ''with an article that uses spaces or unusual signs in the title''.
 +
* Use <nowiki>{{Interwiki|full= |title=Inc_Gmr}}</nowiki> for the full referral text, ''with an article that uses spaces or unusual signs in the title''.
 +
* Replace 'Inc_Gmr' with the article name ''that has underscores''. This can also be used to link to some '''OTHER''' article in the other wiki if needed.
 +
 +
 +
'''Legend:'''
 +
<nowiki>{{</nowiki>Interwiki
 +
<nowiki>|half  =  Remove this section to make it 'full'. Add 'space' here to make it half</nowiki>
 +
<nowiki>|full  =  Remove this section to make it 'half'. Add 'space' here to make it full</nowiki>
 +
<nowiki>|title =  Remove this section for non-spaced article names. Add name WITH UNDERSCORE if spaced.</nowiki>
 +
<nowiki>}}</nowiki>
 +
 +
 +
'''Copy + Paste'''
 +
<nowiki>{{</nowiki>Interwiki
 +
<nowiki>|half  =</nowiki>
 +
<nowiki>|full  =</nowiki>
 +
<nowiki>|title =</nowiki>
 +
<nowiki>}}</nowiki>
 +
 +
<nowiki>{{Interwiki|half= }}</nowiki>
 +
<nowiki>{{Interwiki|full= }}</nowiki>
 +
<nowiki>{{Interwiki|half= |title=Inc_Gmr}}</nowiki>
 +
<nowiki>{{Interwiki|full= |title=Inc_Gmr}}</nowiki>
 +
 +
 +
If you are editing this template, remember that putting a space on 'half', will basically disable the 'full' text! This means that in order to edit the 'full' text, you look at the 'half' section and vice versa.
 +
 +
You can find all articles using this template here:
 +
* '''[[Special:Whatlinkshere&target=Template:Interwiki|What Links Here]]'''
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 22:34, 1 February 2013


This template is used for when we are making an article primarily in the main DiabloWiki, and want to easily link it from Diablo2Wiki. Remember that you might still need to categorize the article you are linking through!


WARNING: This template can not be used straight out with articles that contains spaces (such as Main Page) in their name! If an article contains spaces in their name, use the 'template' variable as described below.


Simplified: Make sure to include the space, or it will not work!

  • Use {{Interwiki|half= }} for the shorter referral text.
  • Use {{Interwiki|full= }} for the full referral text.
  • Use {{Interwiki|half= |title=Inc_Gmr}} for the shorter referral text, with an article that uses spaces or unusual signs in the title.
  • Use {{Interwiki|full= |title=Inc_Gmr}} for the full referral text, with an article that uses spaces or unusual signs in the title.
  • Replace 'Inc_Gmr' with the article name that has underscores. This can also be used to link to some OTHER article in the other wiki if needed.


Legend:

{{Interwiki
|half  =  Remove this section to make it 'full'. Add 'space' here to make it half
|full  =  Remove this section to make it 'half'. Add 'space' here to make it full
|title =  Remove this section for non-spaced article names. Add name WITH UNDERSCORE if spaced.
}}


Copy + Paste

{{Interwiki
|half  =
|full  =
|title =
}}

{{Interwiki|half= }}
{{Interwiki|full= }}
{{Interwiki|half= |title=Inc_Gmr}}
{{Interwiki|full= |title=Inc_Gmr}}


If you are editing this template, remember that putting a space on 'half', will basically disable the 'full' text! This means that in order to edit the 'full' text, you look at the 'half' section and vice versa.

You can find all articles using this template here: