Difference between revisions of "Template:Lancode"
ADVERTISEMENT
From Diablo Wiki
m |
m |
||
Line 7: | Line 7: | ||
* pl - DiabloWiki in Polish - [http://pl.diablowiki.net/Template:Lancode Template] | * pl - DiabloWiki in Polish - [http://pl.diablowiki.net/Template:Lancode Template] | ||
* sv - DiabloWiki in Swedish - [http://sv.diablowiki.net/Template:Lancode Template] | * sv - DiabloWiki in Swedish - [http://sv.diablowiki.net/Template:Lancode Template] | ||
+ | |||
+ | If you need to use Lancode to pull some other wiki language in, just use the first variable: | ||
+ | <nowiki>{{Lancode|de}}</wiki> | ||
+ | In this case it will pull in the German code. | ||
Code in this wiki: | Code in this wiki: |
Revision as of 16:49, 12 November 2009
This template is created so that other templates can know the url to the wiki it's on. It only contains the language code of the wiki to whatever calls it.
List of Lancode templates:
- www - DiabloWiki - Template
- diablo2 - DiabloWiki for Diablo 1 & 2 - Template
- de - DiabloWiki in German - Template
- pl - DiabloWiki in Polish - Template
- sv - DiabloWiki in Swedish - Template
If you need to use Lancode to pull some other wiki language in, just use the first variable:
<nowiki>de</wiki>
In this case it will pull in the German code.
Code in this wiki:
www
Related templates:
- Template:Editurl - Used to create an edit url. Uses Lancode. Used in Editlink.
- Template:Lancode - It's the language code of the wiki.
- Template:Editlink - Uses Editurl (and Lancode) to create a small bracketed linkbox.