打开/关闭菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

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

来自TFLS Wiki
(创建页面,内容为“该模板主要在信息框中使用,可以在各项之间添加<code><br></code>以分隔各项。 == 用法== :<code><nowiki>{{br separated entries|entry1|entry2|entry3|entry4|entry5|...}}</nowiki></code> == 示例 == {| class="wikitable" ! 代码 !! 结果 |- | <code><nowiki>{{br separated entries|entry1|entry2|entry3}}</nowiki></code> || {{br separated entries|entry1|entry2|entry3}} |- | <code><nowiki>{{br separated entries| |entry2|entry3}}</nowi…”)
 
无编辑摘要
 
(未显示同一用户的9个中间版本)
第1行: 第1行:
该模板主要在信息框中使用,可以在各项之间添加<code>&lt;br&gt;</code>以分隔各项。
Â该模板主要在信息框中使用,可以在各项之间添加<code>&lt;br&gt;</code>以分隔各项。


== 用法==
== 用法==
:<code><nowiki>{{br separated entries|entry1|entry2|entry3|entry4|entry5|...}}</nowiki></code>
:<code><nowiki>{{Br|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>{{Br|entry1|entry2|entry3}}</nowiki></code> || {{Br|entry1|entry2|entry3}}
|-
|-
| <code><nowiki>{{br separated entries| |entry2|entry3}}</nowiki></code> || {{br separated entries| |entry2|entry3}}
| <code><nowiki>{{Br| |entry2|entry3}}</nowiki></code> || {{Br| |entry2|entry3}}
|-
|-
| <code><nowiki>{{br separated entries|entry1| |entry3}}</nowiki></code> || {{br separated entries|entry1| |entry3}}
| <code><nowiki>{{Br|entry1| |entry3}}</nowiki></code> || {{Br|entry1| |entry3}}
|-
|-
| <code><nowiki>{{br separated entries|entry1|entry2| }}</nowiki></code> || {{br separated entries|entry1|entry2| }}
| <code><nowiki>{{Br|entry1|entry2| }}</nowiki></code> || {{Br|entry1|entry2| }}
|-
|-
| <code><nowiki>{{br separated entries|entry1| | }}</nowiki></code> || {{br separated entries|entry1| | }}
| <code><nowiki>{{Br|entry1| | }}</nowiki></code> || {{Br|entry1| | }}
|-
|-
| <code><nowiki>{{br separated entries| |entry2| }}</nowiki></code> || {{br separated entries| |entry2| }}
| <code><nowiki>{{Br| |entry2| }}</nowiki></code> || {{Br| |entry2| }}
|-
|-
| <code><nowiki>{{br separated entries| | |entry3}}</nowiki></code> || {{br separated entries| | |entry3}}
| <code><nowiki>{{Br| | |entry3}}</nowiki></code> || {{Br| | |entry3}}
|-
|-
| <code><nowiki>{{br separated entries| | | }}</nowiki></code> || {{br separated entries| | | }}
| <code><nowiki>{{Br| | | }}</nowiki></code> || {{Br| | | }}
|-
|-
| <code><nowiki>{{br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}}</nowiki></code> || {{br separated entries|entry1|entry2|entry3|entry4|entry5|entry6}}
| <code><nowiki>{{Br|entry1|entry2|entry3|entry4|entry5|entry6}}</nowiki></code> || {{Br|entry1|entry2|entry3|entry4|entry5|entry6}}
|}
|}


第30行: 第30行:
<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:模板工具]]
[[Category:样式模板]]


</includeonly>
</includeonly>
<noinclude>[[Category:模板文档]]</noinclude>

2022年5月21日 (六) 23:40的最新版本

Â该模板主要在信息框中使用,可以在各项之间添加<br>以分隔各项。

用法

{{Br|entry1|entry2|entry3|entry4|entry5|...}}

示例

代码 结果
{{Br|entry1|entry2|entry3}} entry1
entry2
entry3
{{Br| |entry2|entry3}} entry2
entry3
{{Br|entry1| |entry3}} entry1
entry3
{{Br|entry1|entry2| }} entry1
entry2
{{Br|entry1| | }} entry1
{{Br| |entry2| }} entry2
{{Br| | |entry3}} entry3
{{Br| | | }}
{{Br|entry1|entry2|entry3|entry4|entry5|entry6}} entry1
entry2
entry3
entry4
entry5
entry6