问题
Wikipedia's navbox templates have v·t·e
(view, talk, edit) links in upper left corner.
Now I have my own MediaWiki installation and want to be able to edit templates quickly (to have an edit link near each template or more advanced - near each template of certain type).
How to do this?
P.S. I am not sure whether this is the right place to ask such questions, but saw mediawiki
tag on stackoverflow.
回答1:
The links in navboxes are there, because a navbox template is created using Template:Navbox, which in turn uses Template:Navbar, which actually creates the links.
If you want something similar on your wiki, you can copy Navbar
from Wikipedia, create your own version of Navbox
(or whatever) and then use that in the specific templates that you create.
来源:https://stackoverflow.com/questions/24408629/mediawiki-a-quick-link-to-template-editor