Difference between revisions of "Template:Lancode"
ADVERTISEMENT
From Diablo Wiki
m |
m |
||
Line 10: | Line 10: | ||
If you need to use Lancode to pull some other wiki language in, just use the first variable: | If you need to use Lancode to pull some other wiki language in, just use the first variable: | ||
− | <nowiki>{{Lancode|de}}</ | + | <nowiki>{{Lancode|de}}</nowiki> |
In this case it will pull in the German code. | In this case it will pull in the German code. |
Revision as of 16:51, 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:
{{Lancode|de}}
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.