Template:Template link expanded/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(→Purpose and naming: fix doc) |
(→Documentation: fix code) |
||
Line 47: | Line 47: | ||
{{[[Template:{{PAGENAME}}|{{PAGENAME}}]]}} |
{{[[Template:{{PAGENAME}}|{{PAGENAME}}]]}} |
||
is a generalization of {{ |
is a generalization of {{Tl|Tl|x}}, {{Tl|Tlp|x|y}}, |
||
etcetera with arguably better readable |
etcetera with arguably better readable |
||
output. This depends on the browser, but too narrow |
output. This depends on the browser, but too narrow |
||
Line 73: | Line 73: | ||
! Remark |
! Remark |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x0}} |
||
|{{Tlx |
|{{Tlx|x0}} |
||
||  |
||  |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|Abc}} |
||
|{{Tlx |
|{{Tlx|Abc}} |
||
||  |
||  |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|ABC}} |
||
|{{Tlx |
|{{Tlx|ABC}} |
||
||  |
||  |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|AbC}} |
||
|{{Tlx |
|{{Tlx|AbC}} |
||
||  |
||  |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x1|one}} |
||
|{{Tlx |
|{{Tlx|x1|one}} |
||
||  |
||  |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x2|one|two}} |
||
|{{Tlx |
|{{Tlx|x2|one|two}} |
||
||  |
||  |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x3|1<tt>|</tt>2<tt>|</tt>3}} |
||
|{{Tlx |
|{{Tlx|x3|1|2|3}} |
||
||  |
||  |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x4|1<tt>|</tt>2<tt>|</tt>3|4}} |
||
|{{Tlx |
|{{Tlx|x4|1|2|3|4}} |
||
|up to 5 parameters, then ... |
|up to 5 parameters, then ... |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x4|1<tt>|</tt>2<tt>|</tt>3&#124;4}} |
||
|{{Tlx |
|{{Tlx|x4|1|2|3|4}} |
||
|align="right"|<tt>&#124;</tt> for more |
|align="right"|<tt>&#124;</tt> for more |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x1|x=u}} |
||
|{{Tlx |
|{{Tlx|x1|x=u}} |
||
|'''=''' won't work |
|'''=''' won't work |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x1|x&#61;u}} |
||
|{{Tlx |
|{{Tlx|x1|x=u}} |
||
|align="right"|<tt>&#61;</tt> is okay |
|align="right"|<tt>&#61;</tt> is okay |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x1|x<nowiki>{{=}}</nowiki>u}} |
||
|{{Tlx |
|{{Tlx|x1|x{{=}}u}} |
||
|align="right"|<tt><nowiki>{{=}}</nowiki></tt> is okay |
|align="right"|<tt><nowiki>{{=}}</nowiki></tt> is okay |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x1|<nowiki>x=u</nowiki>}} |
||
|{{Tlx |
|{{Tlx|x1|<nowiki>x=u</nowiki>}} |
||
|align="right"|sticky nowiki is okay |
|align="right"|sticky nowiki is okay |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x2| |two}} |
||
|{{Tlx |
|{{Tlx|x2| |two}} |
||
|empty won't work |
|empty won't work |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x2|&#32;|two}} |
||
|{{Tlx |
|{{Tlx|x2| |two}} |
||
|align="right"|<tt>&#32;</tt> is okay |
|align="right"|<tt>&#32;</tt> is okay |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x2|&nbsp;|two}} |
||
|{{Tlx |
|{{Tlx|x2| |two}} |
||
|align="right"|<tt>&nbsp;</tt> is okay |
|align="right"|<tt>&nbsp;</tt> is okay |
||
|- |
|- |
||
|{{Tlx |
|{{Tlx|Tlx|x2| &#124; two}} |
||
|{{Tlx |
|{{Tlx|x2| | two}} |
||
|align="right"|<tt>&#124;</tt> is okay |
|align="right"|<tt>&#124;</tt> is okay |
||
|- |
|- |
||
|| {{Tlx |
|| {{Tlx|Tlx|x2| {{!}} two}} |
||
|| {{Tlx |
|| {{Tlx|x2| {{!}} two}} |
||
|align="right"|{{Tlx |
|align="right"|{{Tlx|!}} is dubious |
||
|- |
|- |
||
|| {{Tlx |
|| {{Tlx|Tlx|x2|<nowiki>2=</nowiki>|<nowiki>3=two</nowiki>}} |
||
|| {{Tlx |
|| {{Tlx|x2|2=|3=two}} |
||
|empty really doesn't work |
|empty really doesn't work |
||
|- |
|- |
||
|| {{Tlx |
|| {{Tlx|Tlx|x2|<nowiki>2=one</nowiki>|two}} |
||
|| {{Tlx |
|| {{Tlx|x2|2=one|two}} |
||
|'''two''' clobbers '''2=one''' |
|'''two''' clobbers '''2=one''' |
||
|- |
|- |
||
|| {{Tlx |
|| {{Tlx|Tlx|x2|<nowiki>3=two</nowiki>|<nowiki>2=one</nowiki>}} |
||
|| {{Tlx |
|| {{Tlx|x2|3=two|2=one}} |
||
|align="right"|right to left okay |
|align="right"|right to left okay |
||
|} |
|} |