Difference between revisions of "Template:Dir"
From Veloopti Help
m (26 revisions imported: Importing Unicode) |
(for better compatiblity, define prefered parameter aliases ltr= and rtl= (instead of just parameters 2 and 3 which may contain "=" signs); note also that parameter 1=lang is optional) |
||
Line 1: | Line 1: | ||
− | {{#switch:{{{1}}}|ar|arc|arz|azb|bcc|ckb|bqi|dv|fa|fa-af|glk|ha|he|kk-arab|kk-cn|ks|ku-arab|mzn|pnb|prd|ps|sd|ug|ur|ydd|yi={{{ | + | {{#switch:{{lc:{{#if:{{{lang|}}}|{{{lang|}}}|{{#if:{{{1|}}}|{{{1|}}}|{{int:lang}}}}}}}} |
− | {{ | + | |ar|arc|arz|azb|bcc|ckb|bqi|dv|fa|fa-af|glk|ha|he|kk-arab|kk-cn|ks|ku-arab|mzn|pnb|prd|ps|sd|ug|ur|ydd|yi |
− | + | ={{#if:{{{rtl|}}}|{{{rtl|}}}|{{#if:{{{2|}}}|{{{2|}}}|rtl}}}} | |
− | + | |#default | |
− | + | ={{#if:{{{ltr|}}}|{{{ltr|}}}|{{#if:{{{3|}}}|{{{3|}}}|ltr}}}} | |
− | </noinclude> | + | }}<noinclude>{{documentation}}</noinclude> |
Revision as of 09:17, 7 July 2017
ltrEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |