模板:Tlc/doc:修订间差异
来自康健生活
| 第52行: | 第52行: | ||
If a vertical display with parameters on their own lines is desired, this can also be laid out manually in this manner, or more rapidly done with {{tag|pre}}. | If a vertical display with parameters on their own lines is desired, this can also be laid out manually in this manner, or more rapidly done with {{tag|pre}}. | ||
Here is the code to emulate {{tlc|tlc}} using | Here is the code to emulate {{tlc|tlc}} using <nowiki><code><nowiki></code></nowiki>: | ||
{| | {| | ||
! Using templates: !! Using | ! Using templates: !! Using nowiki tag: !! Rendered result: | ||
|- | |- | ||
|style="padding-right: 50px;"| <code><nowiki>{{tlc|name|one{{=}}a|two{{=}}b}}</nowiki></code> | |style="padding-right: 50px;"| <code><nowiki>{{tlc|name|one{{=}}a|two{{=}}b}}</nowiki></code> | ||