注意:1.4.5 的更新内容量较大,页面上很可能仍有内容尚未更新。
如中文 wiki 信息过时,可以参考英文 wiki 对应页面。
Terraria Wiki:项目/1.4.5 获取 wiki 状态与更新指南

模板:Multi-column TOC

出自Terraria Wiki
跳至導覽 跳至搜尋
Important.svg
CAUTION: Terraria Wiki code is complex!!!
If you want to use this code on another wiki, wiki.gg staff are not able to assist you.
Please consider picking a different wiki to adapt code from, or making your own templates!
Remember that content on a wiki is more important than fancy formatting.
Template-info.svg 文檔 以下文檔來自Template:Multi-column TOC/doc。(編輯 | 歷史

This template formats the table of contents (ToC) as a horizontal block with multiple columns.

{{mctoc}} is an alias for {{multi-column TOC}}.

Usage

{{ mctoc | <column width or count> | rule = y/yes/1 | class = <custom CSS class(es)> | css/style = <custom styling> | id = <HTML ID> }}

參數描述類型狀態
Column width/count1
columns
width
Width of each column (accepted values are 10em through 25em), or alternatively the number of columns (accepted values are 2 through 10).
推薦值:
10em 11em 12em 13em 14em 15em 16em 17em 18em 19em 20em 21em 22em 23em 24em 25em 2 3 4 5 6 7 8 9 10
默認值:
16em
單行文本
推薦
Vertical linesrule
Toggle the vertical lines between columns (column-rule property in CSS).
默認值:
False (0)
自動值:
True (1/y/yes)
布爾
可選
CSS classesclass
Custom CSS classes for the table of contents.
單行文本
可選
Custom stylingcss
style
Custom style rules for the table of contents.
單行文本
可選
HTML IDid
HTML ID attribute.
單行文本
可選