ទំព័រគំរូ:Template link
ការរចនា
(ត្រូវបានបញ្ជូនបន្តពី ទំព័រគំរូ:Tl)
{{[[Template:{{{1}}}|{{{1}}}]]}}
| This template is used on ៥២១០០០០+ pages, or roughly 13984% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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}} មានភាពទូទៅបំផុតដែលអោយមានបន្សំនៃជម្រើសខាងលើ។