imported>A635683851 |
imported>梦蝶葬花 |
第1行: |
第1行: |
| <includeonly><!-- 在這裡加入模板的保護標識 --></includeonly> | | <includeonly> |
| {{Documentation subpage}}
| |
| <!-- 在本行下編輯模板說明 -->
| |
|
| |
|
| 本 模板 用于在条目中将内容分成多列。它基于 [[Template:Reflist]] ,两者的区别是这里 显示的 内容需手动输入而不是来自引 用 来源列表 。
| | * [[:分类:人物]] |
| | * [[:分类:作品]] |
| | * [[:分类:BDSM]] |
| | * [[模板:萌属性]] |
| | * [[模板:性俚语]] |
| | * [[模板:性属性]] |
| | * {{黑幕|[[ 模板:政治]]}} |
| | * {{黑幕|[[ 模板: 膜蛤]]}} |
| | </includeonly> |
| | <noinclude> |
| | 本模板用于 显示 各个主要 的 分类合集使 用 ,如果要添加,请从上方添加 。 |
|
| |
|
| 本模板使用了CSS3的[http://www.w3.org/TR/css3-multicol/ 多栏布局 效果] | | 显示 效果 如下: |
|
| |
|
| === 用法 ===
| | {{ 分类导航}} |
| | | </noinclude> |
| <nowiki>{{</nowiki>columns-list|'''列数'''|
| |
| '''文字內容(一般為列表)'''
| |
| <nowiki>}}</nowiki>
| |
| | |
| 多列只有在Internet Explorer版本10及以上、Opera11.1及以上、Safari版本3及以上、Mozilla Firefox版本1.5及以上、Google Chrome等浏览器上才能正确渲染,不支持的浏览器会始终显示单列但不会混乱。
| |
| | |
| Internet Explorer 版本 9及以下 不支持列选择器。
| |
| | |
| 若列数省略,则默认为 2。
| |
| | |
| ==== 範例 ====
| |
| <nowiki>{{columns-list|2|
| |
| * [[George Washington]]
| |
| * [[John Adams]]
| |
| * [[Thomas Jefferson]]
| |
| * [[James Madison]]
| |
| * [[James Monroe]]
| |
| }}</nowiki>
| |
| 會渲染成
| |
| <!-- Substituted {{columns-list}} to prevent possible loop --><div {{#if: 2| style="-moz-column-count:2; -webkit-column-count:2; column-count:2 }};">
| |
| * [[George Washington]]
| |
| * [[John Adams]]
| |
| * [[Thomas Jefferson]]
| |
| * [[James Madison]]
| |
| * [[James Monroe]]
| |
| </div>
| |
| | |
| | |
| 行数后可以添加 CSS 样式,例如:
| |
| <nowiki>{{columns-list|2</nowiki>''';width:400px;font-style:italic'''<nowiki>|
| |
| * [[New York, I Love You]]
| |
| * [[Hōtai Club]]
| |
| * [[The Kon Ichikawa Story]]
| |
| * [[Rainbow Song]]
| |
| * [[Hana and Alice|Hana & Alice]]
| |
| * [[All About Lily Chou-Chou]]
| |
| * [[April Story]]
| |
| * [[Swallowtail Butterfly (film)|Swallowtail Butterfly]]
| |
| * [[Picnic (1996 film)|Picnic]]
| |
| * [[Fried Dragon Fish]]
| |
| }}</nowiki>
| |
| | |
| 將會呈現
| |
| | |
| <div {{#if: 2| style="-moz-column-count:2; -webkit-column-count:2; column-count:2; width:400px; font-style:italic }};">
| |
| * [[New York, I Love You]]
| |
| * [[Hōtai Club]]
| |
| * [[The Kon Ichikawa Story]]
| |
| * [[Rainbow Song]]
| |
| * [[Hana and Alice|Hana & Alice]]
| |
| * [[All About Lily Chou-Chou]]
| |
| * [[April Story]]
| |
| * [[Swallowtail Butterfly (film)|Swallowtail Butterfly]]
| |
| * [[Picnic (1996 film)|Picnic]]
| |
| * [[Fried Dragon Fish]]
| |
| </div>
| |
| <!--
| |
| === 重定向 ===
| |
| * {{tl|cmn}} 重定向至此
| |
| -->
| |
| | |
| === 參見 ===
| |
| * [[Template:2columns]]
| |
| * [[Template:3columns]]
| |
| * [[Template:4columns]]
| |
| | |
| === 參考 ===
| |
| {{tl|Reflist}}
| |
| | |
| <noinclude>[[Category:模板說明文件]]</noinclude>
| |
| <includeonly>[[Category:表格模板|{{PAGENAME}}]]</includeonly>
| |