如何控制页面目录

From Qigong City
Revision as of 04:21, 22 March 2020 by Admin (talk | contribs) (Protected "如何控制页面目录" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

此页面显示不全,需查看代码。

当文章中含有3个以上标题时,mediawiki将自动在第一个标题之前生成目录(这是默认的设置)。

如果需要隐去目录,可以在文章中加入“”标记;

如果需要强制显示目录而不管标题数量,可以加入“”标记;

这两个wiki标记不限制出现位置,但一般出现在文章头部或尾部且单独成行。