模板:Tlc/doc:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第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 {{tag|nowiki|open}}:
Here is the code to emulate {{tlc|tlc}} using <nowiki><code>‎<nowiki></code></nowiki>:


{|
{|
! Using templates: !! Using {{tag|nowiki|open}}: !! Rendered result:  
! 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>