Template:Project by code/doc
Appearance
This is a documentation subpage for Template:Project by code. It contains usage information, categories, and other content that is not part of the original template page. |
Usage
[edit]This template returns the project site name for the given family and language code:
{{Project by code|family code|language code}}
Defaults
[edit]- family code defaults to
w
- language code defaults to
en
Examples
[edit]- {{Project by code}}
en.wikipedia.org
→ - {{Project by code|m}}
meta.wikimedia.org
→ - {{Project by code|w}}
en.wikipedia.org
→ - {{Project by code||en}}
en.wikipedia.org
→ - {{Project by code|b|de}}
de.wikibooks.org
→