Template:Dir: Difference between revisions

From WWII Archives

(properly test rtl/ltr parameters when they are effectively set per translatewiki:Template:Dir)
 
wc>Magog the Ogre
Line 1: Line 1:
{{#switch:{{lc:{{#if:{{{lang|}}}|{{{lang|}}}|{{#if:{{{1|}}}|{{{1|}}}|{{int:lang}}}}}}}}
{{#switch:{{{1}}}|aaf-arab|aao|abh|abq-arab|abv|ace-arab|acm|acq|acw|acx|acy-arab|adf|ady-arab|aeb|aeb-arab|aec|afb|aic|ajp|apc|apd|ar|ara|arb|arc|arq|ars|ary|arz|auz|avl|ayh|ayl|ayn|ayp|az-arab|azb|bal|bbz|bcc|bej-arab|ber-arab|bft|bgn|bgp|bjm|bjn-arab|bms-arab|bqi|bqp|brh-arab|bsk|cja-arab|cjm-arab|ckb|ckb-arab|crh-arab|deh|dgo-arab|dng-arab|doi-arab|dv|dyu-arab|en-rtl|fa|fa-af|ff-arab|ffm-arab|fub-arab|fuc-arab|fuf-arab|fuh-arab|fui-arab|fuv-arab|gbz-arab|gda|gju-arab|glk|gwc|ha-arab|hac|haz|he|hnd|hno|jat|kbd-arab|kbl-arab|kby-arab|kcn|kfr|khw|kk-arab|kk-cn|kls-arab|kmr-arab|knc-arab|kr-arab|krt-arab|ks|ks-arab|ktl|ku-arab|ky-arab|lad-hebr|lah|lki|lrc|lrk|luz|mad-arab|man-arab|mge-arab|mhj|mki-arab|mne-arab|mnk-arab|mrt-arab|ms-arab|mve|mvy|mwr-arab|mzb|mzn|nqo|ota|pa-arab|pbt|pbu|pga|phl|phn|phr|phv|pnb|prd|prs|ps|pst|raj-arab|rif-arab|rmt-arab|scl|sd|sdb|sdf|sdh|shi-arab|shu|shy-arab|skr|skr-arab|sqr|ssh|su-arab|sw-arab|swh|tg-arab|tig-arab|tk-arab|tly|tly-arab|trw|tt-arab|txj-arab|ug|ug-arab|ur|uz-arab|uzs|wbl|wlc-arab|wne|wni-arab|wo-arab|xhe|xng-arab|xpu|ydd|ydg|yhd|yhd-arab|yhd-hebr|yi|yih|zdj-arab={{{2|rtl}}}|{{{3|ltr}}}}}<noinclude>
|aeb|aeb-arab|aic|ar|arc|arq|ary|arz|azb|bcc|bgn|bqi|bqp|ckb|ckb-arab|dv|en-rtl|fa|fa-af|glk|ha-arab|haz|he|khw|kk-arab|kk-cn|ks|ks-arab|ku-arab|lki|lrc|luz|mzn|nqo|ota|phn|pnb|prd|prs|ps|sd|sdh|skr|skr-arab|tg-arab|tly|ug|ug-arab|ur|uz-arab|xpu|ydd|yi
 
={{#ifeq:{{{rtl|}}}|{{{rtl|-}}}|{{{rtl|}}}|{{#ifeq:{{{2|}}}|{{{2|-}}}|{{{2|}}}|rtl}}}}
{{Documentation}}
|#default
 
={{#ifeq:{{{ltr|}}}|{{{ltr|-}}}|{{{ltr|}}}|{{#ifeq:{{{3|}}}|{{{3|-}}}|{{{3|}}}|ltr}}}}
</noinclude>
}}<noinclude>{{documentation}}</noinclude>

Revision as of 23:32, 27 October 2022

ltr

File:Test Template Info-Icon.svg Template documentationcreate · purge ]
This documentation is transcluded from Template:Dir/doc.