注意:游戏新版本刚刚发布,本 wiki 内容进度严重滞后,页面上的内容几乎肯定存在遗漏、错误,请谨慎采信。
Terraria Wiki:项目/1.4.5 获取 wiki 状态与更新指南

Template: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.
单行文本
可选