Difference between revisions of "Template:Lancode"
ADVERTISEMENT
From Diablo Wiki
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>This | + | <noinclude>This shows other templates what url the wiki is on. It shows the language code of the wiki to whatever other template is calling it. |
− | List of Lancode templates: | + | '''List of Lancode templates:''' |
* www - DiabloWiki - [http://www.diablowiki.net/Template:Lancode Template] | * www - DiabloWiki - [http://www.diablowiki.net/Template:Lancode Template] | ||
* diablo2 - DiabloWiki for Diablo 1 & 2 - [http://diablo2.diablowiki.net/Template:Lancode Template] | * diablo2 - DiabloWiki for Diablo 1 & 2 - [http://diablo2.diablowiki.net/Template:Lancode Template] | ||
Line 14: | Line 14: | ||
In this case it will pull in the German code. | In this case it will pull in the German code. | ||
− | Code in this wiki: | + | '''Code in this wiki:''' |
− | + | '''{{Lancode|www}}''' | |
+ | </noinclude><includeonly>{{{1|www}}}</includeonly><noinclude> | ||
− | Related templates: | + | |
− | + | '''Related templates:''' | |
* [[Template:Lancode]] - It's the language code of the wiki. | * [[Template:Lancode]] - It's the language code of the wiki. | ||
− | * [[Template: | + | * [[Template:Editurl]] - Used to create an edit url. Uses Lancode. Note this is the url only. |
+ | * [[Template:Editlink]] - Used to create a link, linkbox or small linkbox. Uses Lancode. | ||
[[Category:DiabloWiki templates]] | [[Category:DiabloWiki templates]] | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 18:13, 12 November 2009
This shows other templates what url the wiki is on. It shows the language code of the wiki to whatever other template is calling 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:Lancode - It's the language code of the wiki.
- Template:Editurl - Used to create an edit url. Uses Lancode. Note this is the url only.
- Template:Editlink - Used to create a link, linkbox or small linkbox. Uses Lancode.