How to create templates after installing MediaWiki?

I just installed MediaWiki. What should I do to have such wikipedia style templates: http://i.piccy.info/i4/4b/37/fe303fda0c813c0bda717d3a1e3b.png (example). I already installed the ParserFunctions extension on my MediaWiki CMS. I tried to look at the source and copy it, but that didn't work. Thanks.

** Sorry for my English (this is not my native language) *

+3
source share
1 answer

When you copied the source for this info box, what you were missing was a template that uses the tag {{infobox}}that you can find on the Wikipedia page for the Infobox template . (This page will show you the template documentation; View Sourcefor the code you need to copy.)

If you want to use Wikipedia templates, you will need to copy them. (Compliance, of course, with Wikipedia licensing terms.)

+5
source

Source: https://habr.com/ru/post/1715819/


All Articles