I’m a new developer in MediaWiki, and I’m trying to create a template for my pages. (Excuse me for my English)
I read the documentation, and didn’t understand how to embed the template.
For example, if my template is a file that contains: “Hello world!”
- What extension do I save to the file? .html, .php?
- Should I create the “Template” folder and put there my file? For example Templates: HelloWorld
- On which pages can I insert this template?
I try on php page, and can’t.(because of the double-curly parentheses)
- I also saw that there is an existing template called: Template: Note
I saw its usages and didn’t understand how to use it too
(Another thing- I saw that there is an extension called SemanticMediaWiki that enable Transclusion.
My purpose for the template, is to create a data graph from the data in the mediawiki, and display it in every page I want. Is it better?)
Thanks for help,