更改 mediawiki 中的默认类别页面布局
我在想是否有办法改变类别页面的默认布局?我正在考虑在类别文本下方添加特色文章及其缩略图。我知道我可以通过手动编辑类别页面来做到这一点,但我真的很想让所有类别默认情况下都这样做。某处有类别模板吗?或者在连接到输出函数之一时我应该注意某个参数吗?
谢谢!
I was thinking if there was a way to change the Category page's default layout? I was thinking of including featured articles and their thumbnails just below the category text. I know that I can do this by editing the category page by hand but I would really want to make it so that all categories will do this by default. Is there a Category Template somewhere? Or is there a certain parameter that I should watch for when hooking to one of the output functions?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我理解你的问题,据我所知,不存在这样的东西。但是,使用 Extension:NiceCategoryList2,您可以创建一个模板来生成以下输出:相当接近你想要的。您仍然需要手动在所有 C: 页面上调用模板,或者使用机器人将其预先挂起到
Special:WantedCategories
上列出的所有 C: 的顶部。If I understand your question, there is nothing like that in existence AFAIK. However, with Extension:NiceCategoryList2, you could probable create a template that generates an output that is fairly close to what you want. You would still have to manually have to place the call to the template on all C: pages though or use a bot to pre-pend it to the top of all the C:s listed on
Special:WantedCategories
.