ទំព័រគំរូ:Template link/doc

ពីវិគីភីឌា


The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation. A short example is that the code:

{{Tl|Example}}
generates
{{Example}}

More complex variations are described below.

Example[កែប្រែ]

Code Result
{{Tl|X0}} {{X0}}
{{Tl2|X1}} {{X1}}
{{Tl2|SISTER=M:|3x}} {{3x}}
{{Tl2|SISTER=wikibooks|LANG=de:|WP}} {{WP}}
{{Tl|1==)}} {{=)}}

See also[កែប្រែ]

ទំព័រគំរូភ្ជាប់តំណទំព័រគំរូ
តំណរចនាបថ បានភ្ជាប់តំណ មិនបានភ្ជាប់តំណ បានភ្ជាប់តំណជាមួយ subst: បានភ្ជាប់តំណរួមទាំងឃ្នាប បានភ្ជាប់តំណរួមទាំងពាក្យពេចន៍ឆ្លាស់
រចនាបថពាក្យពេចន៍ ជម្រើស {{tlg}} -- nolink=yes subst=yes braceinside=yes alttext=FOO
ធម្មតា -- {{tl}}, {{tlp}}; {{tlg}} {{tlf}} {{tls}}, {{tlsp}} {{tn}} {{tla}}
ទូរលិខ. tt=yes {{tlx}} {{tld}} {{tlxs}}
ដិត bold=yes {{tlb}}
ទូរលិខ.ដិត bold=yes|tt=yes {{tlxb}}
ទូរលិខ.ទ្រេត italic=yes|tt=yes {{tlxi}}
កូដ code=yes {{tlc}}
សម្គាល់: {{tlg}} មានភាពទូទៅបំផុតដែលអោយមានបន្សំនៃជម្រើសខាងលើ។