更多操作
< 模板:Br
Holger Huo(讨论 | 贡献) 小 (Holger Huo移动页面模板:Br separated entries/doc至模板:Utils/Br separated entries/doc,不留重定向) |
Holger Huo(讨论 | 贡献) 无编辑摘要 |
||
第2行: | 第2行: | ||
== 用法== | == 用法== | ||
:<code><nowiki>{{br separated entries|entry1|entry2|entry3|entry4|entry5|...}}</nowiki></code> | :<code><nowiki>{{Utils/br separated entries|entry1|entry2|entry3|entry4|entry5|...}}</nowiki></code> | ||
== 示例 == | == 示例 == | ||
第8行: | 第8行: | ||
! 代码 !! 结果 | ! 代码 !! 结果 | ||
|- | |- | ||
| <code><nowiki>{{br separated entries|entry1|entry2|entry3}}</nowiki></code> || {{br separated entries|entry1|entry2|entry3}} | | <code><nowiki>{{Utils/br separated entries|entry1|entry2|entry3}}</nowiki></code> || {{Utils/br separated entries|entry1|entry2|entry3}} | ||
|- | |- | ||
| <code><nowiki>{{br separated entries| |entry2|entry3}}</nowiki></code> || {{br separated entries| |entry2|entry3}} | | <code><nowiki>{{Utils/br separated entries| |entry2|entry3}}</nowiki></code> || {{Utils/br separated entries| |entry2|entry3}} | ||
|- | |- | ||
| <code><nowiki>{{br separated entries|entry1| |entry3}}</nowiki></code> || {{br separated entries|entry1| |entry3}} | | <code><nowiki>{{Utils/br separated entries|entry1| |entry3}}</nowiki></code> || {{Utils/br separated entries|entry1| |entry3}} | ||
|- | |- | ||
| <code><nowiki>{{br separated entries|entry1|entry2| }}</nowiki></code> || {{br separated entries|entry1|entry2| }} | | <code><nowiki>{{Utils/br separated entries|entry1|entry2| }}</nowiki></code> || {{Utils/br separated entries|entry1|entry2| }} | ||
|- | |- | ||
| <code><nowiki>{{br separated entries|entry1| | }}</nowiki></code> || {{br separated entries|entry1| | }} | | <code><nowiki>{{Utils/br separated entries|entry1| | }}</nowiki></code> || {{Utils/br separated entries|entry1| | }} | ||
|- | |- | ||
| <code><nowiki>{{br separated entries| |entry2| }}</nowiki></code> || {{br separated entries| |entry2| }} | | <code><nowiki>{{Utils/br separated entries| |entry2| }}</nowiki></code> || {{Utils/br separated entries| |entry2| }} | ||
|- | |- | ||
| <code><nowiki>{{br separated entries| | |entry3}}</nowiki></code> || {{br separated entries| | |entry3}} | | <code><nowiki>{{Utils/br separated entries| | |entry3}}</nowiki></code> || {{Utils/br separated entries| | |entry3}} | ||
|- | |- | ||
| <code><nowiki>{{br separated entries| | | }}</nowiki></code> || {{br separated entries| | | }} | | <code><nowiki>{{Utils/br separated entries| | | }}</nowiki></code> || {{Utils/br separated entries| | | }} | ||
|- | |- | ||
| <code><nowiki>{{br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}}</nowiki></code> || {{br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}} | | <code><nowiki>{{Utils/br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}}</nowiki></code> || {{Utils/br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}} | ||
|} | |} | ||
2022年5月20日 (五) 16:48的版本
该模板主要在信息框中使用,可以在各项之间添加<br>
以分隔各项。
用法
{{Utils/br separated entries|entry1|entry2|entry3|entry4|entry5|...}}
示例
代码 | 结果 |
---|---|
{{Utils/br separated entries|entry1|entry2|entry3}} |
模板:Utils/br separated entries |
{{Utils/br separated entries| |entry2|entry3}} |
模板:Utils/br separated entries |
{{Utils/br separated entries|entry1| |entry3}} |
模板:Utils/br separated entries |
{{Utils/br separated entries|entry1|entry2| }} |
模板:Utils/br separated entries |
{{Utils/br separated entries|entry1| | }} |
模板:Utils/br separated entries |
{{Utils/br separated entries| |entry2| }} |
模板:Utils/br separated entries |
{{Utils/br separated entries| | |entry3}} |
模板:Utils/br separated entries |
{{Utils/br separated entries| | | }} |
模板:Utils/br separated entries |
{{Utils/br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}} |
模板:Utils/br separated entries |