Difference between revisions of "Template:Interwiki"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
Line 18: Line 18:
  
 
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 'template' variable as described below.
 +
  
 
'''Simplified:'''
 
'''Simplified:'''
Line 26: Line 27:
 
* 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''.
 
* 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.
 
* 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:'''
Line 33: Line 35:
 
  <nowiki>|title =  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'''
Line 40: Line 43:
 
  <nowiki>|title =</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.
 
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.

Revision as of 11:04, 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.