Difference between revisions of "Template:Interwiki"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{{half|<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#############
 +
 +
--><span style="font-size:100%;">'''{{PAGENAME}}''' is a part of the Diablo Universe, but not an integral part of Diablo II. Due to the large amount of information that is unique to Diablo I and II versust Diablo III, we have separated them into two wikis. General information, Lore and many characters in the world are therefor represented in the main '''<span class="plainlinks">[http://www.diablowiki.net DiabloWiki]</span>'''.
 +
 +
This is such a case, and you can find all information available regarding '''{{PAGENAME}}''' on the DiabloWiki article page:
 +
* '''DiabloWiki.net/<span class="plainlinks">[http://www.diablowiki.net/{{{title|{{PAGENAME}}}}} {{PAGENAME}}]</span>'''
 +
[[Category:Interwiki (full)]]
 
}}}<!--
 
}}}<!--
  
 
#############THIS IS THE HALF SECTION#############
 
#############THIS IS THE HALF SECTION#############
  
-->{{{full|This is just part of the material available on the topic. The main '''{{PAGENAME}}''' article is available at the main wiki ([http://www.diablowiki.net DiabloWiki.net]), and the article in question can be found here: '''DiabloWiki.net/[http://www.diablowiki.net/{{{art|{{PAGENAME}}}}} {{PAGENAME}}]'''.
+
-->{{{full|This is just part of the material available on this topic. The main {{PAGENAME}} article is available at the main '''<span class="plainlinks">[http://www.diablowiki.net DiabloWiki]</span>''', and the article in question can be found here:
 
+
*'''DiabloWiki.net/<span class="plainlinks">[http://www.diablowiki.net/{{{title|{{PAGENAME}}}}} {{PAGENAME}}]</span>'''.
}}}
+
[[Category:Interwiki (half)]]
 
+
}}}</includeonly><noinclude>
 
 
 
 
 
 
  
</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. 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.
  
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.
+
'''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:'''
 
'''Legend:'''
 
  <nowiki>{{</nowiki>Interwiki
 
  <nowiki>{{</nowiki>Interwiki
  <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 '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>|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>
  
Line 30: Line 38:
 
  <nowiki>|half  =</nowiki>
 
  <nowiki>|half  =</nowiki>
 
  <nowiki>|full  =</nowiki>
 
  <nowiki>|full  =</nowiki>
  <nowiki>|art  =</nowiki>
+
  <nowiki>|title =</nowiki>
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</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.
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 11:03, 17 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. 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 =
}}

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.