ढाँचा:Editnotice loader/कागजात
This template tests and demonstrate several possible extensions to the editnotice loading. Many of the features of this template have now been added to the currently deployed {{editnotice load}} template, but there still are some features here that have not been deployed. --David Göthberg (talk) 05:58, 8 January 2010 (UTC) |
This is the {{editnotice loader}} template. It takes no parameters.
This template was meant to be installed in the main "hyphen-style" editnotice for each namespace. It will then load user-friendly "slash-style" editnotices. It also adds links back and forth between the edit page and the editnotices thus making it easy to find and edit the notices. And it makes it possible for users to edit the notices for their user space. And it supplies both page specific notices and page group notices.
This template at the moment prints two small start and end messages. They are just for our testing. If/when we deploy this template we will remove those messages.
Link demo
सम्पादन गर्नुहोस्विकिपिडिया:Editnotice/linkdemo
Basically the loader will load at most three editnotices for each page, if those editnotices exist: The editnotice for the whole namespace, the editnotice for the current page group, and the editnotice for the current page. And it adds links back and forth.
Try it here
सम्पादन गर्नुहोस्For demonstration and testing purposes this editnotice loader is already installed so it works for all the pages and talk pages under this template. Try editing the /sandbox or the talk page of this template and see the editnotices. And feel free to edit those notices to see the backlink to the subject page that this loader automatically puts there.
Try it in your user space
सम्पादन गर्नुहोस्For testing you can transclude this template into the two hyphen-style main editnotices for your user space. That is, put this code {{editnotice loader}}
into these pages:
- MediaWiki:Editnotice-2-Yourname
- MediaWiki:Editnotice-3-Yourname – For your talk pages.
(If you are not an admin you need to ask an admin to do it for you. You can ask at the talk page here since then you will get help from an admin that is interested in editnotices.) Then you can start to use and test the user friendly slash-style editnotices for your user page and for all its subpages. Visitors to your pages will also see the slash-style editnotices when they for instance edit your talk page.
See also
सम्पादन गर्नुहोस्- Wikipedia:Editnotice – More about editnotices.
- {{editnotice load}} – The currently installed editnotice loader.
- {{editnotice}} – A template for making editnotices.