ವಿಷಯಕ್ಕೆ ಹೋಗು

ಟೆಂಪ್ಲೇಟು:Tlx/testcases

ವಿಕಿಪೀಡಿಯದಿಂದ, ಇದು ಮುಕ್ತ ಹಾಗೂ ಸ್ವತಂತ್ರ ವಿಶ್ವಕೋಶ

Sandbox version

[ಬದಲಾಯಿಸಿ]
Code Result Remarks
{{tlx|x0}} {{x0}}  
{{tlx|Abc}} {{Abc}}  
{{tlx|ABC}} {{ABC}}  
{{tlx|AbC}} {{AbC}}  
{{tlx|x1|one}} {{x1|one}}  
{{tlx|x2|one|two}} {{x2|one|two}}  
{{tlx|x3|1|2|3|4|5|...}} {{x3|1|2|3|4|5|6|7|8|9|10}}  
{{tlx|x4|1|2|3|4|5|...}} {{x4|1|2|3|4|5|6|7|8|9|10|…}} up to 10 parameters...
{{tlx|x5|1|2|3|4|5|...}} {{x5|1|2|3|4|5|6|7|8|9|10|11}}
...| for more
{{tlx|x1|x=u}} {{x1}} the straightforward equals-sign won't work...
{{tlx|x1|x=u}} {{x1|x=u}}
...but = is okay
{{tlx|x1|x{{=}}u}} {{x1|x=u}}
...and {{=}} is okay
{{tlx|x1|<nowiki>x=u</nowiki>}} {{x1|x=u}}
sticky nowiki also okay
{{tlx|x2| |two}} {{x2|two}} empty won't work...
{{tlx|x2|&#32;|two}} {{x2| |two}}
...but &#32; is okay
{{tlx|x2|&nbsp;|two}} {{x2| |two}}
...&nbsp; is also okay
{{tlx|x2|‎<nowiki />|two}} {{x2||two}}
‎<nowiki /> handles the space
{{tlx|x2| &#124; two}} {{x2| | two}}
&#124; is okay
{{tlx|x2| {{!}} two}} {{x2 | | two}}
{{!}} is dubious
{{tlx|x2|2=|3=two}} {{x2|two}} empty really doesn't work
{{tlx|x2|2=one|two}} {{tlx/sandbox|x2|2=one|two}} "two" overrides "2=one" DUPLICATE ARGUMENT
{{tlx|x2|3=two|2=one}} {{x2|one|two}}
irregular parameter order is okay

pl/pln/plain option

[ಬದಲಾಯಿಸಿ]
{{tlx/sandbox|tlx|''a''|''b''|''c''|…}} produces: {{tlx|a|b|c|…}}
{{tlx/sandbox|plain|tlx|''a''|''b''|''c''|…}} produces: {{tlx|a|b|c|…}}