Difference between revisions of "Template:Interwiki"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{full|<span style="font-size:150%;">This is the Diablo2Wiki entry for '''{{PAGENAME}}'''</span><br><br>
+
<includeonly>{{{half|<!--
'''{{PAGENAME}}''' is part of the [http://www.diablowiki.net Main DiabloWiki], and the article in question can be found here:<br>
 
* <span style="font-size:150%;">DiabloWiki.net/[http://www.diablowiki.net/{{{art|{{PAGENAME}}}}} {{PAGENAME}}]</span>}}}<!-- THIS IS THE HALF SECTION -->{{{half|This is just part of the material available on the topic. The main '''{{PAGENAME}}''' article is available at the main '''[http://www.diablowiki.net DiabloWiki]''', and the article in question can be found here: '''DiabloWiki.net/[http://www.diablowiki.net/{{{art|{{PAGENAME}}}}} {{PAGENAME}}]'''.
 
  
}}}
+
#############THIS IS THE 'FULL' SECTION#############
  
 +
--><span style="font-size:100%;">The '''{{PAGENAME}} article''' is strongly related to Diablo, but not ''specifically'' an integral part of 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. '''Lore''', '''characters''', '''locations''' as well as '''general Diablo information''' is therefore represented in the main '''<span class="plainlinks">[http://www.diablowiki.net DiabloWiki]</span>''', where a lot of new information has also been made available after the announcement of Diablo III.
  
 +
This is such a case, and you can find the full '''{{PAGENAME}} article''' on the following DiabloWiki page:
 +
* '''DiabloWiki.net/<span class="plainlinks">[http://www.diablowiki.net/{{{title|{{PAGENAME}}}}} {{PAGENAME}}]</span>'''<br>
 +
<br>
 +
If you were linked here by a link in Diablo2Wiki or DiabloWiki, you can help out by changing the link to a direct link pointed at the corresponding article in DiabloWiki.<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#############
  
</includeonly><noinclude>
+
-->{{{full|This is just part of the material available on this topic. The <span class="plainlinks">[http://www.diablowiki.net DiabloWiki]</span> '{{PAGENAME}}' article is also available in the main wiki where a lot of new information has also been made available after the announcement of Diablo III. You can find it here:
 +
*'''DiabloWiki.net/<span class="plainlinks">[http://www.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.
  
This template is used for when we are making an article primarily in the main DiabloWiki, and want to easily link it from Diablo2Wiki. 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 "art" variable.
 
  
 
'''Legend:'''
 
'''Legend:'''
 
  <nowiki>{{</nowiki>Interwiki
 
  <nowiki>{{</nowiki>Interwiki
  <nowiki>|full =  Remove this section to make it "full". Add "space" here to make it half</nowiki>
+
  <nowiki>|half =  Remove this section to make it 'full'. Add 'space' here to make it half</nowiki>
  <nowiki>|half =  Remove this section to make it "half". Add "space" here to make it full</nowiki>
+
  <nowiki>|full =  Remove this section to make it 'half'. Add 'space' here to make it full</nowiki>
  <nowiki>|art  =  Remove this section for non-spaced article names. Add name WITH UNDERSCORE if spaced.</nowiki>
+
  <nowiki>|title =  Remove this section for non-spaced article names. Add name WITH UNDERSCORE if spaced.</nowiki>
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
 +
  
 
'''Copy + Paste'''
 
'''Copy + Paste'''
 
  <nowiki>{{</nowiki>Interwiki
 
  <nowiki>{{</nowiki>Interwiki
 +
<nowiki>|half  =</nowiki>
 
  <nowiki>|full  =</nowiki>
 
  <nowiki>|full  =</nowiki>
  <nowiki>|half  =</nowiki>
+
  <nowiki>|title =</nowiki>
<nowiki>|art  =</nowiki>
 
 
  <nowiki>}}</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]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:42, 29 September 2008


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: