మూస:wiktionary edition
The codes that stand for themselves:
|aa|ab|af|ak|als|am|an|ang|ar|as|ast|av|ay|az |be|bg|bi|bm|bn|bo|br|bs |ca|ch|chr|co|cs|csb|cy |da|de|dv|dz |el|en|eo|es|et|eu |fa|fi|fj|fo|fr|fy |ga|gd|gl|gn|gu|gv |ha|he|hi|hr|hsb|hu|hy |ia|id|ie|ik|io|is|it|iu |ja|jbo|jv |ka|kk|kl|km|kn|ko|ks|ku|kw|ky |la|lb|li|ln|lo|lt|lv |mg|mh|mi|mk|ml|mn|mr|ms|mt|my |na|nah|nds|ne|nl|nn|no |oc|om|or |pa|pi|pl|ps|pt |qu |rm|ro|ru|rw |sa|sc|scn|sd|sg|sh|si|sk|sl|sm|sn|so|sq|sr|ss|st|su|sv|sw |ta|te|tg|th|ti|tk|tl|tn|to|tpi|tr|ts|tt|tw |ug|uk|ur|uz |vi|vo |wa|wo |xh |yi|yo |za|zh|zu={{{1}}}
The codes that are different between Wiktionary and Wikimedia:
|nan=zh-min-nan |rup=roa-rup
English points to the Simple English Wiktionary as an alternative:
|en2=simple
The varieties of Arabic point to the Arabic dictionary:
|aao|abh|abv|acm|acq|acw|acx|acy|adf|aeb|aec|afb|ajp|apc|apd|arb|arq|ars|ary|arz|auz|avl|ayh|ayl|ayn|ayp|bbz|kcn|mey|mt2|pga|sem-syr|shu|ssh=ar
The varieties of Chinese point to the Chinese Wiktionary:
|cdo|cjy|cmn|cpx|czh|czo|dng|gan|hak|hsn|lzh|mnp|nan2|och|wuu|yue|zhx-zho=zh
The varieties of French point to the French dictionary:
|roa-gal|roa-grn|roa-jer|roa-nor=fr
The varieties of Nahuatl point to the Nahuatl dictionary:
|aaz|naz|nch|nci|ncj|ncl|ncx|ngu|nhc|nhe|nhg|nhi|nhk|nhm|nhn|nhp|nhq|nht|nhv|nhw|nhx|nhy|nhz|nln|nlv|nuz|ppl|xpo=nah
There are multiple Norwegian categories and Wiktionaries:
|nb=no |nn2=no |no=no |no2=nn
There are multiple Serbo-Croatian categories and Wiktionaries:
|sh2=bs |sh3=hr |sh4=sr |bs2=sh |hr2=sh |zls-mon=sh |zls-mon2=sr |sr2=sh
Võro points to the Estonian Wiktionary:
|vro=et
Moldavian points to the Romanian Wiktionary:
|mo=ro
There are Wiktionaries at Incubator:
|cr_inc=cr|mul_inc=mul|ota_inc=ota|sco_inc=sco|wo_inc=wo|yue_inc=yue
- The following documentation is located at Template:wiktionary edition/documentation. [edit]
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