Next / previous link

Fragment of a discussion from User talk:Alfred

There is a small help page on the topic: Help:DPL and then I would suggest to play with it in the Sandbox.

David Kohler (talk)21:07, 6 October 2012

I figured it out with DPL as you suggested.

This is for Question 8 of the 100 exam (last question):


And for Question 5(e) (last question of #5):


You'll just have to replace the URL's with {{PAGENAME}} and maybe alter the #titleparts.

Alfred Xing (talk)04:41, 7 October 2012

Awesome! This is a very neat piece of code, good job!

I've taken your code, replaced the {{PAGENAME}} where necessary and stuck into a template on its own. It is the template Template:MER Question Navigation and is now used inside of the Template:MER Question template and hence displayed on all the questions pages as of this morning.

Keep up the good work!

I have tried to create documentation pages for all the templates used in the MER project. They are all (I think) part of the Category:MER Template (itself a subcategory of Category:MER). If you start looking at templates and their documentation page could be improved for clarity, feel free to go for it!

Also, if you have other suggestions for the help pages inside of the Science:MER portal, go for it, or let me know.

The goal is to make sure that this project can become as independent of me as possible since I will most likely be leaving UBC in Spring.

Thanks again for your work!

David Kohler (talk)18:10, 7 October 2012

There was a little bug in your code: you didn't specify the namespace to be Science and hence it was going to talk pages as well.

David Kohler (talk)18:36, 7 October 2012

Thanks. I was going to add the namespace as well but I didn't consider the talk pages... Thanks for figuring that one out!

Alfred Xing (talk)21:58, 7 October 2012