మూస:wiktionary edition/documentation
స్వరూపం
This template returns the code of a Wiktionary edition, based on a language code, through a #switch parser function.
Usage
[<small>మార్చు</small>]This template requires only one, the first unnamed parameter.
- If the value is a language code, then the template returns the code of the Wiktionary edition.
- In this case, if no Wiktionary edition exists for that code, then the template returns nothing.
- If the value is a language code followed by "2" or a higher number, then the template returns the code of an alternative Wiktionary edition.
- In this case, if no alternative Wiktionary edition exists for that code, then the template returns nothing.
- If the value is a language code followed by "_inc", then the template returns the code of the Wiktionary edition that is hosted at Wikimedia Incubator.
- In this case, if no Wiktionary edition exists at Wikimedia Incubator for that code, then the template returns nothing.
Examples
[<small>మార్చు</small>]- {{wiktionary edition|en}} returns:
- en
- {{wiktionary edition|pt}} returns:
- pt
- {{wiktionary edition|nan}} returns:
- zh-min-nan
- {{wiktionary edition|en2}} returns:
- simple
- {{wiktionary edition|yue_inc}} returns:
- yue