“Template:Tl”的版本间的差异
跳到导航
跳到搜索
(建立内容为“{{{{ {{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}:|}}[[{{ {{{|safesubst:}}}ns:Template}}:{{{1}}}|{{{1}}}]]{{ {{{|safesubst:}}}#if:{{{2|{{{arg|}}}}}}|{{!}}{{{2…”的新页面) |
|||
| 第1行: | 第1行: | ||
| − | {{ | + | <includeonly>{{[[{{transclude|{{{1}}}}}|{{{1}}}]]{{#if:{{{2|{{{arg|}}}}}}|{{!}}{{{2|{{{arg}}}}}}}}}}</includeonly><noinclude> |
{{Documentation}} | {{Documentation}} | ||
<!-- 請在將分類與跨語言連結增加在 /doc 子頁面 --> | <!-- 請在將分類與跨語言連結增加在 /doc 子頁面 --> | ||
| − | |||
</noinclude> | </noinclude> | ||
2025年8月8日 (五) 22:08的最新版本
Lua错误 在package.lua的第80行:module 'Module:Crc32lua' not found
Template:High-risk 模板链接(Template:Langx)可以用来创建一个到模板的带有大括号的链接,以便于使用者复制或查看相关模板介绍。
舉例
目標模板無參數時
{{tl|hideH}}
{{[[Template:Transclude|hideH]]}}
目標模板只有一個參數時
{{tl|hideH|标题}}
{{[[Template:Transclude|hideH]]|标题}}
目標模板有多個參數或命名參數時
無繁簡轉換
{{tl|hideH|<nowiki>Head=标题|FrameStyle=整个框架的格式</nowiki>}}
{{[[Template:Transclude|hideH]]|Head=标题|FrameStyle=整个框架的格式}}
可繁簡轉換
{{tl|hideH|Head{{=}}标题{{!}}FrameStyle=整个框架的格式}}
{{[[Template:Transclude|hideH]]|HeadTemplate:=标题|FrameStyleTemplate:=整个框架的格式}}
重定向
- Template:模板链接
- Template:Tlx,错字重定向
参见
- Template:Tlx,与本模板相似,生成的模板名称前带有“subst:”字样。
- Template:Tlx,与本模板相似,但可以用管道符“|”方式引入最多11个参数。
- Template:Tlx,与本模板相似,生成的模板名称不带链接,且可以用管道符“|”方式引入最多7个参数。