Template:Tlsp
模板文档
{{Tlsp}}
is used in template lists. Unlike {{Tlp}}
it includes "subst". Unlike{{Tls}}
it allows to specify a parameter. Thesefeatures are hints how to use the specified template.
Usage编辑
- Up to five placeholders for parameters of the specified template name:
{{Tlsp|template name}}
{{Tlsp|template name|param}}
{{Tlsp|template name|1|2|3|4|5}}
{{Tlsp|template name|2=param=value}}
Note: start from 2 because the "name" is parameter 1. Or...{{Tlsp|template name|param=value}}
- For templates supporting optional substitution just add subst=subst:
{{Tlsp|template name|1|2|3|subst=subst:}}
Example编辑
Code | Result |
{{tlsp|template}} | {{subst:template}} |
{{tlsp|template|1st|2nd|3rd|4th|5th}} | {{subst:template|1st|2nd|3rd|4th|5th}} |
{{tlsp|template|2=param=value}} | {{subst:template|param=value}} |
{{tlsp|template|param=value}} | {{subst:template|param=value}} |
{{tlsp|template|1|2|3|okay}} | {{subst:template|1|2|3|okay}} |
{{tlsp|template|1|2|3|4|5|too many}} | {{subst:template|1|2|3|4|5}}{{tlsp}}最多只支持5个模板参数 |
{{tlsp|template|1|2|3|4|5|subst=subst:}} | {{subst:template|1|2|3|4|5|subst=subst:}} |
For similar examples see Tlx.
Comparison编辑
Code | Result |
{{tl|x0}} | {{x0}} |
{{tlp|x1|param}} | {{x1|param}} |
{{tls|x0}} | {{subst:x0}} |
{{tlsp|x3|1st|2nd|3rd|4th|5th}} | {{subst:x3|1st|2nd|3rd|4th|5th}} |
{{tlu|template:x3|1st|2nd|3rd}} | {{template:x3|1st|2nd|3rd}} |
{{tlx|x3|1st|2nd|3rd}} | {{x3|1st|2nd|3rd}} |
See also编辑
- Template:Tlsp(编辑 讨论 链接 历史) up to five parameters
- Template:Tl(编辑 讨论 链接 历史) no parameter and no subst
- Template:Tlp(编辑 讨论 链接 历史) Tl + parameter
- Template:Tls(编辑 讨论 链接 历史) Tl + subst
- Template:Tlu(编辑 讨论 链接 历史) like Tlx in any namespace
- Template:Tlx(编辑 讨论 链接 历史) like Tlsp without subst
🔥 Top keywords: Baike: 首页Special:搜索胖猫跳江事件背着善宰跑九龍城寨之圍城逆天奇案2璩静淚之女王歌手2024Energy (組合)新生 (网络剧)习近平匈牙利邊佑錫劉俊謙 (香港)金智媛神耆小子塞尔维亚金秀賢 (男演員)母亲节猩球崛起:王國誕生九龍寨城馴鹿寶貝家族榮耀之繼承者Seventeen (組合)六四事件不夠善良的我們张维为楊佩潔TripleS支配物种庆余年郭葦昀洪若潭命案金惠奫2024年英雄联盟季中邀请赛春色寄情人BABYMONSTER笑看風雲乘風2024排球少年!!角色列表破墓徐巧芯中华人民共和国中華民國打天下2WIND BREAKER—防風少年—习明泽排球少年!!彭丽媛磁暴ILLIT贾斯汀·比伯逆天奇案BOYNEXTDOOR猿人爭霸戰:猩凶革命張書偉我的婆婆怎麼那麼可愛我獨自升級怪獸8號謝坤達IVE (組合)與鳳行關於我轉生變成史萊姆這檔事角色列表黃道十二宮福建號航空母艦虽然不是英雄葉乃文五月天張員瑛草榴社区張文傑2024年花蓮地震极光香緹·摩爾迷宮飯呂家愷搜查班長1958日本劉德華海莉·鮑德溫蕭景鴻越位 (足球)葬送的芙莉蓮周處除三害 (電影)毛泽东願榮光歸香港林峯周雨彤伍允龍羅毓儀香港Baike: 分類索引沒有秘密猩球崛起:終極決戰角質層唐振剛柯佳嬿文化大革命