安装MediaWiki后如何制作模板?

发布于 2024-08-02 10:38:10 字数 322 浏览 1 评论 0原文

我刚刚安装了 MediaWiki。我必须做什么才能拥有这样的维基百科样式模板: http://i. piccy.info/i4/4b/37/fe303fda0c813c0bda717d3a1e3b.png(示例)。 我已经在我的 MediaWiki CMS 上安装了 ParserFunctions Extension。我试图寻找来源和来源复制了一下,但是没用。谢谢。

**抱歉我的英语(这不是我的母语)*

I had just installed MediaWiki. What must I do to have wikipedia style templates like this: http://i.piccy.info/i4/4b/37/fe303fda0c813c0bda717d3a1e3b.png (example).
I have already installed ParserFunctions Extension on my MediaWiki CMS. I have tried to look source & copy it, but it didn't work. Thanks.

**sorry for my English (it isn't my native language)*

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一场春暖 2024-08-09 10:38:10

当您复制该信息框的源代码时,您缺少的是 {{infobox}} 标记使用的 template,您可以在 Infobox 模板的维基百科页面。 (该页面将向您显示模板上的文档;查看源代码以获取您需要复制的代码。)

如果您想使用维基百科的模板,则需要复制它们。 (当然,要遵守维基百科的许可条款。)

When you copied the source for that infobox, what you were missing was the template that the {{infobox}} tag uses, which you can find at the Wikipedia page for the Infobox template. (That page will show you the documentation on the template; View Source for the code you'll need to copy.)

If you want to use Wikipedia's templates, you'll need to copy them. (Observing, of course, Wikipedia's licensing terms.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文